Skip to main content

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aphrodite 0.1.4
File Size Uploaded
aphrodite-0.1.4.tar.gz 3.3 kB Details

Release files / aphrodite-0.1.4.tar.gz

Download URL aphrodite-0.1.4.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e6242fecd4c6be6a07f624c79d6112def4851f65ad7fdc5f41e67ba4744c8c5e
BLAKE2b-256 checksum
How to use checksums
d54854dc7bea1d01c9cfa3046e6bd17b94cc617a2c14a82c85218bd65e1dab8d
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

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

2 release files

0.1.0

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page