Google Maps, Skyscanner and eStreaming APIs for collecting ...
Google APIs for NSBM Students
-
Upload
anjana-somathilake -
Category
Software
-
view
118 -
download
3
description
Transcript of Google APIs for NSBM Students
![Page 1: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/1.jpg)
APIs Anjana Somathilake
Director, Engineering and Architecture @makewita
![Page 2: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/2.jpg)
Coverage!
![Page 3: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/3.jpg)
What is Google?!
![Page 4: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/4.jpg)
Opticians ?!
![Page 5: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/5.jpg)
Car Manufacturer?!
![Page 6: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/6.jpg)
Phone Company?!
![Page 7: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/7.jpg)
What is Google?!
![Page 8: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/8.jpg)
Technologies and Tools!
![Page 9: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/9.jpg)
Google Cloud Platform!
![Page 10: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/10.jpg)
API?!
• American Petroleum Institute!• Academic Performance Index!• Application Programming Interface!
• A Pleasing Interface!• American Pain Institute!
![Page 11: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/11.jpg)
Google APIs!
“The Google APIs are based on popular Google consumer products, including Google Maps, Google Earth, AdSense, Adwords, Google Apps and YouTube.”!
![Page 12: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/12.jpg)
API?!
UI vs. API
![Page 13: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/13.jpg)
User Interface!
![Page 14: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/14.jpg)
API!
Application Programming Interfaces
![Page 15: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/15.jpg)
API – Integrates programmatically!
Request
Response
![Page 16: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/16.jpg)
API – Integrates programmatically!
API
Application
![Page 17: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/17.jpg)
Why Google APIs!
• Run on Google’s infrastructure • Global network: Google has one of the largest and most advanced computer networks. • Redundancy: Multiple locations across the globe provides strong redundancy. • Cutting-edge Technology: Access to Google’s technology innovations faster. (e.g Spanner
and Flume)
• Focus on your product • Managed services: Let Google worry about infrastructure while you focus on your code • Developer tools and SDKs: Google provides API client libraries, etc • Console and administration: See and manage all of your applications from a single console
• Mix and match • Use Google APIs to quickly enable a wide range of functionality for your application. You
don’t need to build these from scratch, just take advantage of easy integration
![Page 18: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/18.jpg)
RESTful in a nutshell!
The REST architecture is based on the following simple ideas
• REST uses URIs to refer to and to access resources • REST is built on top of the stateless HTTP 1.1 protocol • REST uses HTTP commands to define operations HTTP commands have precise semantics
• GET lists or retrieves a resource at a given URI • PUT replaces or updates a resource at a given URI • POST creates a resources at a given URI • DELETE removes the resources at a given URI
![Page 19: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/19.jpg)
Authorized Access to APIs with OAuth!
https://developers.google.com/oauthplayground
![Page 20: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/20.jpg)
Google APIs Explorer?!
“The Google APIs Explorer is a tool that helps you explore various Google APIs interactively”
• Credentials to access an API are not needed to use the APIs Explorer • The APIs Explorer uses its own API key whenever it makes a request
http://developers.google.com/apis-explorer
![Page 21: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/21.jpg)
Accessing APIs!
• APIs Discovery Service - One API to find hem all https://developers.google.com/apis-explorer/?hl=de#p/discovery/v1/discovery.apis.list
• Books API - Search Books https://developers.google.com/apis-explorer/#p/books/v1/books.volumes.list
• Plus API - Search for Public Profiles of People https://developers.google.com/apis-explorer/#p/plus/v1/plus.people.search
![Page 22: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/22.jpg)
Google Developers Console! “Developer portal for managing and viewing traffic data, authentication, and billing information for the Google APIs that your projects use”
https://console.developers.google.com
![Page 23: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/23.jpg)
Accessing APIs!
• URL Shortener API - Squeeze long URLs into fewer characters
• Calendar API - Manage Events on a Calendar
• Tasks API - Manage TODO lists
• Translate API - Dynamically translate text
![Page 24: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/24.jpg)
Demo - Fusion Tables API!
“Google Fusion Tables is an experimental application that lets you store,
share, query, and visualize data tables”
https://developers.google.com/fusiontables/docs/samples/gviz_barchart
https://developers.google.com/fusiontables/docs/samples/fusiontableslayer_example
![Page 25: Google APIs for NSBM Students](https://reader034.fdocuments.us/reader034/viewer/2022042513/54568cc6af7959755d8b4d13/html5/thumbnails/25.jpg)
Thank You!