This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

ezapi_yelp

An easy api for Yelp written in Python

It implements the “search”, “business”, and “phone_search” api provided by Yelp. For details, see https://www.yelp.com/developers/documentation/v2/overview

Install

pip install ezapi_yelp

Usage

from ezapi_yelp import EZapiYelp

consumer_key        = 'YOUR consumer_key'
consumer_secret     = 'YOUR consumer_secret'
access_token        = 'YOUR access_token'
access_token_secret = 'YOUR access_token_secret'

test_api = EZapiYelp(consumer_key, consumer_secret, access_token, access_token_secret)

# Simple examples
print test_api.search(location='calgary', limit=1)
print test_api.business('yelp-san-francisco')
print test_api.phone_search(phone='+14037275451')
print test_api.search(term='food',bounds='37.900000,-122.500000|37.788022,-122.399797')
print test_api.search(term='food',ll='37.900000,-122.500000')
print test_api.search(term='food',location='Hayes',cll='37.77493,-122.419415')

Changelist

  • 2015/12/24
    • search” api
      • Complete
      • Search by “bounds” and “ll”, with optional “cll” paramter
      • Parameter checking
  • 2015/12/21
    • instantiate the EZapiYelp with consumer key, consumer secret, access token, and access token secret
    • Parameter checking, raise error if there is a type mismatch or missing required parameter
    • search” api
      • 80% Complete
      • location is required for search operation, however, only parameter “location” is implemented, “cll” (latitude,longitude) is not done yet
    • business” api
      • Complete
      • lookup business info by id, with optional parameters
    • phone_search” api
      • Complete
      • lookup business info by phone, with optional parameters

TODO

  • [STRIKEOUT:complete “search” api’s search by latitude, longitude functionalities]
  • unit tests
Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ezapi_yelp-0.2.0.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Dec 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting