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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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