~/talk

Building Web APIs with Flask-RESTful

Talkat PyOhio 2014 · 2014-07-26..07-27· [api-design]
links:none on file
slides:none on file

Flask-RESTful is an extension that turns Flask views into class-based Resource handlers, replaces repetitive parsing and formatting with reqparse and marshal/fields, and wires content negotiation plus custom serializers. The library ships with JSON only, is easy to extend to XML, and supports custom types and a global error-to-response mapping. It powers the majority of Twilio’s REST API traffic, has ~900 GitHub stars, and shortens handlers so business logic is just a few lines.

AI-written summary · about

  1. 0:00Introduction to API dev
  2. 0:35Understanding REST and Flask
  3. 1:36Creating a simple web app
  4. 2:55Building API endpoints
  5. 5:11API development challenges
  6. 7:11Introduction to Flask-RESTful
  7. 8:53Input parsing and validation
  8. 10:45Output formatting and marshall
  9. 12:33Implementing API resources
  10. 14:47Advanced representation and XML
  11. 16:02Custom data types and fields
  12. 18:50Error handling mechanisms
  13. 20:23Q&A and conclusion
~/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.