Metadata-Version: 2.1
Name: internode
Version: 1.5.5
Summary: Python library to access the Internode API: https://customer-webtools-api.internode.on.net/api/v1.5
Home-page: https://github.com/leighcurran/AuroraPlus
Author: Leigh Curran
Author-email: InternodePy@outlook.com
License: MIT
Keywords: Internode,API
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE

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)

