Advertisement
Guest User

marketplace server config file

a guest
Jul 13th, 2017
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.52 KB | None | 0 0
  1. {
  2.   "service": {
  3.     "host": "127.0.0.1",
  4.     "port": 9000,
  5.     "cookie_domain": null
  6.   },
  7.  
  8.   "bearer_access_token": "test_token",
  9.  
  10.   "mongodb": {
  11.     "connect_string": "127.0.0.1:27017/steam-marketplace",
  12.     "mongoose_debug": true
  13.   },
  14.  
  15.   "market": {
  16.     "default_app_id": 730,
  17.     "default_context_id": 2,
  18.     "default_load_only_tradable": true,
  19.  
  20.     "allowed_app_ids": [730],
  21.  
  22.     "market_inventory_expire_s": 900,
  23.     "user_inventory_expire_s": 900,
  24.  
  25.     "user_inventory_reload_restrict_for_s": 30,
  26.  
  27.     "currency_decimal_digits": 2,
  28.     "min_item_price": 0.05,
  29.     "max_item_price": 5000.00,
  30.  
  31.     "tax": 0.05,
  32.  
  33.     "max_items_per_offer": 20,
  34.  
  35.     "listings": {
  36.       "limit": 50
  37.     },
  38.  
  39.     "max_inventory_items_for_app_id": {
  40.       "730": 1000
  41.     },
  42.  
  43.     "sort_item_fields_for_app_id": {
  44.       "730": {
  45.         "featured": [
  46.           1,
  47.           -1
  48.         ],
  49.         "price": [
  50.           1,
  51.           -1
  52.         ],
  53.         "wear": [
  54.           1,
  55.           -1
  56.         ],
  57.         "age": [
  58.           1,
  59.           -1
  60.         ]
  61.       }
  62.     },
  63.  
  64.     "search_item_fields_for_app_id": {
  65.       "730": {
  66.         "market_hash_name": "String",
  67.         "minimum_price": "Number",
  68.         "maximum_price": "Number",
  69.         "stattrak": [
  70.           true,
  71.           false
  72.         ],
  73.         "grade": [
  74.           "Consumer Grade",
  75.           "Industrial Grade",
  76.           "Mil-Spec",
  77.           "Restricted",
  78.           "Classified",
  79.           "Covert",
  80.           "Exceedingly Rare"
  81.         ],
  82.         "exterior": [
  83.           "Battle-Scarred",
  84.           "Well-Worn",
  85.           "Field-Tested",
  86.           "Minimal Wear",
  87.           "Factory New"
  88.         ],
  89.         "type": [
  90.           "Knife",
  91.           "Pistol",
  92.           "Rifle",
  93.           "Shotgun",
  94.           "SMG",
  95.           "Machine Gun",
  96.           "Container",
  97.           "Key",
  98.           "Sticker"
  99.         ]
  100.       }
  101.     },
  102.  
  103.     "blacklist": {
  104.       "730": {
  105.         "market_hash_names": [
  106.  
  107.         ],
  108.         "types": [
  109.           "Container", "Tool", "Gift", "Pass", "Collectible"
  110.         ],
  111.         "collections": [
  112.  
  113.         ],
  114.         "qualities": [
  115.           "Souvenir"
  116.         ]
  117.       }
  118.     },
  119.  
  120.     "gateways": {
  121.       "pagseguro": {
  122.         "email": "email",
  123.         "token": "token",
  124.         "mode": "sandbox",
  125.         "redirect_url": null,
  126.         "notification_url": null,
  127.         "payment_expires_in_seconds": 1800
  128.       }
  129.     },
  130.  
  131.     "withdraw": {
  132.       "types": [
  133.         "brazil_bank"
  134.       ],
  135.       "brazil_bank": {
  136.         "available_banks": [
  137.           "test",
  138.           "test2"
  139.         ]
  140.       }
  141.     }
  142.   },
  143.  
  144.   "prices": {
  145.     "url": "http://127.0.0.1:8080",
  146.     "auth_type": "query_token or bearer",
  147.     "token_name": "key (Only if query token)",
  148.     "token": "test_token",
  149.     "endpoints": {
  150.       "many": {
  151.         "path": "/prices",
  152.         "method": "GET",
  153.         "param_name": "market_hash_names",
  154.         "delimiter": "; (optional for GET method)"
  155.       }
  156.     }
  157.   },
  158.   "bots": {
  159.     "default_status_url_path": "/status"
  160.   },
  161.   "auth": {
  162.     "app_url": "http://127.0.0.1:9000",
  163.     "cookie_secret": "12341234123412341234123412341234",
  164.     "session_ttl": 86400000,
  165.     "default_auth_path": "/auth/",
  166.     "default_auth_option": "steam",
  167.     "steam": {
  168.       "api_key": "",
  169.       "realm_url": "http://127.0.0.1:9000/",
  170.       "return_to_url": "http://127.0.0.1:9000/auth/steam/process",
  171.       "secondary_realm_url": null,
  172.       "secondary_return_to_url": null
  173.     }
  174.   }
  175. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement