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

mwisner/python-kong-management

Repository files navigation

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 `

About

Python API wrapper for kong API gateways.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •