Update /dayz/izurvive to keep coordinates up-to-date
Closed this issue · 0 comments
Decicus commented
As of right now, this endpoint is relatively outdated. Regardless of that, I'd like to not have to update it manually.
I want to do the following changes:
- Use iZurvive's APIs to receive the current map and coordinates (https://api.izurvive.com/maps/current + https://maps.izurvive.com/maps/CH-Top/1.9.2/citycoords.json)
- Cache what map version for a period of time.
- 24 hours should be good, with the option to manually update via an
artisan
command.
- 24 hours should be good, with the option to manually update via an
- Cache the "citycoords.json" locally for the same period of time.