https://github.com/tsouza/pyngboard
Python library for accessing Pingboard resources.
https://github.com/tsouza/pyngboard
pingboard python
Last synced: 8 months ago
JSON representation
Python library for accessing Pingboard resources.
- Host: GitHub
- URL: https://github.com/tsouza/pyngboard
- Owner: tsouza
- License: mit
- Created: 2016-06-15T15:12:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-04T11:47:20.000Z (almost 8 years ago)
- Last Synced: 2025-08-27T00:10:28.876Z (10 months ago)
- Topics: pingboard, python
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Pyngboard |build-status|
=========================
This project provides a python library for accessing `Pingboard `_ resources.
Installation
=============
To install pyngboard you can use pip:
.. code-block:: bash
$ pip install pyngboard
Usage and Credentials
=====================
You'll need a Pingboard `client_id` and `client_secret` and use it as constructor args:
.. code-block:: python
from pyngboard import PingboardClient
client=PingboardClient(client_id='', 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:
.. code-block:: properties
client_id=
client_secret=
License
========
This project's source code and it's documentation is released under the `MIT License `_.
.. |build-status| image:: https://travis-ci.org/tsouza/pyngboard.svg?branch=master
:target: https://travis-ci.org/tsouza/pyngboard