Skip to main content

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

Tests

CircleCI test status:

https://circleci.com/gh/changecoin/changetip-python.svg?style=svg

To run tests:

$ python setup.py test

Local Development

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


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.2.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file changetip-0.2.0.tar.gz.

File metadata

  • Download URL: changetip-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for changetip-0.2.0.tar.gz
Algorithm Hash digest
SHA256 70c553cfc10862a490a069e15057c977692651b6cbcfd0c57475a1a92182f61f
MD5 4d01d0c4deb76323f8714824befd7e0f
BLAKE2b-256 ea09bd1031b744ad078196b5f7fb8f53890ed32b8bf2881770762482ab5f8f89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page