{
    "version" : "https://jsonfeed.org/version/1",
    "content" : "news",
    "type" : "single",
    "title" : "The API Briefing: APIs Come In Many (Data) Flavors |Digital.gov",
    "description": "The API Briefing: APIs Come In Many (Data) Flavors",
    "home_page_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/","feed_url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2014/07/02/the-api-briefing-apis-come-in-many-data-flavors/index.json","item" : [
    {"title" :"The API Briefing: APIs Come In Many (Data) Flavors","summary" : "This week, we will look at three different APIs that demonstrate how agencies use different technologies to serve out data. Presenting data in various formats encourages developers to build on federal APIs. As past columns have shown, the innovative apps created with federal data are quickly growing. The latest API news this week is how","date" : "2014-07-02T10:00:44-04:00","date_modified" : "2025-01-27T19:42:55-05:00","authors" : {"bbrantley" : "Bill Brantley"},"topics" : {
        
            "application-programming-interface" : "Application programming interface",
            "mobile" : "Mobile",
            "open-data" : "Open data"
            },"branch" : "bc-archive-content-3",
      "filename" :"2014-07-02-the-api-briefing-apis-come-in-many-data-flavors.md",
      
      "filepath" :"news/2014/07/2014-07-02-the-api-briefing-apis-come-in-many-data-flavors.md",
      "filepathURL" :"https://github.com/GSA/digitalgov.gov/blob/bc-archive-content-3/content/news/2014/07/2014-07-02-the-api-briefing-apis-come-in-many-data-flavors.md",
      "editpathURL" :"https://github.com/GSA/digitalgov.gov/edit/bc-archive-content-3/content/news/2014/07/2014-07-02-the-api-briefing-apis-come-in-many-data-flavors.md","slug" : "the-api-briefing-apis-come-in-many-data-flavors","url" : "/preview/gsa/digitalgov.gov/bc-archive-content-3/2014/07/02/the-api-briefing-apis-come-in-many-data-flavors/","content" :"\u003cdiv class=\"image\"\u003e\n  \u003cimg\n    src=\"https://s3.amazonaws.com/digitalgov/_legacy-img/2014/06/250-x-167-23891851-3-ice-cream-cones-Jupiterimages-Photos-com-Thinkstock-89697244.jpg\"\n    alt=\"Three different flavors of ice cream cones, on a blue gradient background\"/\u003e\u003c/div\u003e\n\n\n\u003cp\u003eThis week, we will look at three different APIs that demonstrate how agencies use different technologies to serve out data. Presenting data in various formats encourages developers to build on federal APIs. As past columns have shown, the innovative apps created with federal data are quickly growing.\u003c/p\u003e\n\u003cp\u003eThe latest API news this week is how quickly the \u003ca href=\"https://github.com/USDepartmentofLabor/Swift-Federal-Data-SDK\" target=\"_blank\"\u003eDepartment of Labor (DOL) built a Software Developer Kit (SDK)\u003c/a\u003e for Apple’s new programming language. Apple just released the \u003ca href=\"https://developer.apple.com/swift/\" target=\"_blank\"\u003eSwift programming language\u003c/a\u003e, which is optimized for building apps. Two weeks later, DOL has an SDK that allows Swift developers to access numerous federal APIs including all the APIs from the Census Bureau and selected APIs from over 15 agencies. The federal government API community demonstrates how responsive and cutting-edge the agencies are.\u003c/p\u003e\n\u003cp\u003eIn a past column, we talked about \u003ca href=\"/preview/gsa/digitalgov.gov/bc-archive-content-3/2014/06/04/the-api-briefing-naras-federal-register-api-learning-how-apis-work/\" title=\"The API Briefing:  NARA’s Federal Register API – Learning How APIs Work\"\u003ehow to read JSON data\u003c/a\u003e. As you may remember, JSON stands for JavaScript Object Notation and is a structured way to deliver federal data to apps. Before JSON, there was eXtensible Markup Language (XML). Like JSON, it uses a key and value structure to structure the data. If you examine the \u003ca href=\"http://services.faa.gov/docs/services/airport/#airportStatus\" target=\"_blank\"\u003eFederal Aviation Administration (FAA)’s Airport Service API\u003c/a\u003e, you can view a sample of the XML response. Notice the HTML-like tags such as “\u003cName\u003e” and “\u003cDelay\u003e” that surround the data such as the airport’s name and if there’s a flight delay. Both XML and JSON have their advantages in developing apps, and that is why agencies strive to provide their data in a variety of API formats.\u003c/p\u003e\n\u003cp\u003eBesides JSON and XML, there are several specialized data formats depending on the type of federal data provided. The \u003ca href=\"http://waterservices.usgs.gov/\" target=\"_blank\"\u003eU.S. Geological Survey (USGS) provides water data\u003c/a\u003e through XML and JSON but also in several different geospatial-based data formats. Developers can receive data through \u003ca href=\"http://his.cuahsi.org/wofws.html\" target=\"_blank\"\u003eWaterML (Water Markup Language)\u003c/a\u003e, which is an industry-defined standard for exchanging hydrological data. Alternatively, developers can use \u003ca href=\"http://en.wikipedia.org/wiki/Keyhole_Markup_Language\" target=\"_blank\"\u003eKeyhole Markup Language (KML)\u003c/a\u003e which is the XML-like language used for \u003ca href=\"https://www.google.com/earth/\" target=\"_blank\"\u003eGoogle Earth\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe number of federal APIs and the myriad ways of using the APIs can be overwhelming. An excellent reference site for the API developer is the \u003ca href=\"http://gsa.github.io/Mobile-Code-Catalog/\" target=\"_blank\"\u003eGeneral Services Administration (GSA)’s Mobile Code Catalog\u003c/a\u003e. Along with the Data.gov \u003ca href=\"http://www.data.gov/developers/apis\" target=\"_blank\"\u003eFederal APIs Catalog\u003c/a\u003e, developers can read about the various code frameworks for mobile Web applications and view code samples for Android and iPhone apps. Not only are the federal agencies committed to providing APIs, they are also providing great developer resources for building useful and informative apps for the American public.\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 \u003ca href=\"mailto:William.Brantley@opm.gov\"\u003eemail\u003c/a\u003e.\u003c/em\u003e\n\u003cem\u003eDr. William A. Brantley, PMP, is a Program Analyst, in Forecasting and Methods at the U.S. Office of Personnel Management (OPM). You can find out more about his work in this space at \u003ca href=\"http://billbrantley.com/\" target=\"_blank\"\u003eBillBrantley.com\u003c/a\u003e.\u003c/em\u003e\u003c/p\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\n"}
  ]
}
