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 details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-quickapi-3.7.0.tar.gz
Algorithm Hash digest
SHA256 e01c7496ed05945cac71ee813c216383855e8a5f6dc9b03b0778db5ddf6be6e8
MD5 5807a50c851dfcd83c4f24ecb8dd96ac
BLAKE2b-256 063ce250a11c464302f8eb8aee01c57822804b4496fcc5415c2ce2a6d4563267

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