Skip to main content

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


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)

Uploaded Source

Built Distribution

pyrecipepuppy-0.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page