Skip to content

eb-hernan/discogs-python-client

Repository files navigation

discogs-python-client

DiscoGS Python client

Requirements

  1. Verify python 2.7 version python --version

  2. Verify pip 9 version pip2 --version

  3. Verify virtualenv 15 version virtualenv --version

Note: If one missed install it via brew or easy_install (install global packages like virtualenv) and pip (install python packages in a local environment)

Virtual Environment

  1. Create a virtual environment mkvirtualenv discogs-python-client

  2. cd discogs-python-client

  3. Activate the virtual environment workon discogs-python-client

  4. Install the dependencies pip2 install -r requirements.txt

  5. Deactivate virtual environment once done deactivate

XML Artist Parser

  1. Test XML Parser python test_xml_artist.py artist_test.xml

XML Artist Genre Parser

  1. Test XML Parser python test_xml_genre.py release_test.xml

Getting images with DiscoGS API

  1. Create an account at https://www.discogs.com and create a token

  2. Add the token in the env variables to be used in the python script export DISCOGS_TOKEN="YOUR_PRIVATE_TOKEN"

  3. Test python test_client.py artist_test.xml

About

DiscoGS Python client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages