Tools

Here are some tools that might help in interacting with the API that Tastypie provides:

Browser

JSONView

A plugin (actually two different ones that closely mirror each other) that nicely reformats JSON data in the browser.

Python

Slumber

http://slumber.in/

Slumber is a small Python library that makes it easy to access & work with APIs. It works for many others, but works especially well with Tastypie.

json.tool

Included with Python, this tool makes reformatting JSON easy. For example:

$ curl http://localhost:8000/api/v1/note/ | python -m json.tool

Will return nicely reformatted data like:

{
    "meta": {
        "total_count": 1
    },
    "objects": [
        {
            "content": "Hello world!",
            "user": "/api/v1/user/1/"
        }
    ]
}

Javascript

backbone-tastypie

https://github.com/PaulUithol/backbone-tastypie

A small layer that makes Backbone & Tastypie plan nicely together.

backbone-relational

https://github.com/PaulUithol/Backbone-relational/

Allows Backbone to work with relational data, like the kind of data Tastypie provides.

Project Versions

Table Of Contents

Previous topic

Using Tastypie With Non-ORM Data Sources

Next topic

Resources

This Page