Skip to content

An API to retrieve accurate CS:GO prices for high- and low-tier items

License

Notifications You must be signed in to change notification settings

andrewda/CSGOItemDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSGOItemDB

Codacy Badge

CSGOItemDB is a simple API which allows users to get the prices of CS:GO skins.

Setup

Step 1. Clone the repository to your computer or download the files manually.

git clone https://github.com/andrewda/CSGOItemDB

Step 2. Edit options.json

{
    "errors": {
        "missing_params": "missing parameter(s)",
        "invalid_key": "insufficient privileges (unrecognized key)",
        "not_premium": "insufficient privileges (not premium)",
        "unknown_item": "unknown item"
    },
    "backpacktf_key": "BACKPACK.TF API KEY (can be retreived from http://backpack.tf/api)",
    "update_time": 7200,
    "refresh_interval": 60000,
    "delete_old_interval": 90000
}

Step 3. Download any missing dependencies

npm install

Step 4. Run the server

node server.js

Step 5. Run the updater

node updater.js

About

An API to retrieve accurate CS:GO prices for high- and low-tier items

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •