ogrodje / podcasters-collector

A tiny tool that collects stats from Spotify Podcasters Platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotify Podcasters Collector 🦀

podcasters-collector workflow

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

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

Binaries

Docker

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>

Importing into InfluxDB

$ ./target/release/podcasters-collector ... --format influx-dbcsv > plays.csv
$ influx write -b experimenting -f plays.csv

Development

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

Author

Twitter Follow

About

A tiny tool that collects stats from Spotify Podcasters Platform.


Languages

Language:Rust 84.0%Language:Dockerfile 9.4%Language:Nix 6.6%