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

Endpoint for Events for the new API #10

Closed angelolz closed 3 years ago

angelolz commented 4 years ago

Hello, I would like to see an endpoint for the events that occur in AC:NH in the new API. I am not sure if it is planned or not, but would love to know if it is in the to-do list!

As well as making a new AC:NH events endpoint for the new API, I would like to request if it is possible for invalid dates to return an invalid date error. For example on the old API, giving a date of September 31st would return the events on October 1. Giving an invalid date (like March 32nd) would return December 31st on a Wednesday.

Another request for the endpoint on the new API would be the ability to look up all the events that happen on a certain month, which would allow us to see seasonal events as well as villager birthdays that are happening during the month given.

janreggie commented 4 years ago

Adding to the discussion, some potential ideas for this API:

birthday is already implemented similarly in /villagers, but events, such as New Year's, the Bug-Off, etc. have yet to be stored in any Cargo table, and storing them may be another question. There are events that fall on specific dates e.g., New Year's, on a specific weekday e.g., the Fishing Tourneys, or using a lookup table e.g., Festivale....

Micalobia commented 4 years ago

Honestly, the biggest thing that needs to happen for this is a cargo table to exist for events.