Giter Club home page Giter Club logo

postman-api's Introduction

Postman-Api

This repository contains two files. The first, TCGPlayer.postman_collection.json, is a Postman (https://www.getpostman.com) collection file that contains all of the current API requests. The second file, TCGPlayer.postman_environment, contains a set of environment variables that will need to be set and configured to get the collection to work.

First you will need to import both of these files into Postman. After that is done, modify the environment variables to match your credentials. The ones that need to be modified are: publicId- this is the public key that you were given when receiving API access privateId- this is the private key that you were given when receiving API access

The rest of the fields will populate from scripts through the various requests. storeAuthorizationCode is part of the Store Authorization workflow present in the main documentation.

Getting started with TCGPlayer Postman requests

After your keys are entered into the imported environment, there are two paths to follow depending on if you want to authenticate against a store. This is only necessary if your application will be interacting with store objects, such as by pulling a store's orders.

If you don't want to authenticate against a store, skip to step 4.

1)

Follow the store authorization workflow until you have generated a store's authorization code.

2)

Enter this code into your Postman environment under the storeAuthorizationCode variable.

3)

Run the request for Store Authorization. You don't need to copy anything from the response, the script handles it and loads the appropriate environment variables.

4)

Run the request for Authenticate.

After this is completed, you should be able to start diving in and running any of the other requests in the collection. If you authenticated against a store, a great next step is to call Get Store Info so that you can verify that your store's information is returned correctly.

Notes

This postman collection is currently updated for version 1.9.0 of the TCGPlayer API. When a new version come out this section will be updated and the collection will also be updated.

If you have any questions please feel free to reach out on our community forums!

Repository published by Joshua Burdick, Developer Evangelist at TCGPlayer.com

postman-api's People

Contributors

joshuaburdick 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.