Download - Accessing Google APIs from Python
Google Confidential and Proprietary
Accessing Google APIsfrom Python
+Wesley Chun / @wescpyDeveloper Advocate, Google
Spring 2015slides @ goo.gl/H1OCLP
Google Confidential and Proprietary
About Speaker• Software Engineer
– Google, Sun, Yahoo!, HP, ton of startups• Author
– "Core Python" books (corepython.com)• Teacher
– Teacher since 1983– BASIC, C, Unix, Python, math– All age levels
Google Confidential and Proprietary
About You and This Talk• Python developer• Interested in using Google APIs• Have a Google account (or will)
Google Confidential and Proprietary
Google APIs• Access to Google services• Integrate Google into YOUR apps• Two kinds
– Simple/public APIs– Authorized APIs
• From Python (+ Java, JavaScript, .NET, Objective-C, PHP, Dart, Go, Node.js, Ruby)
– developers.google.com/api-client-library/python/apis
Google Confidential and Proprietary
Google Developer Tools (APIs mostly middle-bottom)
Compute Engine
App Engine
Cloud Storage
Prediction
Trans late
Cloud DNS
Cloud SQL
Cloud Datastore
Big Query
CloudEndpoints
Google Confidential and Proprietary
Overall steps• Create Google account• Create/register an app
– Login– console.developers.google.com– Create project– Enable API(s)– Get credentials (both kinds)
• Install Client Library (pip install -U google-api-python-client)• Write (Python) app• DEMO (live... what could possibly go wrong?!?)• Detailed instructions @ wescpy.blogspot.com
Google Confidential and Proprietary
Thank You! Q&A+Wesley Chun
Developer AdvocateGoogle, Inc.
[email protected]@wescpy