Skip to main content

A client of ixBrowser local api

Project description

ixBrowser Local API

ixBrowser local API V2.0 official python version

Installation

  1. pypi install
pip install ixbrowser-local-api
  1. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ixbrowser-local-api-1.0.4.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

ixbrowser_local_api-1.0.4-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file ixbrowser-local-api-1.0.4.tar.gz.

File metadata

  • Download URL: ixbrowser-local-api-1.0.4.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ixbrowser-local-api-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f3ed876626d6724dbc7f22c20d9c7870bcc7658bc472e5fd302a2679bef81b78
MD5 5436055e71d4ab050250e064d2030885
BLAKE2b-256 aa6bb7518014a84fa03e3ba40c735d217a8e52b0f4816d759cacdae1af52cd74

See more details on using hashes here.

File details

Details for the file ixbrowser_local_api-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ixbrowser_local_api-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42c9d63b65df7067f6dfa7650a46de90e326c4329ea2b8c52ce064ea8fce9f3a
MD5 2c647e68e87c34394d1b52d5fb654431
BLAKE2b-256 9f90d26eb0a66c90633aba4e11574dbad389e0ac3b90c0e406019f10e5a04fc1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page