The Demographic and Health Surveys (DHS) Program, run by the government agency US AID, hosts a compilation of aggregate indicators on global healthcare. Their data sets contain statistics in fields such as nutrition, HIV, malaria, population, fertility, and mortality rates sourced from women of childbearing age in over 90 countries. The data can be accessed according to national, subnational, and cumulative parameters. The API uses both a query-based interface as well as a RESTful interface, and supports JSON, XML, and CSV output formats. A query builder exists to help developers determine specific URL calls more efficiently. Registered users may obtain an API key in order to receive larger amounts of data.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.