I found an API that returns data from the Harry Potter universe:
https://github.com/MossPiglets/WizardWorldAPI
And you can try it here! ⏬
https://editor.p5js.org/shawnliu0327/full/D_w4dpYcT
Key Features:
- Elixirs: Find detailed information about magical elixirs, their difficulty, side effects, and more.
- Spells: Search for famous spells, their incantations, effects, and types.
- Ingredients: Discover magical ingredients and their properties.
- Wizards: Look up wizards by their first and last names, along with their known elixirs.
Usage Instructions:
- Enter a Term: Use the search box to enter a search term like the name of an elixir, spell, wizard, or ingredient. For example, you can search for “Polyjuice” or “Expelliarmus.”
- Select a Category: Choose the type of magical data you want to explore:
- Elixirs: Search for magical potions.
- Spells: Look up spells from the Wizarding World.
- Ingredients: Find magical ingredients.
- Wizards: Discover wizards and their known magical concoctions.
- Click Search: Press the "Search" button to retrieve the results from the API. The results will display in a list below the search form.
- More Details: For each result, there is a "more" button. Clicking this button will reveal additional information such as the elixir's side effects, a spell’s incantation, or details about a specific wizard.