Home

Awesome

txgratipay

Library for accessing Gratipay APIs for the Twisted networking engine (written in Python)

Simple example

import txgratipay

@inlineCallbacks
def getUserInfo(username='gratipay')
    requests = [
        txgratipay.api.public(username), 
        txgratipay.api.stats(username),
    ]
    results = yield gatherResuts(requests)
    returnValue(results)

Examples

For more examples please see DTX Gratipay Example

License

LGPL v3