It was suggested to me a while ago that there should be a free online API for getting data about nations, and possibly subnational (states, provinces) regions as well. I've been working on doing an example of what work of data the api would return for Australia at:
https://github.com/thomasfoster96/g8e/blob/gh-pages/api/nations/australia.json
If you were doing this, how would you structure the data? Have I made any glaring errors? Anything I should do differently?
In case I'm asked:
1. I'll probably have an optional API wrapper to make things easier when I've finished compiling enough of the data.
2. I do know Github isn't good for an API, but git + Github pages makes this relatively easy.
3. I'll do a Show HN when it's relatively complete. Help is appreciated.