ChangeTip helper library
Project description
A set of tools for interacting with the ChangeTip API - https://www.changetip.com/api/
Install
$ pip install changetip
Examples
from changetip.bots.base import BaseBot
class YourBot(BaseBot):
def check_for_new_tips(self)
# Code to check for new tips
pass
To see it in action, checkout the [ChangeTip Slack bot](https://github.com/changecoin/changetip-slack), which uses this library.
Tests
CircleCI test status:
To run tests:
$ python setup.py test
Local Development
Source code - [ChangeTip Python on Github](https://github.com/changecoin/changetip-python)
If you would like to post API messages locally instead of production (https://api.changetip.com/v1), you can pass the environemnt variable CHANGECOIN_API. For example:
$ CHANGECOIN_API=http://localhost/v1/ python yourcode
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
changetip-0.3.3.tar.gz
(3.5 kB
view details)
File details
Details for the file changetip-0.3.3.tar.gz
.
File metadata
- Download URL: changetip-0.3.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274a9672c6b56402d5d1f80218ad4ef497e86e2f69d397962414981b4801543f |
|
MD5 | 2e04077ae6e5371af3c0edee6eaa1850 |
|
BLAKE2b-256 | 0edf68cda41dc5c637abb6648fbd5c75e9c0ca8bf8663ea883b6396cc811676f |