npm install -g discogs-crate-digger
When using the command it will trigger an oauth flow with spotify asking for access to create a playlist on your behalf
discogs-crate-digger <username>
dcd <username>
To dig through a users collection instead of their marketplace you can use the collection flag
dcd <username> --collection
You can also use genre filters on collections (but not on marketplaces)
dcd <username> --collection --genres Electronic Jazz