Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Latest commit

 

History

History
74 lines (57 loc) · 1.64 KB

README.rst

File metadata and controls

74 lines (57 loc) · 1.64 KB

Python Kong Management

https://travis-ci.org/mwisner/python-kong-management.svg?branch=master Documentation Status Updates

Python api wrapper for Kong API Gatway

Features

  • This is very much a work-in-progress. Implemented functionality

Consumers

  • create
  • update_or_create
  • retrieve
  • list
  • update
  • delete
  • add_key
  • remove_key

Node

  • information
  • status

Errors

``` error_codes = {

'unauthorized': AuthenticationError, 'forbidden': AuthenticationError, 'bad_request': BadRequestError, 'action_forbidden': BadRequestError, 'missing_parameter': BadRequestError, 'parameter_invalid': BadRequestError, 'parameter_not_found': BadRequestError, 'not_found': ResourceNotFound, 'service_unavailable': ServiceUnavailableError,

}

Testing

`bash cp .env.example .env python3 -m venv venv source venv eval $(cat .env | sed 's/^/export /') setup.py pytest `