Project description
Athena is the core SDK for requesting the EnOS API
Example
1.1 Query
from poseidon import poseidon
appkey = '7b51b354-f200-45a9-a349-585d97730c5a'
appsecret = '65417473-2da3-40cc-b235-513b9216bab1'
url = 'http://10.27.20.193:8000/tttttttt/v1/tyy?sid=28654780'
req = poseidon.urlopen(appkey, appsecret, url)
print(req)
1.2 Header
from poseidon import poseidon
appkey = '7b51b354-f200-45a9-a349-585d97730c5a'
appsecret = '65417473-2da3-40cc-b235-513b9216bab1'
url = 'http://10.27.20.193:8000/tttttttt/v1/tyy?sid=28654780'
header={}
req = poseidon.urlopen(appkey, appsecret, url, None, header)
print(req)
1.3 Body
from poseidon import poseidon
appkey = '7b51b354-f200-45a9-a349-585d97730c5a'
appsecret = '65417473-2da3-40cc-b235-513b9216bab1'
url = 'http://10.27.20.193:8000/tttttttt/v1/tyy?sid=28654780'
data = {"username": "11111", "password": "11111"}
req = poseidon.urlopen(appkey, appsecret, url, data)
print(req)
Release files for aphrodite 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aphrodite-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / aphrodite-0.1.0-py2.py3-none-any.whl
| Download URL | aphrodite-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5eb4125db1968fd29cf220f0b3dad78b00f1ed075f62acd02b376e6c190f9100
|
|
BLAKE2b-256 checksum How to use checksums |
f7551b8e2134f7b38efeee1e3fd8daeb05bc4f8402028a88a0c215ed5e7442a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.0
|