~/talk

An iPhone-Python love affair: Building APIs for mobile

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

A hackathon team builds a web and iPhone app called Valentines in 24 hours, using Django for backend, TastyPie to expose REST endpoints and Twilio to place calls. The API returns hierarchical JSON (cards with nested tracks), overrides TastyPie’s post_list and wrapper hooks to create associated tracks and custom error payloads, issues device-tailored numeric error codes, and successfully sends a Valentine via Twilio during the demo.

AI-written summary · about

  1. 0:00Project inspiration
  2. 2:24Transitioning to mobile
  3. 5:21API design principles
  4. 8:01Implementing the API
  5. 10:40Data hierarchy
  6. 13:29Auth and user control
  7. 16:08Error handling strategy
  8. 18:51Demonstration and results
  9. 20:51Handling offline scenarios
  10. 24:51Final thoughts and Q&A
~/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.