A Python wrapper around the Yelp API v2
Project description
python-yelp-v2
==============
A Python wrapper for the Yelp API v2. The structure for this was inspired by the [python-twitter](https://github.com/bear/python-twitter) library, and some internal methods are reused.
Usage
-----
You must have yelp oauth credentials: http://www.yelp.com/developers/getting_started
```python
import yelp
yelp_api = yelp.API(consumer_key=MY_CONSUMER_KEY,
consumer_secret=MY_CONSUMER_SECRET,
access_token_key=MY_ACCESS_TOKEN,
access_token_secret=MY_ACCESS_SECRET)
```
### Searching
```python
search_results = yelp_api.Search(term="my search term")
```
### Getting business info
```python
business = yelp_api.GetBusiness('business_id')
```
Todo
----
* Create classes for categories.
* Improve the location class
* Add usage documentation
* Add setup.py
Notes
-----
This software was developed during my time at [Pontiflex, Inc.](http://www.pontiflex.com), and thus that organization owns the copyright.
Authors
-------
* Matthew Conlen (<a href="http://github.com/mathisonian">mathisonian</a>)
* Chris Clouten (<a href="http://github.com/triplec1988">triplec1988</a>)
License
-------
Copyright 2012, 2013 Pontiflex, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
==============
A Python wrapper for the Yelp API v2. The structure for this was inspired by the [python-twitter](https://github.com/bear/python-twitter) library, and some internal methods are reused.
Usage
-----
You must have yelp oauth credentials: http://www.yelp.com/developers/getting_started
```python
import yelp
yelp_api = yelp.API(consumer_key=MY_CONSUMER_KEY,
consumer_secret=MY_CONSUMER_SECRET,
access_token_key=MY_ACCESS_TOKEN,
access_token_secret=MY_ACCESS_SECRET)
```
### Searching
```python
search_results = yelp_api.Search(term="my search term")
```
### Getting business info
```python
business = yelp_api.GetBusiness('business_id')
```
Todo
----
* Create classes for categories.
* Improve the location class
* Add usage documentation
* Add setup.py
Notes
-----
This software was developed during my time at [Pontiflex, Inc.](http://www.pontiflex.com), and thus that organization owns the copyright.
Authors
-------
* Matthew Conlen (<a href="http://github.com/mathisonian">mathisonian</a>)
* Chris Clouten (<a href="http://github.com/triplec1988">triplec1988</a>)
License
-------
Copyright 2012, 2013 Pontiflex, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-yelp-v2-0.1.tar.gz
(2.2 kB
view details)
File details
Details for the file python-yelp-v2-0.1.tar.gz
.
File metadata
- Download URL: python-yelp-v2-0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253c1db794fd7880316e48a1a49ec6e874796e62db2ed47b4bd25ede2cc94d76 |
|
MD5 | de2c519c174f1bfebf1d3feb07e4a0a3 |
|
BLAKE2b-256 | dd89d0b55717549a1983e0c1e3d713fb7aa62af573383cf6bb33c6738e24181f |