Giter Site home page Giter Site logo

henryluo / yelpapi-dataparse Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4 KB

Using Python's requests library, I pull data from Yelp using their Fusion REST API, and output it into data that can be read by a custom APP built on AWS.

Python 100.00%

yelpapi-dataparse's Introduction

YelpAPI-DataParse

Using Python's requests library, I pull data from Yelp using their Fusion REST API, and output it into data that can be read by a custom APP built on AWS.

Preliminary Notes

This utilizes Python's requests library. The current version of Yelp Fusion API no longer requires the code to pass a client ID and client secret to obtain a bearer token, making the code much simpler. This code still uses the former version of the API. The code will be updated soon to support the current version.

Running the scripts

Must run YelpAPI-DataParse.py with terms -t, -l, and/or -s, standing for term, location, and search limit respectively.

For example, you can run YelpAPI-DataParse.py -t 'veterinarian' -l 'Philadelphia, PA' -s 20 to search for term "veterniarian" in location "Philadelphia, PA" and list 20 results. These are actually the default terms as well.

Built With

  • Python 2.7 or 3.0+
  • GeoPy Python library (pip install geopy)

Authors

  • Henry Luo

yelpapi-dataparse's People

Contributors

henryluo avatar

Watchers

James Cloos avatar  avatar

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.