A client of ixBrowser local api
Project description
ixBrowser Local API
ixBrowser local API V2.0 official python version
README.md
Installation
- pypi install
pip install ixbrowser-local-api
- Source code install
git clone https://github.com/ixspyinc/ixbrowser-local-api-python.git
cd ixbrowser-local-api-python
python setup.py install
Usage
Basic usage
import random
from ixbrowser_local_api import IXBrowserClient
c = IXBrowserClient()
data = c.get_profile_list()
if data is None:
print('Get profile list error:')
print('Error code=', c.code)
print('Error message=', c.message)
else:
item = random.choice(data)
profile_id = item['profile_id']
print('Random choice profile_id=', profile_id)
open_result = c.open_profile(profile_id, cookies_backup=False, load_profile_info_page=False)
if open_result is None:
print('Open profile error:')
print('Error code=', c.code)
print('Error message=', c.message)
else:
print(open_result)
Advance use
For detailed usage, please refer to the files in the /examples directory.
API document
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
Built Distribution
File details
Details for the file ixbrowser-local-api-1.0.8.tar.gz
.
File metadata
- Download URL: ixbrowser-local-api-1.0.8.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e38a8b6d08bcab1f7d6f5a81b80695f51aa8741df3b2e5c1244d53a38deed16 |
|
MD5 | e17f720ec902c8fd0663e5c07ec976bb |
|
BLAKE2b-256 | e11dd8761e5a75580166f868003212eb237c6a49a57a5babb3571d98f55e2a2e |
File details
Details for the file ixbrowser_local_api-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: ixbrowser_local_api-1.0.8-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d66f50ce61f022028300735078d884396750fc20aa2497a66ab9515595f3bbfe |
|
MD5 | 164535bdfac5672dd957141e5b27b5ba |
|
BLAKE2b-256 | d4044330d7146a43f5580f1ff76a69972a76ab24a51326a93d03ebd5a294a3da |