An iPhone-Python love affair: Building APIs for mobile
summary
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
chapters (10)
- 0:00Project inspiration
- 2:24Transitioning to mobile
- 5:21API design principles
- 8:01Implementing the API
- 10:40Data hierarchy
- 13:29Auth and user control
- 16:08Error handling strategy
- 18:51Demonstration and results
- 20:51Handling offline scenarios
- 24:51Final thoughts and Q&A
related talks
21mAPI's - a Part Of the Creative Pallet
32mCovered in Bees! Deploying an app to 6 platforms in 20 minutes
28mThe promised Django Land; the tale of one team’s epic journey...
41mLet's build a BeeWare app that uses Django
32mBuild a data visualization app for your phone
21mThe power of unexpected APIs
09mBuild a web app in Python
28mControlling apples with snakes: Automating mobile apps with Appium
