dAwebAPI-0.2
توضیحات
A Python library to access dA-compatible webAPIs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dAwebAPI-0.2 |
| نام | dAwebAPI |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Karl Bedrich |
| ایمیل نویسنده | karl.bedrich@nus.edu.sg |
| آدرس صفحه اصلی | https://github.com/radjkarl/daWebApi |
| آدرس اینترنتی | https://pypi.org/project/dAwebAPI/ |
| مجوز | GPL v3 |
=============================================================
*dAwebAPI* - A Python library to access dA-compatible webAPIs
=============================================================
.. image:: https://img.shields.io/badge/License-GPLv3-red.svg
.. image:: https://img.shields.io/badge/python-2.7%7C3.5-green.svg
- Fork the code on `github <https://github.com/radjkarl/daWebApi>`_
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:
.. code:: python
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 -
نحوه نصب
نصب پکیج whl dAwebAPI-0.2:
pip install dAwebAPI-0.2.whl
نصب پکیج tar.gz dAwebAPI-0.2:
pip install dAwebAPI-0.2.tar.gz