{
    "version" : "https://jsonfeed.org/version/1",
    "content" : "news",
    "type" : "single",
    "title" : "The API Briefing: Test Your JSON Reading Skills with the Peace Corps Countries and Regions API |Digital.gov",
    "description": "The API Briefing: Test Your JSON Reading Skills with the Peace Corps Countries and Regions API",
    "home_page_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/","feed_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2014/12/03/the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api/index.json","item" : [
    {"title" :"The API Briefing: Test Your JSON Reading Skills with the Peace Corps Countries and Regions API","summary" : "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,","date" : "2014-12-03T10:00:50-04:00","date_modified" : "2025-01-27T19:42:55-05:00","authors" : {"bbrantley" : "Bill Brantley"},"topics" : {
        
            "application-programming-interface" : "Application programming interface"
            },"branch" : "bc-archive-content-3",
      "filename" :"2014-12-03-the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api.md",
      
      "filepath" :"news/2014/12/2014-12-03-the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api.md",
      "filepathURL" :"https://github.com/GSA/digitalgov.gov/blob/bc-archive-content-3/content/news/2014/12/2014-12-03-the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api.md",
      "editpathURL" :"https://github.com/GSA/digitalgov.gov/edit/bc-archive-content-3/content/news/2014/12/2014-12-03-the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api.md","slug" : "the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api","url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2014/12/03/the-api-briefing-test-your-json-reading-skills-with-the-peace-corps-countries-and-regions-api/","content" :"\u003cdiv class=\"image\"\u003e\n  \u003cimg\n    src=\"https://s3.amazonaws.com/digitalgov/_legacy-img/2014/12/600-x-416-Pop-Quiz-flytosky11-iStock-Thinkstock-463589731.jpg\"\n    alt=\"Pop Quiz\"/\u003e\u003c/div\u003e\n\n\n\u003cp\u003eThe Peace Corps just released a new \u003ca href=\"https://github.com/PeaceCorps/Countries-Regions-REST-API\" target=\"_blank\"\u003edataset that lists all of the countries and regions Peace Corps volunteers serve\u003c/a\u003e. The API is \u003ca href=\"http://en.wikipedia.org/wiki/Representational_state_transfer\" target=\"_blank\"\u003eRESTful\u003c/a\u003e and uses the \u003ca href=\"http://en.wikipedia.org/wiki/JSON\" target=\"_blank\"\u003eJSON\u003c/a\u003e format. You have \u003ca href=\"/preview/gsa/digitalgov.gov/bc-archive-content-3/topics/application-programming-interface/\"\u003eread in earlier columns\u003c/a\u003e about the different data formats for APIs and how to read the data presented by an API.\u003c/p\u003e\n\u003cp\u003eAs 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 \u003ca href=\"https://github.com/PeaceCorps/Countries-Regions-REST-API\" target=\"_blank\"\u003e\u003ca href=\"https://github.com/PeaceCorps/Countries-Regions-REST-API\"\u003ehttps://github.com/PeaceCorps/Countries-Regions-REST-API\u003c/a\u003e\u003c/a\u003e.\u003c/p\u003e\n\u003ch2 id=\"question-1\"\u003eQuestion 1\u003c/h2\u003e\n\u003cp\u003eHow many API elements does the Country API have?\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e5\u003c/li\u003e\n\u003cli\u003e10\u003c/li\u003e\n\u003cli\u003e24\u003c/li\u003e\n\u003cli\u003e40\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"question-2\"\u003eQuestion 2\u003c/h2\u003e\n\u003cp\u003eFor 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)\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003eYes\u003c/li\u003e\n\u003cli\u003eNo\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch3 id=\"question-3\"\u003eQuestion 3\u003c/h3\u003e\n\u003cp\u003eWhich API element will return a list of volunteer projects?\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003elist\u003c/li\u003e\n\u003cli\u003eprojects\u003c/li\u003e\n\u003cli\u003eprojects_list\u003c/li\u003e\n\u003cli\u003evolunteer_projects\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eThe 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.\u003c/p\u003e\n\u003ch2 id=\"answers\"\u003e\u003cstrong\u003eAnswers\u003c/strong\u003e\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003e24\u003c/li\u003e\n\u003cli\u003eNo\u003c/li\u003e\n\u003cli\u003eprojects_list_*API – Application Programming Interface. How software programs and databases share data and functions with each other. Check out_ \u003ca href=\"/preview/gsa/digitalgov.gov/bc-archive-content-3/2013/04/30/apis-in-government/\"\u003e\u003cem\u003eAPIs in Government\u003c/em\u003e\u003c/a\u003e \u003cem\u003efor more information.\u003c/em\u003e\n\u003cem\u003eEach 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\u003c/em\u003e \u003ca href=\"mailto:Bill.Brantley@wdc.usda.gov\"\u003e\u003cem\u003eemail\u003c/em\u003e\u003c/a\u003e\u003cem\u003e.\u003c/em\u003e\n\u003cem\u003e\u003cstrong\u003eDr. William A. Brantley\u003c/strong\u003e 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\u003c/em\u003e \u003ca href=\"http://billbrantley.com/\"\u003e\u003cem\u003eBillBrantley.com\u003c/em\u003e\u003c/a\u003e\u003cem\u003e. All opinions are his own and do not reflect the opinions of the USDA and GSA.\u003c/em\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv class=\"copyIcon copy0\"\u003e\n\u003c/div\u003e\n\u003cdiv class=\"pasteIcon paste0\"\u003e\n\u003c/div\u003e\n\u003cdiv class=\"notifyIcon\"\u003e\n\u003c/div\u003e"}
  ]
}
