Coder Social home page Coder Social logo

desafio-telecentro's Introduction

Librerias usadas

pandas==1.2.4 pymongo==3.12.1 PyYAML==5.4.1 requests Scrapy==2.5.1 xmltodict==0.12.0 flask

Documentacion de la libreria

https://doc.scrapy.org/en/latest/topics/item-pipeline.html

Referencia de codigo base

https://github.com/luisramirez-m/mercadolibre-scrapy

Pagina ayuda con xpath

https://www.scientecheasy.com/2019/08/xpath-axes.html/

Credenciales

las credenciales se encuentran en ./mercado/config/config.yml

Como correrlo

ir hasta el directorio ./Desafio/mercado/spiders correr el comando 'scrapy crawl mercado'

Como Correr la API

ir hasta el directorio ./Telecentro/Desafio/Consulta ejecutar comando 'flask run'

Las consultas generadas son: *http://localhost:5000/precio/entre// *http://localhost:5000/precio/mayorque/ *http://localhost:5000/precio/menorque/ *http://localhost:5000/palabraclave/ *http://localhost:5000/Categoria/contiene/ *http://localhost:5000/Categoria/exacta/"

Referencia API: https://flask.palletsprojects.com/en/2.0.x/ Referencia Consultas Mongo: https://docs.mongodb.com/manual/

desafio-telecentro's People

Contributors

leandro529 avatar

Watchers

 avatar

Forkers

leandrozurita

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.