Google APIs for NSBM Students

603 views

Published on

Introduction to Google APIs

Published in: Software, Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
603
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Google APIs for NSBM Students

  1. 1. APIs Anjana Somathilake Director, Engineering and Architecture @makewita
  2. 2. Coverage!
  3. 3. What is Google?!
  4. 4. Opticians ?!
  5. 5. Car Manufacturer?!
  6. 6. Phone Company?!
  7. 7. What is Google?!
  8. 8. Technologies and Tools!
  9. 9. Google Cloud Platform!
  10. 10. API?! •  American Petroleum Institute! •  Academic Performance Index! •  Application Programming Interface! •  A Pleasing Interface! •  American Pain Institute!
  11. 11. Google APIs! “The Google APIs are based on popular Google consumer products, including Google Maps, Google Earth, AdSense, Adwords, Google Apps and YouTube.”!
  12. 12. API?! UI vs. API
  13. 13. User Interface!
  14. 14. API! Application Programming Interfaces
  15. 15. API – Integrates programmatically! Request Response
  16. 16. API – Integrates programmatically! API Application
  17. 17. 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
  18. 18. 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
  19. 19. Authorized Access to APIs with OAuth! https://developers.google.com/oauthplayground
  20. 20. 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
  21. 21. 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
  22. 22. 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
  23. 23. 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
  24. 24. 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
  25. 25. Thank You!

×