A python3 library to communicate with Tibber
Project description
# pyTibber [![Build Status](https://travis-ci.org/Danielhiversen/pyTibber.svg?branch=master)](https://travis-ci.org/Danielhiversen/pyTibber) [![Coverage Status](https://coveralls.io/repos/github/Danielhiversen/pyTibber/badge.svg?branch=master)](https://coveralls.io/github/Danielhiversen/pyTibber?branch=master) [![PyPI version](https://badge.fury.io/py/pyTibber.svg)](https://badge.fury.io/py/pyTibber)
Python3 library for Tibber.
Go to [developer.tibber.com/](https://developer.tibber.com/) to get your API token.
## Install
```
pip3 install pyTibber
```
## Example:
```python
import Tibber
tibber = Tibber.Tibber() # access_token=YOUR_TOKEN
tibber.sync_update_info()
print(tibber.name)
home = tibber.get_homes()[0]
home.sync_update_info()
print(home.address1)
home.sync_update_price_info()
print(home.current_price_info)
tibber.websession.close()
```
Python3 library for Tibber.
Go to [developer.tibber.com/](https://developer.tibber.com/) to get your API token.
## Install
```
pip3 install pyTibber
```
## Example:
```python
import Tibber
tibber = Tibber.Tibber() # access_token=YOUR_TOKEN
tibber.sync_update_info()
print(tibber.name)
home = tibber.get_homes()[0]
home.sync_update_info()
print(home.address1)
home.sync_update_price_info()
print(home.current_price_info)
tibber.websession.close()
```
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
pyTibber-0.2.0.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file pyTibber-0.2.0.tar.gz
.
File metadata
- Download URL: pyTibber-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3981296f4e146dea1b45db059de5b482b15a59eb412413fd0c025b7e549d1389 |
|
MD5 | b5d868f2ef901ca115ca6ba1e534061a |
|
BLAKE2b-256 | 7e959213639115616a7afe301fcedf4edbae4800435d1a0eb3a69bb83f6d26ec |
File details
Details for the file pyTibber-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pyTibber-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4299f32b57d016d39dfe1a4c4246edab8c8c24e92183cc47de0706e3d55d2d0 |
|
MD5 | dee728aed667cae35311502846a00d9c |
|
BLAKE2b-256 | 50dbfba0ce3f30ac620d7683088430f5b317f371323e0c782049cefbc894ab62 |