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).
No comments yet.