# Discogs2csv
An little tool that converts [a Discogs release XML dump](https://data.discogs.com/) into a CSV.
## Installation
```bash
cargo install discogs2csv
```
## Usage
First download a release dump from the Discogs website:
```bash
curl -O 'https://discogs-data-dumps.s3-us-west-2.amazonaws.com/data/2023/discogs_20230301_releases.xml.gz'
```
Then simply feed it to the `discogs2csv` command:
```bash
Optionally you could convert this CSV into a typed JSON-line:
```bash
cargo install csv2ndjson-lite