A Python library to access dA-compatible webAPIs
Project description
Fork the code on github
Installation
dAwebAPI is listed in the Python Package Index. You can install it typing:
pip install dAwebAPI
Usage
Access dA-compatible webAPIs in the same way you’d access a local api:
from dAwebAPI.WebAPI import WebAPI
S = WebAPI(<ADDRESS>)
print(dir(S)) # print all available functions
print(S.aFunction.__doc__) #print a doctstring
print(S.api_md()) #print api in makdown format
print(S.aFunction(arg1, arg2, kwarg1=1, kwarg2='aa', kwargs=True))
Function output is formated depending on the functions signature.
v0.1, <15/03/2018> – Initial release.
Karl Bedrich 2018 -
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
dAwebAPI-0.2.tar.gz
(12.3 kB
view details)
File details
Details for the file dAwebAPI-0.2.tar.gz
.
File metadata
- Download URL: dAwebAPI-0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d66b0e5dda20fc03b66cb8be9314ac7fe57e874ef85b593d6420e9c467f95c |
|
MD5 | 7900b1541e84b3a4ca8cc0c30b0b28ef |
|
BLAKE2b-256 | 1554997513dd7cfc5c7837be611337b80d030491d575a7ceb87e2d9bf1a61554 |