Using Patreon API Keys; pulls list of patrons to a file and cents donated to a configurable file.
To get started, follow the guide below:
-
Ensure Elixir is fully installed on the target machine.
-
Clone this repo to the target machine.
-
Navigate to /config/config.exs. Modify this file following the notes provided.
-
Navigate a shell window to the repo folder and type the following to download dependencies:
mix deps.get
-
Now type the following to build the project:
WINDOWS(cmd): set "MIX_ENV=prod" && mix escript.build UNIX(bash) MIX_ENV=prod mix escript.build
NOTE: This needs to be run after any following config changes.
-
Use the following command under the repo directory to run it:
escript patreon_slurp
-
File output will look like the following:
<patron_name_1> <cents_donated_1> <patron_name_2> <cents_donated_2> <patron_name_n> <cents_donated_n>