Indoor api to interact with Rubix
Project description
# Rubix API
A proprietary api for external python projects.
## Installation
You can install the Rubix API from [PyPI]():
pip install rubix_api
The api is tested only on Python 3.6.
## How to use
Rubix API is a toolkit of python modules to help interacting with rubix .NET projects, [Rubix](https://github.com/rubix-labs/Rubix).
### RubixAuth
Introduces custom Oauth2 authentication mechanism, it can be integrated with [requests](https://github.com/kennethreitz/requests) as described
in [new forms of authentication](http://docs.python-requests.org/en/master/user/authentication/#new-forms-of-authentication).
from rubix_api.auth import RubixAuth
rubix_auth = RubixAuth(
"https://hostname/connect/token",
"client_id",
"client-secret",
"grant_type",
"audience"
)
requests.get("https://api/endpoint", auth=rubix_auth)
A proprietary api for external python projects.
## Installation
You can install the Rubix API from [PyPI]():
pip install rubix_api
The api is tested only on Python 3.6.
## How to use
Rubix API is a toolkit of python modules to help interacting with rubix .NET projects, [Rubix](https://github.com/rubix-labs/Rubix).
### RubixAuth
Introduces custom Oauth2 authentication mechanism, it can be integrated with [requests](https://github.com/kennethreitz/requests) as described
in [new forms of authentication](http://docs.python-requests.org/en/master/user/authentication/#new-forms-of-authentication).
from rubix_api.auth import RubixAuth
rubix_auth = RubixAuth(
"https://hostname/connect/token",
"client_id",
"client-secret",
"grant_type",
"audience"
)
requests.get("https://api/endpoint", auth=rubix_auth)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rubix_api-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for rubix_api-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b7e92b011d387ac5e69133643b1dfa23613f61de94b93f6bca665e77dfc47c |
|
MD5 | 9cd45cd79653906f78082b359fbc0db3 |
|
BLAKE2b-256 | 0ac8542e7d4faa92d9f521f6c4cd95617dbf6a6227ad2131c3e9c88028539fc4 |