Skip to main content

Dynamic rest client for DRF based django api servers

Project description


Dynamic client based on coreapi and drf inspired by dotmap and java script


def get_client(url,username,password):
    from drf_client.client import DrfClient
    return DrfClient(url, username, password)
drfc = get_client('http://server-dns-name','username','password')
doc(drfc) # it will list possible options based on server

# Example

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

drf-client-1.0.0.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page