Skip to content

☕️💵 Fetch all donations associated with a BuyMeACoffee account and write output to `/export/donations.json`.

Notifications You must be signed in to change notification settings

toddbirchard/buymeacoffee-fetcher

Repository files navigation

BuyMeACoffee Fetcher

Python Requests GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Fetch all donations associated with a BuyMeACoffee account, and write output to ./donations.json.

Note: This script is a WIP. Requests are not made asynchronously, and pagination is handled in a crude manner.

Installation and Setup

Install

git clone https://github.com/toddbirchard/buymeacoffee-fetcher.git
cd buymeacoffee-fetcher
make install

Configure

Obtain a BuyMeACoffee API token for your account from https://developers.buymeacoffee.com/.

Next, add a .env file with the following values:

ENVIRONMENT=development
BUYMEACOFFEE_API_TOKEN=[YOUR_API_TOKEN]

Usage

Run the script with make run.

About

☕️💵 Fetch all donations associated with a BuyMeACoffee account and write output to `/export/donations.json`.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published