Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in...
Transcript of Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in...
![Page 1: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/1.jpg)
Application Programming Interfaces (APIs) & GSA
Ryan Day (IC) & Joe Castle (IG)
7/20/17
![Page 2: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/2.jpg)
Users Directly Accessing Your App
Your App
![Page 3: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/3.jpg)
API = Application Programming Interface
Your App
TheirApp
API
RESPONSE
REQUEST
![Page 4: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/4.jpg)
For this presentation, we’re talking about Web APIs
Web APIs Generally:- Use HTTP to communicate- Have a web-accessible address- Use a request and response- Typically transfer data in XML or
JSON formats
(web)API
![Page 5: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/5.jpg)
An API is like a wall socket
Creative Commons Thatonewikiguy
![Page 6: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/6.jpg)
An API can serve multiple consumers
API
Your Web Site or Application External web sites
or applications
Mobile Application
![Page 7: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/7.jpg)
What other Government APIs are out there?
https://www.usps.com/business/web-tools-apis/
- Package tracking- Postage price calculator- Package pickup scheduling- Address validation
![Page 8: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/8.jpg)
Why create an API?
-
Your App
![Page 10: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/10.jpg)
What other APIs are out there?Search “API directory”
![Page 11: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/11.jpg)
API Strategy (w/ examples)- GSA API Strategy developed and presented to leadership in March 2016
- Objectives- Specifications- Recommendations
- Best place to start - https://open.gsa.gov/api/- Standards, Feedback- City Pair Program and prototype
![Page 12: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/12.jpg)
API Interactions - External and Internal
![Page 13: Application Programming Interfaces (APIs) & GSA...Follow-up - Explore the documentation provided in this Tech Talk - Slides posted online at tech.gsa.gov/techtalks - Reach out to Ryan](https://reader034.fdocuments.us/reader034/viewer/2022042222/5ec961ac9c4c5121401a1ed1/html5/thumbnails/13.jpg)
Follow-up- Explore the documentation provided in this Tech Talk
- Slides posted online at tech.gsa.gov/techtalks- Reach out to Ryan and Joe with questions- Consider creating your own APIs
- Join our quarterly API Workgroup- Features APIs currently being developed at GSA- Features industry and government guest speakers