Code Monkey home page Code Monkey logo

discogs-postman's Introduction

Discogs Postman

A Postman collection for Discogs public API.

Steps to get up and running

Follow these steps to quickly get up and running with the Discogs public API and Postman:

1. Import the Discogs collection and environment into Postman

Download or clone this repository and import the collection and environment files.

You can choose between version 2.0 and 2.1.

2. Create a public app at https://www.discogs.com/settings/developers

Go to the Discogs developer portal and create a public app.

create a public app

3. Add your consumer key and consumer secret to the Discogs environment variables in Postman

Copy the consumer key and consumer secret of your app into the consumer_key and consumer_secret environment variables in Postman.

get credentials

manage environment

4. Select the Discogs environment

Select Discogs from the environment drop-down menu in Postman

select environment

5. Get your request token

Open the Authentication folder and send GET Request Token call in Postman.

Inside the response section, go to the Test Results tab and copy the authorization URL.

GET request token

6. Get your OAuth verifier

Paste the authorization URL into your browser, log in to Discogs and authorize the application.

Authorize application

If the application doesn't have a valid callback URL, you will be redirected to a 404 page. You find the oauth_verifier as the last parameter of the webpage URL, copy the value and paste it into the oauth_verifier environment variable in Postman.

Application callback Copy and paste the oauth_verifier

7. Get your access token

Open the Authentication folder and send POST Access Token call in Postman.

POST access token

Congrats! You're now authenticated and can start making API calls.

8. Make your first API call!

Open the User identity folder and click Send on the GET Identity request to make your first API call. Additionally, copy and paste the username environment variables in Postman.

Discogs public API documentation

You find more information regarding Discogs public APIs here.

Contributing

Contributions are very welcome: if you spot any bug, open a new issue or pull request.

Licence

MIT

discogs-postman's People

Contributors

leopuleo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.