1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Why?
I don’t like exisiting libraries.
This client is a mapping of the RESTful server API. There is a method for every API end-point with the corresponding arguments. Only two methods raise an exception create_notification and view_notification. In all the other cases you will get the errors from the API in the response.
Client’s methods names are the end-point name in lower case with spaces replaced by underscores. Depending on the method you call you will need an User Auth Key or an App Auth Key or an App Id. They can be set as environment variables ‘OS_USER_AUTH_KEY’, ‘OS_APP_AUTH_KEY’ and ‘OS_APP_ID’ or assigned to the client via app_auth_key, user_auth_key and app_id attributes.
Install
pip install yaosac
Usage
import yaosac # Send a notification yaosac.client.create_notification(player_ids) # Get a notification notification_id = 'a-notification-id-you-keep-somewhere' notification = yaosac.client.view_notification(notification_id)
Contribution/Testing
python3 setup.py test
Metadata
Release files for yaosac 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yaosac-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
| yaosac-1.0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 10.2 kB
Release files / yaosac-1.0.1-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | yaosac-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af329497ce779eb1371dff0fa3f3b01ff762afd1af8a523913c30e21ca4e60f8
|
|
BLAKE2b-256 checksum How to use checksums |
68edafe49e8270b71285b39609dfd052740586afe0f9b6ba877811cf4c194aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / yaosac-1.0.1-py2-none-any.whl
| Download URL | yaosac-1.0.1-py2-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
5cd27000ea807e8617bcdb45fd1f2f3be8b936ce800d20c4f87465005b7f009d
|
|
BLAKE2b-256 checksum How to use checksums |
62e9bdf9aa498841d080823d34093c85ef6c2f83f86cd5fd3a9da271cec8c24e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |