{
    "version" : "https://jsonfeed.org/version/1",
    "content" : "news",
    "type" : "single",
    "title" : "An Introduction to Open Data and APIs |Digital.gov",
    "description": "An Introduction to Open Data and APIs",
    "home_page_url" : "/preview/gsa/digitalgov.gov/cm-topics-button-component/","feed_url" : "/preview/gsa/digitalgov.gov/cm-topics-button-component/2016/05/03/an-introduction-to-open-data-and-apis/index.json","item" : [
    {"title" :"An Introduction to Open Data and APIs","summary" : "The federal workplace is abuzz these days with talk about open data and how agencies can leverage that data through APIs. According to the federal Open Data Policy, data should be managed as an information asset, and making it discoverable and usable (in other words, open).","date" : "2016-05-03T10:00:32-04:00","date_modified" : "2024-04-02T09:45:13-04:00","authors" : {"john-paul" : "John Paul"},"topics" : {
        
            "application-programming-interface" : "Application programming interface",
            "open-data" : "Open Data",
            "software-engineering" : "Software Engineering"
            },"branch" : "cm-topics-button-component",
      "filename" :"2016-05-03-an-introduction-to-open-data-and-apis.md",
      
      "filepath" :"news/2016/05/2016-05-03-an-introduction-to-open-data-and-apis.md",
      "filepathURL" :"https://github.com/GSA/digitalgov.gov/blob/cm-topics-button-component/content/news/2016/05/2016-05-03-an-introduction-to-open-data-and-apis.md",
      "editpathURL" :"https://github.com/GSA/digitalgov.gov/edit/cm-topics-button-component/content/news/2016/05/2016-05-03-an-introduction-to-open-data-and-apis.md","slug" : "an-introduction-to-open-data-and-apis","url" : "/preview/gsa/digitalgov.gov/cm-topics-button-component/2016/05/03/an-introduction-to-open-data-and-apis/","content" :"\u003cp\u003eThe federal workplace is abuzz these days with talk about open data and how agencies can leverage that data through APIs. According to the federal \u003ca href=\"https://www.whitehouse.gov/sites/default/files/omb/memoranda/2013/m-13-13.pdf\"\u003eOpen Data Policy\u003c/a\u003e, data should be managed as an information asset, and making it discoverable and usable (in other words, open).\u003c/p\u003e\n\u003cdiv class=\"image\"\u003e\n  \u003cimg\n    src=\"https://s3.amazonaws.com/digitalgov/_legacy-img/2014/11/600-x-393-Robot-with-tools-and-application-programming-interface-sign-Technology-concept-Kirillm-iStock-Thinkstock-450547591.jpg\"\n    alt=\"Robot with tools and application programming interface sign. Technology concept.\"/\u003e\u003cp\u003eKirillm/iStock/Thinkstock\u003c/p\u003e\u003c/div\u003e\n\n\n\u003cblockquote\u003e\n\u003cp\u003eOpen data “not only strengthens our democracy and promotes efficiency and effectiveness in government, but also has the potential to create economic opportunity and improve citizens’ quality of life.”\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eTreating data as a national resource and strategic asset may seem like an overwhelming burden requiring intensive resources.\u003c/p\u003e\n\u003cp\u003eThankfully, using modern APIs to share open data has never been easier, even if you are not a programmer or do not have a technical background.\u003c/p\u003e\n\u003cp\u003eIn the DigitalGov University webinar, \u003cstrong\u003eAn Introduction to Open Data and APIs\u003c/strong\u003e, discover just how easy and fast it is to get hands on in integrating APIs into an organization’s open data solution. 18F advocate and GSA Innovation Specialist, Eric Mill, walked users through how to use APIs with the open Web. For the uninitiated, API stands for \u003ca href=\"https://en.wikipedia.org/wiki/Application_programming_interface\"\u003eapplication program interface\u003c/a\u003e, “a set of routines, protocols, and tools for building software applications.” More information on APIs can be found in DigitalGov\u0026rsquo;s \u003ca href=\"/preview/gsa/digitalgov.gov/cm-topics-button-component/topics/software-engineering/\"\u003eCode\u003c/a\u003e section. According to Mr. Mill, when talking about modern APIs, we are talking about transferring information from JSON to html.\u003c/p\u003e\n\u003ch2 id=\"use-cases\"\u003eUse Cases\u003c/h2\u003e\n\u003cdiv class=\"image image-right image-right-legacy\"\u003e\n  \u003cimg\n    src=\"https://s3.amazonaws.com/digitalgov/_legacy-img/2014/05/250-x-346-Keep-Calm-and-Open-Data-American-Flag-Statue-of-Lady-Liberty.jpg\"\n    alt=\"Meme: Keep Calm and Open Data over an American flag\"/\u003e\u003c/div\u003e\n\n\u003cp\u003eMr. Mill illustrated the usefulness to government APIs with some of the most noticeable use cases, the federal budget and the We the People APIs. The federal budget was once an unwieldy and time consuming spreadsheet, which with the power of APIs was rendered into easily read and searched API data for use by the public, congressional groups and others. The Obama Administration introduced the White House petition system, where the \u003ca href=\"https://petitions.whitehouse.gov/developers\"\u003eWe the People API\u003c/a\u003e allows a method for other websites to directly submit signatures. When using government APIs, go to \u003ca href=\"http://api.data.gov/\"\u003eAPI.DATA.GOV\u003c/a\u003e to download the single API key used for all participating government agencies.\u003c/p\u003e\n\u003ch2 id=\"getting-started\"\u003eGetting Started\u003c/h2\u003e\n\u003cp\u003eTo get started, additional plugin software is needed for the Web browser: \u003ca href=\"https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en\"\u003eJSON formatter\u003c/a\u003e for Chrome, JSONView for Firefox. After installing the browser plugins, Eric Mill walked through three basics of using APIs:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ca href=\"https://youtu.be/taTdJ6oOZX4?t=724\"\u003eThe fundamentals of URLs\u003c/a\u003e. This covered a quick breakdown of the parts of the URL, parameters and syntax necessary to understand the following sections.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://youtu.be/taTdJ6oOZX4?t=1246\"\u003eHow to read JSON\u003c/a\u003e. Demonstration using real world sites and their APIs. Included is discussion on the Sunlight Congress API, White House budget data, open.gsa.gov, Data.gov and analytics.usa.gov. Mr. Mill cautioned API users: “Don’t be scared away by API documentation. You need to read it because it is relevant to what your agency does for its mission.\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://youtu.be/taTdJ6oOZX4?t=1626\"\u003eExploring simple APIs\u003c/a\u003e. This section covered detailed examples of how to check status of the API to see if it is functioning, getting the API key, pagination and filtering and a JSON to CSV converter.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003e\u003cstrong\u003eThe bottom line\u003c/strong\u003e — APIs can be powerful and easy to use tools for agencies and organization to provide new, effective ways of opening data to the public. Getting started is easy.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003e\u003cstrong\u003eJohn Paul\u003c/strong\u003e is an IT project manager for the United States Department of Agriculture (USDA). He has worked in information technology since 1999, and specializes in strategy, enterprise architecture and infrastructure.\u003c/em\u003e\u003c/p\u003e\n"}
  ]
}
