https://github.com/apiwatcher/apiwatcher-pyclient
A python client for Apiwatcher platform in a form of simple library
https://github.com/apiwatcher/apiwatcher-pyclient
Last synced: over 1 year ago
JSON representation
A python client for Apiwatcher platform in a form of simple library
- Host: GitHub
- URL: https://github.com/apiwatcher/apiwatcher-pyclient
- Owner: apiwatcher
- License: mit
- Created: 2017-05-09T19:26:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:44:03.000Z (over 3 years ago)
- Last Synced: 2025-03-04T16:18:42.242Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Apiwatcher python client
================================
This project aims to be a simple python client for interaction with
Apiwatcher platform.
It solves authentication against platform's ouath2 workflow and thus can be
used as a base for more complex applications.
Installation
=============
Best way is to use *pip*.
.. code-block:: shell
pip install apiwatcher-pyclient
Usage
======
.. code-block:: python
from apiwatcher_pyclient.client import Client
cl = Client()
cl.authorize_client_credentials(
"your_client_id", "your_client_secret", scope="apilisk"
)
cl.post(
"/api/projects/xxx/testcase/123456/results",
{
"some": "data"
}
)
Tests
======
There are small number of tests. :) To run them use nose.
.. code-block:: shell
nosetests