Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/biwin/wrapper
Some random api wrappers
https://github.com/biwin/wrapper
api-wrapper barcode-api ean-api ean-client locu-api spoonacular-api walmart-api zomato-api
Last synced: about 1 month ago
JSON representation
Some random api wrappers
- Host: GitHub
- URL: https://github.com/biwin/wrapper
- Owner: biwin
- License: other
- Created: 2017-04-24T15:38:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T16:40:09.000Z (over 7 years ago)
- Last Synced: 2024-11-08T16:54:12.320Z (about 1 month ago)
- Topics: api-wrapper, barcode-api, ean-api, ean-client, locu-api, spoonacular-api, walmart-api, zomato-api
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wrapper
A wrapper around several APIs.
Response is a request object, which is much extendable for custom error handling.
The Available APIs are:
EANData
Locu
Spoonacular
Walmart
Zomato# API Methods
### EANData
```python
from wrapper import EANDatax = EANData'API_KEY')
x.get_barcode_data('ean_code')
```### Locu
```python
from wrapper import Locux = Locu('API_KEY')
search_restaurant(**kwargs)
get_restaurant_details(venue_id)
get_restuarants_with_menu(query)
```### Spoonacular
```python
from wrapper import Spoonacularx = Spoonacular('API_KEY')
get_recipe_by_ingredients(ingredients='ingredient1,ingredient2,ingredient3')
get_recipe_by_id(recipe_id='recipe_id')
generate_meal_plan(**kwargs)
map_ingredients_to_grocery(data)
get_random_recipe(**kwargs)
search_recipies(**kwargs)
```### Walmart
```python
from wrapper import Walmartx = Walmart('API_KEY')
search_item(term)
get_food_products(category_id)
product_recommendation(product_id)
product_history(product_id)
get_item_review(product_id)
get_best_sellers(category_id)
get_rollback_items(category_id)
get_clearance_items(category_id)
store_locator(**kwargs)
# kwargs examples for store_locator
# city :string ('New York')
# zip :string (10001)
# cordinates :string ('lat,lon') ('40.7128,74.0059')
```### Zomato
```python
from wrapper import Zomatox = Zomato('API_KEY')
get_categories()
get_city(**kwargs)
get_collections(**kwargs)
get_cuisines(**kwargs)
get_restaurant_types(**kwargs)
search(**kwargs)
get_top_restaurants(location_id, entity_type='city')
get_daily_menu(restaurant_id)
geocode(latlon)
get_restaurant_details(restaurant_id)
get_restaurant_review(restaurant_id)
```