Skip to main content

The Django-application for the fast organization API.

Project description

Is an easy way to setup mechanism calls for Django projects. For the exchange of data is used JSON. The API is built on the RPC scheme: one URL address - many methods. This scheme allows you to share hard-structured data, such as nested into each other JavaScript objects:

$.quickAPI({
    url: "/api/",
    data: {
        method: "settings.update",
        kwargs: { value: {
                suppliers: ['s1', 's2', 's33'],
                skip_goods: {
                    s1: ['g123', 'g321'],
                    s33: ['g098']
                }
            }
        }
    },
    callback: function(json, status, xhr) {},
})
from quickapi.client import BaseClient

api = BaseClient()
api.url = 'https://example.org/api/'
api.username = 'login'
api.password = 'passw'

settings = {
    'suppliers': ['s1', 's2', 's33'],
    'skip_goods': {
        's1': ['g123', 'g321'],
        's33': ['g098']
    }
}

response = api.method('settings.update', value=settings)

Read the documentation for details.

Project details


Download files

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

Source Distribution

django-quickapi-3.7.0.tar.gz (994.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page