The Peace Corps just released a new dataset that lists all of the countries and regions Peace Corps volunteers serve. The API is RESTful and uses the JSON format. You have read in earlier columns about the different data formats for APIs and how to read the data presented by an API.
As a refresher, I’ve created the following quiz based on the excellent documentation for the Peace Corps Countries and Regions API. All the answers can be found at https://github.com/PeaceCorps/Countries-Regions-REST-API.
How many API elements does the Country API have?
For the API request example—http://www.peacecorps.gov/api/v1/geography/countries/belize—is there any information on medical considerations? (Hint: The example is in the documentation)
Which API element will return a list of volunteer projects?
The Peace Corps encourages developers and designers to use the API to create innovative apps to help others understand and support its mission. One potential app is to help Peace Corps applicants determine which volunteer projects they may want to work on. Another app is a video player for all of the Peace Corps videos in the dataset. Just exploring the JSON code can give a developer many app ideas.
- projectslist*API – Application Programming Interface. How software programs and databases share data and functions with each other. Check out_ APIs in Government for more information. Each week in “The API Briefing,” I will showcase government APIs and the latest API news and trends. Visit this blog every week to learn how government APIs are transforming government and improving government services for the American people. If you have ideas for a topic or have questions about APIs, please contact me via email. Dr. William A. Brantley is the HRIS Branch Chief in the USDA’s Rural Development Human Resources Office. You can find out more about his work in this space at BillBrantley.com. All opinions are his own and do not reflect the opinions of the USDA and GSA.
Have feedback or questions? Send us an email »