~/talk

Web API Mashups in a Python Application

Talkat EuroPython 2011 · 2011-06-20..06-26· [python, api-design, web-platform]
slides:none on file

Shows a working App Engine-style Python web app that uses httplib2 and google-api-python-client to perform OAuth2 (code -> access token + refresh token), decorate handlers to get authorized HTTP, and call Google Drive and URL Shortener APIs with combined scopes. Demo shortens a URL, grabs the page title with BeautifulSoup, posts an activity to the social API, and redirects to the created item. Advises not to embed client secrets in distributed source and to spawn a localhost redirect for native clients.

AI-written summary · about

  1. 0:00Web API mashups intro
  2. 5:59OAuth2 authorization flow
  3. 13:56Google API Python client
  4. 20:45Live demo: Google mashup
  5. 22:36API integration summary
  6. 23:46Q&A: library and secrets
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.