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.1.tar.gz (995.7 kB view details)

Uploaded Source

File details

Details for the file django-quickapi-3.7.1.tar.gz.

File metadata

File hashes

Hashes for django-quickapi-3.7.1.tar.gz
Algorithm Hash digest
SHA256 db234bf55ad1702f6e457762e7b8480e388bda462126e0aa750b681ec4e05227
MD5 1d99e3ef41ae4bbba54196838691a162
BLAKE2b-256 2bf42db8708cb4b35316a0465c646381a120228745d4dec4b57e81bfcf843f93

See more details on using hashes here.

Supported by

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