{"docs":{"name":"QLRace","info":"\n\u003cp\u003eQLRace.com API\u003c/p\u003e\n","copyright":null,"doc_url":"/apidoc/1.0","api_url":"/api","resources":{"Maps":{"doc_url":"/apidoc/1.0/Maps","id":"Maps","api_url":"/api","name":"Maps","short_description":null,"full_description":"","version":"1.0","formats":null,"metadata":null,"methods":[{"doc_url":"/apidoc/1.0/Maps/maps","name":"maps","apis":[{"api_url":"/api/maps","http_method":"GET","short_description":"List of all maps","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eDefault is alphabetical\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003ealphabetical\u003c/code\u003e, \u003ccode\u003erecent\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}],"returns":[],"examples":["GET /api/maps?sort=recent\n200\n{\n  \"maps\": [\n    \"vp-omnimine-s6\",\n    \"vp-omnimine-s5\",\n    \"vp-omnimine-s4\"\n  ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"records":{"doc_url":"/apidoc/1.0/records","id":"records","api_url":"/api","name":"Records","short_description":null,"full_description":"","version":"1.0","formats":null,"metadata":null,"methods":[{"doc_url":"/apidoc/1.0/records/player","name":"player","apis":[{"api_url":"/api/player/:id","http_method":"GET","short_description":"Player records","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eSteamID64\u003c/p\u003e\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"mode","full_name":"mode","description":"\n\u003cp\u003eDefault is 0, overrides weapons and physics params.\u003c/p\u003e\n\n\u003cpre\u003e0: PQL Weapons, 1: PQL Strafe, 2: VQL Weapons, 3: VQL Strafe\u003c/pre\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003e0\u003c/code\u003e, \u003ccode\u003e1\u003c/code\u003e, \u003ccode\u003e2\u003c/code\u003e, \u003ccode\u003e3\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"weapons","full_name":"weapons","description":"\n\u003cp\u003eDefault is true\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"physics","full_name":"physics","description":"\n\u003cp\u003eDefault is turbo, turbo is same as pql, classic is same as vql\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003epql\u003c/code\u003e, \u003ccode\u003eturbo\u003c/code\u003e, \u003ccode\u003evql\u003c/code\u003e, \u003ccode\u003eclassic\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}],"returns":[],"examples":["GET /api/player/76561198421677451?mode=0\n200\n{\n  \"name\": \"KawaiiNeko-x\",\n  \"id\": 76561198421677451,\n  \"average\": 59.0,\n  \"medals\": [\n    0,\n    0,\n    0\n  ],\n  \"records\": [\n    {\n      \"id\": 528705,\n      \"map\": \"kool_mini2\",\n      \"mode\": 0,\n      \"time\": 18704,\n      \"checkpoints\": [\n        7584,\n        12512,\n        14952\n      ],\n      \"speed_start\": 849.0,\n      \"speed_end\": 1945.0,\n      \"speed_top\": 1981.0,\n      \"speed_average\": 1469.0,\n      \"date\": \"2023-03-21T20:47:28.291Z\",\n      \"rank\": 59,\n      \"total_records\": 75\n    }\n  ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/apidoc/1.0/records/map","name":"map","apis":[{"api_url":"/api/map/:map","http_method":"GET","short_description":"Map records","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"map","full_name":"map","description":"\n\u003cp\u003eMap name\u003c/p\u003e\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"mode","full_name":"mode","description":"\n\u003cp\u003eDefault is 0, overrides weapons and physics params.\u003c/p\u003e\n\n\u003cpre\u003e0: PQL Weapons, 1: PQL Strafe, 2: VQL Weapons, 3: VQL Strafe\u003c/pre\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003e0\u003c/code\u003e, \u003ccode\u003e1\u003c/code\u003e, \u003ccode\u003e2\u003c/code\u003e, \u003ccode\u003e3\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"weapons","full_name":"weapons","description":"\n\u003cp\u003eDefault is true\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"physics","full_name":"physics","description":"\n\u003cp\u003eDefault is turbo, turbo is same as pql, classic is same as vql\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: \u003ccode\u003epql\u003c/code\u003e, \u003ccode\u003eturbo\u003c/code\u003e, \u003ccode\u003evql\u003c/code\u003e, \u003ccode\u003eclassic\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"limit","full_name":"limit","description":"\n\u003cp\u003eNumber of records which will be returned\u003c/p\u003e\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}],"returns":[],"examples":["GET /api/map/kool_mini2?mode=1\u0026limit=1\n200\n{\n  \"total_records\": 121,\n  \"records\": [\n    {\n      \"rank\": 1,\n      \"id\": 385329,\n      \"mode\": 1,\n      \"player_id\": 76561198321167723,\n      \"name\": \"t0phunter\",\n      \"time\": 18360,\n      \"checkpoints\": [\n        7272,\n        11896,\n        14600\n      ],\n      \"speed_start\": 547.0,\n      \"speed_end\": 1837.0,\n      \"speed_top\": 1837.0,\n      \"speed_average\": 1341.0,\n      \"date\": \"2020-08-02T15:31:22.409Z\"\n    }\n  ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/apidoc/1.0/records/record","name":"record","apis":[{"api_url":"/api/record/:id","http_method":"GET","short_description":"Record","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eRecord Id\u003c/p\u003e\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false}}}}