Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

Quickstart

pip install pvoutput
python sync_check_rate_limit.py

Config File

The examples in this folder try to read a configuration file with the name pvoutput.json.
An example pvoutput.example.json is provided with fake apikey and systemid. Copy pvoutput.example.json to pvoutput.json and put in your own apikeyand systemid. This should allow you to run all the examples from within this folder.

Async

The async examples in this folder read the configuration file with aiofiles.
To install this library simply run

pip install pvoutput aiofiles
python async_check_rate_limit.py

You can also replace the async config file reader with the one from the synchronous examples.

To run them

python async_check_rate_limit.py