question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The new version of the Hyrule Compendium API will serve data on more than just the compendium entries. It will contain the following categories of data:

The goal is to make this API more than just the compendium; it should be able to give data on all (or many) aspects of the game, not just the in-game items.

Recipes

Recipes will be divided based on their base ingredient (e.g seafood). Multi-dimensional arrays will be used to represent possible ingredients to tackle the problem of substitutable ingredients.

Possible example recipe response:

{
  "name": "meat and rice bowl",
  "image": "https://botw-compendium.herokuapp.com/api/v3/recipes/recipe/meat-and-rice-bowl",
  "category": "meat",
  "hearts_recovered": 4.0, // hearts recovered from consumption
  "ingredients": [["raw meat", "raw bird drumstick"], ["rock salt"], ["hylian rice"]] // array of arrays, each inner array represents possible ingredients
  "effect": "attack", // enhancing effect of dish (empty if none)
  "duration": 60, // duration of effect in seconds (0 if no effect)
}

Map

Data on each region, including encompassed shrines and settlements, will be provided.

Compendium

  • The compendium entries will have a field dlc that specifies if it is a master-mode exclusive. The /master_mode endpoint will remain to avoid ID conflicts.
  • The food and non_food keys in the creatures category response will be removed. Each creature entry will have a boolean property edible instead.

Code Changes

These changes will not affect the user of the API. It will improve performance and clean up code.

  • Separate branches for API versions
  • Use Flask blueprints instead of Flask().add_url_rule
  • Improve queries to reduce API latency
    • Instead of executing multiple queries, using UNION is a better solution
  • Create staging app to test changes

Client Libraries

Additional Tasks

  • Documentation

Release

I hope to have all of these features in production by the end of 2022. I hope to get the bulk of it done by the end of this summer (August 2022).


Feel free to chime in on this thread.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gadhagodcommented, Aug 11, 2022

Experimental region endpoints are available at:

  • https://botw-compendium.herokuapp.com/api/v3/regions.
  • https://botw-compendium.herokuapp.com/api/v3/regions/eldin/<region>.
0reactions
gadhagodcommented, Aug 17, 2022

Thanks for your feedback @jeff-stienstra.

Looks like Eldin has these main sub-regions/areas

I do plan on adding more information about regions. As of now only shrines, DLC shrines, and settlements are given, but I will add some sub-regions and important areas in the future. Thanks for your suggestion!

<region> would be the value of name of one of the regions from https://botw-compendium.herokuapp.com/api/v3/regions. For example, you could make a request to https://botw-compendium.herokuapp.com/api/v3/regions/central.

Read more comments on GitHub >

github_iconTop Results From Across the Web

V3 Companies: Home Page
V3 – Visio | Vertere | Virtute The Vision to Transform with Excellence · Engineering · Contracting · Environmental · Planning · Landscape...
Read more >
Trucks Drivers Wanted | V3 Transportation | United States
Expedite Trucking - Drivers with CDL A or B's can drive in straight trucks. Find out more at 888.255.5955 or go to www.v3transportation.com....
Read more >
V3 Electric: Residential Solar Provider
We're California's leading residential solar provider. We provide choice and the freedom to choose how you pay for power. | 844-V3POWER.
Read more >
V3 Pizza
V3 is Pittsburgh's premier fast-casual pizzeria looking to bring a higher level of service, connection, and food to specialty flatbreads. We are now...
Read more >
V3
Business Demands Coverage That Outpaces Change. At V3 Insurance Partners, we take a different approach to underwriting insurance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found