https://github.com/ogrodje/podcasters-collector
A tiny tool that collects stats from Spotify Podcasters Platform.
https://github.com/ogrodje/podcasters-collector
anchor influxdb influxdb2 podcasts rust spotify
Last synced: 2 months ago
JSON representation
A tiny tool that collects stats from Spotify Podcasters Platform.
- Host: GitHub
- URL: https://github.com/ogrodje/podcasters-collector
- Owner: ogrodje
- Created: 2022-10-09T20:40:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T08:13:22.000Z (almost 2 years ago)
- Last Synced: 2025-04-10T00:16:04.595Z (2 months ago)
- Topics: anchor, influxdb, influxdb2, podcasts, rust, spotify
- Language: Rust
- Homepage:
- Size: 93.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Podcasters Collector 🦀

A tiny tool that collects stats from [Spotify Podcasters Platform](https://podcasters.spotify.com/).
It's written in Rust, and it was great fun to build.
We use it ourselves to check stats for our [Podcast Ogrodje](https://anchor.fm/ogrodje).
## Usage
```bash
Usage: podcasters-collector [OPTIONS] --email --passwordOptions:
-e, --email
-p, --password
-f, --format [default: string] [possible values: string, csv, influx-dbcsv, json]
-h, --help Print help information
-V, --version Print version information
```### Binaries
- [podcasters-collector for x86_64 with musl (.tar.gz)](https://github.com/ogrodje/podcasters-collector/releases/download/refs%2Fheads%2Fmaster/podcasters-collector-x86_64-unknown-linux-musl.tar.gz)
### Docker
With Docker Image available on [GitHub Container Registry - `ghcr.io`][ghcr-podcasters-collector].
```bash
docker run --rm ghcr.io/ogrodje/podcasters-collector:latest \
podcasters-collector --email --password
```### Importing into InfluxDB
```bash
$ ./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.
```bash
$ cargo build --release
$ ./target/release/podcasters-collector --help
```Build a local Docker image
```bash
docker build . -t ogrodje/podcasters-collector -f Dockerfile
```## Author
- [Oto Brglez](https://github.com/otobrglez)

[ghcr-podcasters-collector]: https://github.com/ogrodje/podcasters-collector/pkgs/container/podcasters-collector