Skip to content

First Python application - includes Tkinter UI and json data handling

Notifications You must be signed in to change notification settings

ellohez/HungryHorace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HungryHorace

My first Python application - project submission (see below for brief)

Code First Girls - Introduction to Python and Apps course

  • Module 1: Python Basics: Data Types and Variables
  • Module 2: Problem Solving: Input, Loops and Functions with Turtle
  • Module 3: Decision Making: Logic and If Statements
  • Module 4: Lists and Dictionaries
  • Module 5: Files, Pip and APIs
  • Module 6: Building Your App: Project Planning and Projects
  • Module 7: Building Your App: Project Work Time
  • Module 8: Project Presentations

Project Brief - Search

In this project you'll create a program to search for recipes based on an ingredient. The standard project uses the Edamam Recipe API, but can be changed to use a different API after completing the required tasks.

You will not need any additional knowledge beyond what is covered in this course to complete this project.

Required Tasks

These are the required tasks for this project. You should aim to complete these tasks before adding your own ideas to the project.

  1. Read the Edamam API documentation ★ https://developer.edamam.com/edamam-docs-recipe-api
  2. Ask the user to enter an ingredient that they want to search for
  3. Create a function that makes a request to the Edamam API with the required ingredient as part of the search query (also included your Application ID and Application Key
  4. Get the returned recipes from the API response
  5. Display the recipes for each search result

To use the Edamam API you will need to register for an account. In your Edamam account dashboard you can find an Application ID and Application Key, which you will need to make requests to the API.

Powered by Edamam API

Ideas for Extending the Project Here are a few ideas for extending the project beyond the required tasks. These ideas are just suggestions, feel free to come up with your own ideas and extend the program however you want. ● Save the results to a file ● Order the results by weight or another piece of data ● Ask the user additional questions to decide which recipe they should choose ● Cross-reference the ingredient against the Edamam nutrition analysis API ● Use a different searchable API (suggestions in useful resources)

Useful Resources API for Anime and Manga ● Homepage ★ jikan.moe/ ● Documentation ★ jikan.docs.apiary.io ● Example search ★ https://api.jikan.moe/v3/search/anime?q=Sailor%20Moon Spotify API (can be very difficult to use as it requires a much more complicated setup process) ● Official Documentation ★ https://developer.spotify.com/documentation/web-api/ ● Python library for Spotify API ★ https://spotipy.readthedocs.io/en/latest/ Twitter API (can be very difficult to use as it requires a more complicated setup process) ● Official Documentation ★ https://developer.twitter.com/en/docs.html ● Python library for Twitter API ★ http://docs.tweepy.org/en/v3.5.0/api.html

Written with StackEdit.

About

First Python application - includes Tkinter UI and json data handling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages