Skip to main content

A web automation of Bbox3 web interface.

Project description

BBOX3 API

This API have been written in Python using Selenium, Firefox and Geckodriver. It can works on a server (headless)

Setting up

  1. Install Firefox
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211F
sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main"
sudo apt-get update
sudo apt-get install firefox
  1. Install Geckodriver
wget https://github.com/mozilla/geckodriver/releases/download/v0.28.0/geckodriver-v0.28.0-linux64.tar.gz
tar xfvz geckodriver*.tar.gz
sudo mv geckodriver /usr/bin/geckodriver
  1. Install Python3 and Pip3
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3 python3-pip
  1. Install Selenium
pip3 install selenium
  1. Install this API
pip3 install proximus

Quickstart

# Load the module, open the browser and login (mandatory at the start)
from proximus import *
b = newInstance(headless=True)
login(b, "yourpassword")

# What you want to execute (you can find all the functions below)
toggleHotspot(b)

# Close the browser (mandatory at the end)
b.close()

Documentation

To get the documentation, simply run:

import proximus
help(proximus)

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

proximus-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

proximus-0.0.2-py2-none-any.whl (15.4 kB view details)

Uploaded Python 2

File details

Details for the file proximus-0.0.2.tar.gz.

File metadata

  • Download URL: proximus-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for proximus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6c1f2022c3fcf9851f52816a651596aef026556f4553af4bb859cf5d76df9eaa
MD5 e0af8f5083bc888b7d06a472be86be83
BLAKE2b-256 93c1a1f8c2220322739eca5a021e2f9c122e2adb0d7c2d396d9775e077ee5f45

See more details on using hashes here.

File details

Details for the file proximus-0.0.2-py2-none-any.whl.

File metadata

  • Download URL: proximus-0.0.2-py2-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for proximus-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 8369ef73ff41010fce05f984b157a1c6c563decb5ad76a5d5889ab95469805f1
MD5 4989ace7492b234c134a2d17b563e482
BLAKE2b-256 06a46405886b5d54f0c2449a5bb45bc8aa5ac83f058b3685828bbb7993c14af2

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