A simple Python wrapper for the Recipe Puppy API
Project description
pyrecipepuppy
A simple Python wrapper for the Recipe Puppy API
Makes requests to the Recipe Puppy API to retrieve the recipes containing a given list of ingredients and/or a given search term. It returns the list of all the recipes returned by the API. For each recipe the following data might be available:
- title
- link to a web page containing the entire recipe
- the list of ingredients used in the recipe
- link to a thumbnail photo with the result of the recipe
For more information on the API, please visit the Recipe Puppy API web page <http://www.recipepuppy.com/about/api/>
_
Installation
pip install pyrecipepuppy
Usage::
import pprint
from pyrecipepuppy import RecipePuppy
rp = RecipePuppy()
recipes = rp.get_recipes(ingredients='salmon,onions', search_query='omelet')
pprint.pprint(recipes)
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
pyrecipepuppy-0.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pyrecipepuppy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0e8a679d1c185126b0372ef08349c23f15c4498d0f8ff18e5a3741425d0f15 |
|
MD5 | 07fe8042752afdc4b41c731801191abf |
|
BLAKE2b-256 | 075d886c5b23c35dec5afa319c9705865b47a915a08cdca34684d5738ed5b40e |