Skip to main content

API Library to help using Kenti API

Project description

Kentik API python library.

This is a python wrapper for kentik rest api. For more information on how to interact with kentik resources using this library, see examples in examples/ folder.

Installation with pip

  1. Install the library using pip (currently the library is available under pypi test repository):
    pip3 install --index-url https://pypi.org/simple --extra-index-url https://test.pypi.org/simple/ kentik-api
  2. Check installation successful - no errors should be reported:
    python3 -c "import kentik_api"
  3. Run an example (optional):
export KTAPI_AUTH_EMAIL=<your kentik api credentials email>
export KTAPI_AUTH_TOKEN=<your kentik api credentials token>
python3 examples/sites_example.py

Usage examples

For library usage examples please see: examples/
List of available examples:

Open-source libraries

This software uses the following open-source libraries:

  • dacite by Konrad Hałas - MIT License
  • requests by Kenneth Reitz - Apache Software License (Apache 2.0)
  • typing-extensions by Guido van Rossum, Jukka Lehtosalo, Lukasz Langa, Michael Lee - PSFL License

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

kentik-api-0.1.0.tar.gz (391.3 kB view hashes)

Uploaded Source

Built Distribution

kentik_api-0.1.0-py3-none-any.whl (76.2 kB view hashes)

Uploaded 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