Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-quickapi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-quickapi

The Django-application for the fast organization API.

  • 3.7.2
  • PyPI
  • Socket score

Maintainers
1

======== QuickAPI

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:

.. code-block:: javascript

$.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) {},
})

.. code-block:: python

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.

.. _documentation: https://docs.rosix.org/django-quickapi/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc