aboutsummaryrefslogtreecommitdiffstats
path: root/api.py
Commit message (Collapse)AuthorAgeFilesLines
* flake8 fixupnico2020-06-291-1/+1
| | | | | | | | | * fix trailing/ leading whitespaces * fix None comparison to use is + add noqa ignore statements for the influx escape replacements + add noqa ignore statements around the bare excepts TODO: This is only a temporary fix for most of the bare excepts, we need further specify those.
* black reformatnico2020-06-291-2/+3
| | | | * black reformatted the code
* pep8 and friendsnico2020-06-171-2/+1
| | | | | | | | * add default logging NullHandler * fix indentation mismatch * rename control to calls to better point out its purpose * rename class to EjabberdApiCalls to better point out it purpose * changed get_nodes to an internal support method
* add cleanup.pygenofire2020-06-101-19/+0
|
* fixupnico2020-06-101-3/+3
| | | | | * update version regex to succesfully match only the version string + add missing import
* fix versionstring parsinggenofire2020-06-091-2/+4
|
* fix version string being unpopulatednico2020-06-091-1/+5
| | | | | | | | | | * fix version string being empty + add error code 17 to the README resolves #2 Error Code 17 means one of two things a) the configured user credentials are not correct, therefore the user is not able to properly login b) the configured user does not have the correct permissions to interact with the api
* code cleanupnico2020-04-281-0/+71
* split up api and metrics class * revamped file nameming to better resemble their function * update prometheus and influx files * fixed version regex to not break on - in version string