Skip to main content

A tiny toolkit to implement HTTP APIs using Django.

Project description

# dj-tiny-api

A tiny toolkit to implement HTTP APIs using Django.

Basic Usage
===========

# in views.py
from dj_tiny_api import Endpoint


@Endpoint(
url=r'^api/v1/foo/?$',
methods=['GET', 'POST'],
)
def foo_view()
return {'foo': 'bar'}

# this will return response with body
{"data": {"foo": "bar"}, "error": null}

Project details


Release history Release notifications

This version
History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5

History Node

0.4.1

History Node

0.4

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1.2

History Node

0.1.1

History Node

0.1

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dj-tiny-api-0.5.5.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None Oct 8, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page