Skip to main content

Enhanced CoreAPI client

Project description

Enhanced CoreAPI client

Wrapper around coreapi.Client for more convenient usage.

Usage

Initialize client:

 from enhanced_coreapi_client import Client
 conf = {
     'SCHEMA_URL': 'https://example.com/api/schema/',
     'AUTH_USERNAME': 'client-example',
     'AUTH_PASSWORD': 'password-example',
 }
client = Client(conf)

Access API endpoints in accordance with the schema, e.g.:

users = client.api.users.list()
project = client.api.users.projects.read(id=7)
new_project = client.api.users.projects.create(name='xxx', user_id=3)

1.3.0 (2021-09-21)

  • Decouple with Django.

1.2.0 (2021-03-19)

  • A more general and flexible way of configuring the client.

1.1.0 (2017-08-20)

  • Loosening Django version.

1.0.1 (2017-08-11)

  • Performance improvement.

1.0.0 (2017-08-11)

  • Releasing v1.0.0 to PyPi.

0.2.1 (2017-08-11)

  • README.

0.2.0 (2017-08-11)

  • Syntactic sugar.

0.1.0 (2017-08-10)

  • Django CoreAPI client v0.1.0 released.

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

enhanced-coreapi-client-1.3.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

enhanced_coreapi_client-1.3.0-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file enhanced-coreapi-client-1.3.0.tar.gz.

File metadata

  • Download URL: enhanced-coreapi-client-1.3.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for enhanced-coreapi-client-1.3.0.tar.gz
Algorithm Hash digest
SHA256 16339670630065ff86c95156bc8d55ca6aa81f757bffea0b0ae9a1a8eb164f39
MD5 ac088c959c442f149cd659fe9acc0b5b
BLAKE2b-256 c4ce96fcd703453d821471cf05d3aaa0024c4ec5c62123114521d23489df89bd

See more details on using hashes here.

File details

Details for the file enhanced_coreapi_client-1.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: enhanced_coreapi_client-1.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for enhanced_coreapi_client-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 243807c01e8a9ae5eb345545e8b232a210445380777c7b6ac22e798dbf2a007a
MD5 ee588e546ec18f8425497fa5c31fa542
BLAKE2b-256 2dd9192874b42f4a11dbf2b3c87b6d812345191709b473c19d5812ac8363849c

See more details on using hashes here.

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