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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pyrecipepuppy-0.0.1.tar.gz.

File metadata

  • Download URL: pyrecipepuppy-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for pyrecipepuppy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b755b115abc7d3fb79e15d8c04387edefec5cd6ce3d22a3fba9029115346d9f4
MD5 f6d5e51cb2394f20dacc296beec9e710
BLAKE2b-256 4c6b0c659f00eaa25afa05f55e558e8f39018f04239c04c9a957bdfa1b4d41a8

See more details on using hashes here.

File details

Details for the file pyrecipepuppy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyrecipepuppy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for pyrecipepuppy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb0e8a679d1c185126b0372ef08349c23f15c4498d0f8ff18e5a3741425d0f15
MD5 07fe8042752afdc4b41c731801191abf
BLAKE2b-256 075d886c5b23c35dec5afa319c9705865b47a915a08cdca34684d5738ed5b40e

See more details on using hashes here.

Supported by

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