Unofficial Octoparse API client.
Project description
Octoparse
Unofficial Octoparse api client in python
Installation:
use pip to install:
pip install octoparse
Example usage:
from octoparse import Octoparse
# initialize api client
# it will try to log in & ask for credentials if required
octo = Octoparse()
# List all task groups
groups = octo.list_all_task_groups()
# List all tasks in a group
tasks = octo.list_all_tasks_in_group(group_id='xxxx-ssdsd-1212')
# Export the not exported data
data = octo.get_not_exported_data(task_id='abcd-1234-djfsd-dfdf', size=100)
# Update data status
res = octo.update_data_status(task_id='abcd-1234-djfsd-dfdf')
# get data for a task with task id: 'abcd-1234-djfsd-dfdf'
data = octo.get_task_data(task_id='abcd-1234-djfsd-dfdf')
# get task data as a pandas.DataFrame for a task with task id: 'abcd-1234-djfsd-dfdf'
df = octo.get_task_data_df(task_id='abcd-1234-djfsd-dfdf')
# clear data for a task with task id: 'abcd-1234-djfsd-dfdf'
octo.clear_task_data(task_id='abcd-1234-djfsd-dfdf')
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
octoparse-1.1.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for octoparse-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a6a668f60c2905d5f6c66c64807b021a77592b8e74f77a99a07ac71e6b6ff5 |
|
MD5 | e70a8ee2eba153bce38e5db8fec09e10 |
|
BLAKE2b-256 | 2d7a274a9f1ed131629148997c5fefa5f3e0b42d6dbe218d8b4cd5c8f8868439 |