Building Web APIs in Django with Tastypie

Presented by Issac Kelly




Why Tastypie?

  • Makes sense
  • Well-tested
  • Good features and support, fits well into existing ORM thinking
  • Totally extensible
  • Works well with Javascript
  • Cool stuff is coming out of the community

Why not Tastypie?

  • You know better than your users (functional API instead of REST API)
  • RESTish is enough

Serialization Methods

  • JSON
  • XML
  • YAML
  • Binary plist

Authentication Classes

  • NO-OP
  • API key
  • HTTP Basic Auth & Digest

Authorization Classes

  • ReadOnly
  • Default Authorized
  • Django Authorization

It’s Python, class-based, extensible.