pyngboard

A Pingboard Python library


Keywords
pingboard, python
License
MIT
Install
pip install pyngboard==0.0.4

Documentation

Pyngboard build-status

This project provides a python library for accessing Pingboard resources.

Installation

To install pyngboard you can use pip:

$ pip install pyngboard

Usage and Credentials

You'll need a Pingboard client_id and client_secret and use it as constructor args:

from pyngboard import PingboardClient
client=PingboardClient(client_id='<a_client_id>', client_secret='<a_client_secret>')

You can also skip constructor args and library will lookup credentials in the following order:

  1. Environment variables PINGBOARD_CLIENT_ID and PINGBOARD_CLIENT_SECRET

  2. A .pingboard file located at user home with the following content:

    client_id=<a_client_id>
    client_secret=<a_client_secret>

License

This project's source code and it's documentation is released under the MIT License.