A tiny tool that collects stats from Spotify Podcasters Platform.
It's written in Rust, and it was great fun to build.
We use it ourselves to check stats for our Podcast Ogrodje.
Usage: podcasters-collector [OPTIONS] --email <EMAIL> --password <PASSWORD>
Options:
-e, --email <EMAIL>
-p, --password <PASSWORD>
-f, --format <FORMAT> [default: string] [possible values: string, csv, influx-dbcsv, json]
-h, --help Print help information
-V, --version Print version information
With Docker Image available on GitHub Container Registry - ghcr.io
.
docker run --rm ghcr.io/ogrodje/podcasters-collector:latest \
podcasters-collector --email <EMAIL> --password <PASSWORD>
$ ./target/release/podcasters-collector ... --format influx-dbcsv > plays.csv
$ influx write -b experimenting -f plays.csv
Get the latest Rust and then use cargo buil
to build the project and run it.
$ cargo build --release
$ ./target/release/podcasters-collector --help
Build a local Docker image
docker build . -t ogrodje/podcasters-collector -f Dockerfile