Package to connect to OKAPI API
Project description
OkapiPythonConnector
Some routines to connect OKAPI:Orbits software with python.
Dependencies:
- python 3.8+
- requests
- python-dotenv
Installation walk-through
- Clone connector
git clone https://github.com/OKAPIOrbits/OkapiPythonConnector.git python-connector-git
cd python-connector-git
- Python environment
2.1 Linux/WSL
sudo apt install python3-pytest
sudo apt-get --assume-yes install python3.8 python3.8-dev python3-pip
python3.8 -m pip install python-dotenv
2.2 Windows
Install Python3.8 e.g. from Windows Store. Next, install required packages:
python3.8.exe -m pip install -r requirements.txt
- Running an example
See tryout.py
for example calls. To get started create a .env
file and add your username and password:
OKAPI_TEST_URL=https://api.okapiorbits.com/
OKAPI_TEST_USERNAME=your_username
OKAPI_TEST_PASSWORD=your_password
Make sure that the username and password itentifiers are identical to those used in the python script.
Execute script:
python3.8 -m pytest
Creating an account
Contact us at contact@okapiorbits.com
For more information, go to https://www.okapiorbits.space/documentation
Checkout the API at https://okapiorbits.space/api-redoc/
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
Built Distribution
Hashes for okapi-python-connector-2022.post9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d9d8679eeba470ccbbb1ad99f9389af3c262d6b79fe95c563688d662acabe1 |
|
MD5 | 2e8557c43d3a455c174b9417f5f6d985 |
|
BLAKE2b-256 | 41c7856b3ee4159825ef90599df61d5aa359c8c9eab2e66dd63269fbba220536 |
Hashes for okapi_python_connector-2022.post9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899a3823e074fba4d7d37e8c01174e6341671c11c3e979ef954453e7957d1620 |
|
MD5 | dcda85daef66de1c4b26750b0c4fe168 |
|
BLAKE2b-256 | de9e7e8bb3cd3a7e2dcf0eb4e775878c27d5e1f52bfba37699a9f43c9de8db58 |