Skip to content
A Python implementation of the PV_Live web API.
Branch: master
Clone or download
Latest commit fb2c774 Mar 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
pvlive_api Updated to use PV_Live API v2 Mar 19, 2019
.gitignore
README.md
pvlive_api_demo.py
setup.cfg Initial commit Jun 4, 2018
setup.py

README.md

PV_Live

A Python implementation of the PV_Live web API. See https://www.solar.sheffield.ac.uk/pvlive/

UPDATED 2019-03-19 to use PV_Live API v2.

What is this repository for?

  • A Python interface for the PV_Live web API to enable accessing PV_Live results in Python code.
  • Version 0.3
  • Works with Python 2.7+ or 3.5+

How do I get set up?

  • Make sure you have Git installed - Download Git
  • Run pip install git+https://github.com/SheffieldSolar/PV_Live-API
    • NOTE: You may need to run this command as sudo on Linux machines depending, on your Python installation i.e. sudo pip install git+https://github.com/SheffieldSolar/PV_Live-API

Getting started

See pvlive_api_demo.py for example usage.

from pvlive_api import PVLive

pvl = PVLive()
pvl.latest()

Documentation

How do I upgrade?

Sheffield Solar will endeavour to update this library in sync with the PV_Live API, but cannot guarantee this. To make sure you are forewarned of upcoming changes to the API, you should email solar@sheffield.ac.uk and request to be added to the PV_Live user mailing list.

To upgrade the code:

  • Run pip install --upgrade git+https://github.com/SheffieldSolar/PV_Live-API

Who do I talk to?

Authors

License

No license is defined yet - use at your own risk.

You can’t perform that action at this time.