Nookipedia / nookipedia-api

Nookipedia's custom API for querying data from the Animal Crossing video game series.
https://api.nookipedia.com/
MIT License
42 stars 12 forks source link

Recipe endpoints, providing pagination support, other enhancements #25

Closed Micalobia closed 4 years ago

Micalobia commented 4 years ago

All changes made:

* The fix for #23 doesn't raise a 401 error as suggested in the issue, I figured it was cleaner to just ignore it the same as normal extraneous parameters. Could easily be changed if need be.

Micalobia commented 4 years ago

The reason it's weird about showing the art commits too is that I merged an old art branch into the recipe branch before the art branch was finalized, so it just looks a bit weird.

Micalobia commented 4 years ago

I compressed buy#_price and buy#_currency into a list called buy, which looks like this:

[
    {
        "price":300,
        "currency":"Bells"
    },
    {}
]

I also compressed availability# and availability#_note in a similar manner, in a list called availability