market-csgo-manager

0.2.47 • Public • Published

CS:GO-market Manager

High level wrapper for market.csgo.com (AKA tm.csgo.com)

Only items bought supported currently and focuses on CS:GO

Config

Minimal required

{
    "market": {
        "apiKey": "xxx"
    }
}

Default values

{
    "manager": {
        "balanceValidationInterval": 90000, // 1.5 * 60 * 1000 - Balance integrity check if we are connected to ws
        "avoidBadBots": true, // If we know that some offer is laggy we will firstly try to skip it
        "safeBuyRequests": true, // If market returns http error on by request we will check, did we really bought
        "dataDir": null, // Where system data should be stored, should be absolute path or nothing
        "logApiCalls": false // Should we log all api calls to market?(works only if data dir is set) . Or you can pass your own logger
    },
    "market": {
        "apiKey": "", // Required
        "pingInterval": 185000, // 3 * 60 * 1000 + 5 * 1000
        "handleTimezone": false,
        "allowedPriceFluctuation": 0,
        "compromiseFactor": 0,
        "minCompromise": 0
    },
    "sockets": {
        "pingInterval": 20000 // 20 * 1000
    },
    "knapsack": {
        "validationInterval": 60000, // 60 * 1000 - if we have connection to ws
        "updateInterval": 20000 // 20 * 1000 - using if don't have connection to ws
    }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.470latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.470
0.2.460
0.2.450
0.2.440
0.2.430
0.2.420
0.2.410
0.2.400
0.2.390
0.2.380
0.2.370
0.2.360
0.2.350
0.2.340
0.2.330
0.2.320
0.2.310
0.2.300
0.2.290
0.2.280
0.2.270
0.2.260
0.2.250
0.2.240
0.2.230
0.2.220
0.2.211
0.2.200
0.2.190
0.2.180
0.2.170
0.2.160
0.2.150
0.2.140
0.2.131
0.2.120
0.2.110
0.2.100
0.2.90
0.2.80
0.2.70
0.2.60
0.2.50
0.2.40
0.2.30
0.2.20
0.2.10
0.2.01
0.1.660
0.1.650
0.1.640
0.1.630
0.1.620
0.1.610
0.1.600
0.1.590
0.1.580
0.1.570
0.1.560
0.1.550
0.1.540
0.1.530
0.1.520
0.1.510
0.1.500
0.1.490
0.1.480
0.1.470
0.1.460
0.1.450
0.1.430
0.1.420
0.1.410
0.1.400
0.1.390
0.1.380
0.1.370
0.1.360
0.1.350
0.1.340
0.1.330
0.1.320
0.1.310
0.1.300
0.1.290
0.1.280
0.1.270
0.1.260
0.1.250
0.1.240
0.1.230
0.1.220
0.1.210
0.1.200
0.1.190
0.1.180
0.1.170
0.1.160
0.1.150
0.1.140
0.1.130
0.1.120
0.1.110
0.1.100
0.1.90
0.1.80
0.1.70
0.1.60
0.1.51
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50

Package Sidebar

Install

npm i market-csgo-manager

Weekly Downloads

4

Version

0.2.47

License

GNU

Unpacked Size

127 kB

Total Files

40

Last publish

Collaborators

  • malsa