Skip to main content

Python library to access the Internode API: https://customer-webtools-api.internode.on.net/api/v1.5

Project description

Internode is a package to pull data from https://customer-webtools-api.internode.on.net/api/v1.5. To use the Internode API you need a valid account with Internode.

Requirements

  • Install Python 3.9 (for all users)
  • Pip install requests

Usage

Connect to Internode API:

import internode
Internode = internode.api("user.name@outlook.com", "password")
Internode.connect()

To get service information use the following:

Internode.getservice()

To get current usage information use the following:

Internode.getusage()

To get the last day's history information use the following:

Internode.gethistory()

Full example:

Internode = internode.api("user.name@outlook.com", "password")
Internode.connect()
Internode.getservice()
print(Internode.service)
    
Internode.getusage()
print(Internode.usage)
    
Internode.gethistory()
print(Internode.history)

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

internode-1.5.5.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file internode-1.5.5.tar.gz.

File metadata

  • Download URL: internode-1.5.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.12

File hashes

Hashes for internode-1.5.5.tar.gz
Algorithm Hash digest
SHA256 a4aceca9ab4c2bda8b1db4cf1192f528099a93ab496d8a312b4288a7913d26b6
MD5 0280fbc3f9c59a355311d0d936cd1c0c
BLAKE2b-256 4f0618c96d67daad5c38bf0616e8635131d080785b8ea224e7b643d8ac36444b

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