flanks-0.0.3
توضیحات
Small client for FlanksAPI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flanks-0.0.3 |
| نام | flanks |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Flanks Team |
| ایمیل نویسنده | hello@flanks.io |
| آدرس صفحه اصلی | https://github.com/flanks-io/python-flanks |
| آدرس اینترنتی | https://pypi.org/project/flanks/ |
| مجوز | - |
# Flanks Python Library
The Flanks Python library provides convenient access to the Flanks API from applications written in the Python language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Flanks API.
## Documentation
Soon
## Installation
Soon
### Requirements
* Python 3.4+
## Usage
### Initialize Client
Basic usage for initialize the client.
```
import flanks
API_TOKEN = 'TOKEN_API'
flank = Flanks(API_TOKEN)
```
### Create User
Creating users. Fill BANK_USERNAME, BANK_PASSWORD, BANK, BANK_PASSWORD2 with real data.
```
import flanks
API_TOKEN = 'TOKEN_API'
flank = Flanks(API_TOKEN)
username='BANK_USERNAME'
password='BANK_PASSWORD'
bank='BANK'
password2='BANK_PASSWORD2' #If it is necessary
user_token = flank.create_user(username, password, bank, password2)
```
### GET DATA OF USER
You only need one line:
```
user = flank.get_data(user_token)
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.20 | requests |
نحوه نصب
نصب پکیج whl flanks-0.0.3:
pip install flanks-0.0.3.whl
نصب پکیج tar.gz flanks-0.0.3:
pip install flanks-0.0.3.tar.gz