figure-eight-client-1.1.0
توضیحات
Simple client for the Figure Eight API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | figure-eight-client-1.1.0 |
| نام | figure-eight-client |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nathan Evans |
| ایمیل نویسنده | evans.nathan.j@gmail.com |
| آدرس صفحه اصلی | https://github.com/de1ux/figure-eight-python-client |
| آدرس اینترنتی | https://pypi.org/project/figure-eight-client/ |
| مجوز | - |
# figure-eight-python-client
Python client drawn from [Figure Eight's API docs](https://success.figure-eight.com/hc/en-us/articles/202703425-Figure-Eight-API-Requests-Guide)
## Install
```bash
$ pip install figure-eight-client
```
## Usage
Replace `<figure-eight-api-token>` with a token from https://make.figure-eight.com/account/api
```python
>>> from figure_eight_client import FigureEightClient
>>> client = FigureEightClient("<figure-eight-api-token>")
```
## Methods
| |
|--------|
|copy_job(job_id, all_units=True)|
|copy_job_without_rows(job_id)|
|add_tag_to_job(job_id, tag)|
|upload_csv_to_job(job_id, data)|
|launch_job(job_id, units_count, channel='on_demand')|
|get_jobs(exclude_instructions=False, pages=1)|
|get_job_rows(job_id, pages=-1)|
|find_jobs_by_support_email(support_email, team_id=None)|
|get_judgements_by_job_id(job_id)|
|get_json_results_by_job_id(job_id)|
|set_job_price_in_cents_per_page(job_id, price_in_cents)|
|set_job_title(job_id, title)|
## Contributing
Consider making a pull request if you have an idea or discover a bug.
## Thanks
Big thanks to [Density](https://www.density.io/) for sponsoring the development of figure-eight-python-client.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
نحوه نصب
نصب پکیج whl figure-eight-client-1.1.0:
pip install figure-eight-client-1.1.0.whl
نصب پکیج tar.gz figure-eight-client-1.1.0:
pip install figure-eight-client-1.1.0.tar.gz