Closed angelolz closed 3 years ago
Adding to the discussion, some potential ideas for this API:
month
: similar format to ones that are already provided 01
, 1
, "jan"
, "january"
day
: integer, 01
to 31
year
: integer, 2000
to 2050
, or until when is desiredmonth
, day
, and year
combinations as illegal, which is easily doablegame
: accept only one from "DNM"
"AC"
, "E_PLUS"
, "WW"
, "CF"
, "NL"
, or "NH"
hemisphere
: optional param, defaults to "north"
, useful for NH data where the Bug-Off is dependent onbirthday
: an array of objects detailing whose birthday it isevents
: an array of objects detailing the events on that particular daybirthday
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....
Honestly, the biggest thing that needs to happen for this is a cargo table to exist for events.
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.