Skip to main content

A Python library to access dA-compatible webAPIs

Project description

https://img.shields.io/badge/License-GPLv3-red.svg https://img.shields.io/badge/python-2.7%7C3.5-green.svg

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


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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page