/PyAParser

Python library for working with AParser API

Primary LanguagePythonMIT LicenseMIT

PyAParser

Python library for working with AParser API

API Documentation:

http://a-parser.com/wiki/user-api/

Usage:

from aparser import AParser

aparser_api = AParser('http://aparser.host:port/API', 'password')

Methods:

ping                        - ping
info                        - info
one_request                 - oneRequest
bulk_request                - bulkRequest
get_parser_preset           - getParserPreset
get_proxies                 - getProxies
set_proxy_checker_preset    - setProxyCheckerPreset
add_task                    - addTask
get_task_state              - getTaskState
get_task_conf               - getTaskConf
get_task_result_file        - getTaskResultsFile
delete_task_result_file     - deleteTaskResultsFile
change_task_status          - changeTaskStatus
move_task                   - moveTask
get_tasks_list              - getTasksList
get_parser_info             - getParserInfo