Hacker News new | ask | show | jobs
by dpearson 4783 days ago
You could try scraping the CIA World Factbook, which should have all of that information. There's no formal API, but someone has written a scraper[0] that you could rerun to get newer data (or, for that matter, you could write your own scraper).

[0]: https://github.com/twigkit/worldfactbook-dataset