The document discusses Google APIs and application programming interfaces (APIs) in general. It provides an overview of what Google APIs are and examples of popular Google APIs, including Maps, Earth, AdSense, Adwords, Apps and YouTube. It outlines some key benefits of using Google APIs, such as running on Google's infrastructure, access to cutting-edge technologies, and freeing developers to focus on their code. The document also introduces API concepts like REST, authentication with OAuth, and tools for exploring and accessing Google APIs like the APIs Explorer and Developers Console.
10. API?!
• American Petroleum Institute!
• Academic Performance Index!
• Application Programming Interface!
• A Pleasing Interface!
• American Pain Institute!
11. Google APIs!
“The Google APIs are based on popular Google consumer products, including
Google Maps, Google Earth, AdSense, Adwords, Google Apps and YouTube.”!
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. 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. Authorized Access to APIs with OAuth!
https://developers.google.com/oauthplayground
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. 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. 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. 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. 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