Skip to main content

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()
```

The library is used as part of Home Assitant: [https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/tibber.py](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/tibber.py)


Project details


Release history Release notifications | RSS feed

This version

0.2.2

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.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

pyTibber-0.2.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pyTibber-0.2.2.tar.gz.

File metadata

  • Download URL: pyTibber-0.2.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyTibber-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4092461c5ce81560611b1b9ad2851e7b74988441f03313824f0301adc4dd5ed1
MD5 5b9e2c19da4f33817f526752450e80fb
BLAKE2b-256 c8742b44e77c2bce242e405406a1a2bbfd411811f7551c623e71a17bfbe2fde5

See more details on using hashes here.

File details

Details for the file pyTibber-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyTibber-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72a0c9ee4869b66a6c90b9b45327c41f11c883119edc795ecba7c8b0118c2755
MD5 0e4ab16d7ba12078344c11849caf8a16
BLAKE2b-256 61a92b2679e44418eec33bb21043b3e4a27d926112a9893f2fe1924b1495aa32

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