crawlora-vlr 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 559a5cc56f47de5d17a60218d0364f28d1d2b33d1b3735a8bfeafde1f2c778d7
4
- data.tar.gz: 35bd29c8fa02abd208ba1db1728539677c850c1e2da7db128a2ab274b8522b30
3
+ metadata.gz: 0cc2ecaece8ffa1f4f62974a2cce1edd074dd2b696e03b599ecc69c0452a5e6b
4
+ data.tar.gz: 74c668b594f53844c2ac8c45c2abc0c1cdb4fa4f523e0b927ce271c3fc84a554
5
5
  SHA512:
6
- metadata.gz: 82dfe151fe74e9fc354c5cafa10803db96ea0294c7219670e85667d29e1176554f51700d8c7c0ce5f6a640649fdd03e338ba7da0171a26518f3f7ce2045776f8
7
- data.tar.gz: faab5953fd375ff7780eae2b0005c5c2208c0f34bc03f80cfc939319e41bf7575a0ca2f921dbfcab34a556217b6fdcb18c1c0d14fc8756e58e52d30532bd9b44
6
+ metadata.gz: 762f01a2a1d65b4ee2427672de58885c4329e296419e1c70ae8fef8c366fabfb2fffe07abd586287fd692e76c6e401cce05ca11f440c41dca130ceea944bf380
7
+ data.tar.gz: bdde049deef804ffbac8259f000dde68fa7ffa694096f0184bda293145c16c4f8f380464ef5e8548bada8f742fe55dd6362ce5441bb537d131452aef3736fc32
data/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0
3
+ ## 0.2.0
4
4
 
5
5
  - Initial focused VLR.gg Ruby client for Crawlora's hosted API.
@@ -19,7 +19,7 @@ module Crawlora
19
19
  end
20
20
 
21
21
  OPERATIONS = JSON.parse(<<~'JSON').freeze
22
- {"vlr-event": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}], "path": "/vlr/event", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-event-agents": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event-agents", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}], "path": "/vlr/event-agents", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-event-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event-matches", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}, {"description": "Stage id from the stages list of an earlier response (a week, group or bracket round); omit for every stage", "in": "query", "name": "series_id", "type": "string", "x-example": "6080"}, {"description": "Match group; one of completed, upcoming; omit for both", "enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "path": "/vlr/event-matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"in": "query", "name": "series_id", "type": "string"}, {"enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-event-stats": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event-stats", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}, {"description": "Side; one of all, t, ct; defaults to all", "enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"description": "Comma-separated agent roles; any of controller, initiator, sentinel, duelist", "in": "query", "name": "role", "type": "string", "x-example": "duelist"}, {"description": "Comma-separated agents, for example jett,sage; the same 29 agents as vlr-stats", "in": "query", "name": "agent", "type": "string", "x-example": "jett"}, {"description": "Comma-separated map names, for example ascent,bind; the same 13 maps as vlr-stats", "in": "query", "name": "map", "type": "string", "x-example": "ascent"}, {"description": "Comma-separated stage ids from the stages list of vlr-event-matches", "in": "query", "name": "stage", "type": "string", "x-example": "6080"}, {"description": "Minimum rounds played; 0 to 100000", "in": "query", "maximum": 100000, "minimum": 0, "name": "min_rounds", "type": "integer"}, {"description": "Sort column, the same set as vlr-stats; defaults to rating", "in": "query", "name": "sort", "type": "string"}, {"description": "Sort direction; one of desc, asc; defaults to desc", "enum": ["desc", "asc"], "in": "query", "name": "dir", "type": "string"}], "path": "/vlr/event-stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "agent", "type": "string"}, {"in": "query", "name": "map", "type": "string"}, {"in": "query", "name": "stage", "type": "string"}, {"in": "query", "name": "min_rounds", "type": "integer"}, {"in": "query", "name": "sort", "type": "string"}, {"enum": ["desc", "asc"], "in": "query", "name": "dir", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-events": {"bodyParam": null, "bodyRequired": false, "id": "vlr-events", "method": "GET", "params": [{"description": "Event tier; one of all, vct, vcl, t3, gc, cg, off; defaults to all", "enum": ["all", "vct", "vcl", "t3", "gc", "cg", "off"], "in": "query", "name": "tier", "type": "string"}, {"description": "Event region; one of all, americas, emea, pacific, china; defaults to all", "enum": ["all", "americas", "emea", "pacific", "china"], "in": "query", "name": "region", "type": "string"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/events", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["all", "vct", "vcl", "t3", "gc", "cg", "off"], "in": "query", "name": "tier", "type": "string"}, {"enum": ["all", "americas", "emea", "pacific", "china"], "in": "query", "name": "region", "type": "string"}, {"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-forum-categories": {"bodyParam": null, "bodyRequired": false, "id": "vlr-forum-categories", "method": "GET", "params": [], "path": "/vlr/forum-categories", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "vlr-forum-threads": {"bodyParam": null, "bodyRequired": false, "id": "vlr-forum-threads", "method": "GET", "params": [{"description": "Forum category; one of valorant-discussion, off-topic, site-feedback; omit for the combined list", "enum": ["valorant-discussion", "off-topic", "site-feedback"], "in": "query", "name": "category", "type": "string"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}, {"description": "Order; one of hot, new, top; omit for the site default (recent activity)", "enum": ["hot", "new", "top"], "in": "query", "name": "sort", "type": "string"}], "path": "/vlr/forum-threads", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["valorant-discussion", "off-topic", "site-feedback"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"enum": ["hot", "new", "top"], "in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "777956"}], "path": "/vlr/match", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match-economy": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match-economy", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "754737"}], "path": "/vlr/match-economy", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match-performance": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match-performance", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "754737"}], "path": "/vlr/match-performance", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match-rounds": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match-rounds", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "754737"}], "path": "/vlr/match-rounds", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-matches", "method": "GET", "params": [{"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-news": {"bodyParam": null, "bodyRequired": false, "id": "vlr-news", "method": "GET", "params": [{"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/news", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-news-article": {"bodyParam": null, "bodyRequired": false, "id": "vlr-news-article", "method": "GET", "params": [{"description": "Numeric VLR news article id from vlr-news", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "781119"}], "path": "/vlr/news-article", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-player": {"bodyParam": null, "bodyRequired": false, "id": "vlr-player", "method": "GET", "params": [{"description": "Numeric VLR player id from vlr-team or vlr-stats", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "9780"}, {"description": "Window of the agent statistics; one of all, 30d, 60d, 90d; omit for the site default", "enum": ["all", "30d", "60d", "90d"], "in": "query", "name": "timespan", "type": "string"}], "path": "/vlr/player", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"enum": ["all", "30d", "60d", "90d"], "in": "query", "name": "timespan", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-player-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-player-matches", "method": "GET", "params": [{"description": "Numeric VLR player id from vlr-team or vlr-stats", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "9780"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/player-matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-rankings": {"bodyParam": null, "bodyRequired": false, "id": "vlr-rankings", "method": "GET", "params": [{"description": "Ranking region; one of north-america, europe, brazil, asia-pacific, korea, china, japan, la-s, la-n, oceania, mena, gc, collegiate; defaults to north-america", "enum": ["north-america", "europe", "brazil", "asia-pacific", "korea", "china", "japan", "la-s", "la-n", "oceania", "mena", "gc", "collegiate"], "in": "query", "name": "region", "type": "string"}, {"description": "Number of top teams to return, 1 to 250; defaults to 50", "in": "query", "maximum": 250, "minimum": 1, "name": "limit", "type": "integer"}], "path": "/vlr/rankings", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["north-america", "europe", "brazil", "asia-pacific", "korea", "china", "japan", "la-s", "la-n", "oceania", "mena", "gc", "collegiate"], "in": "query", "name": "region", "type": "string"}, {"in": "query", "name": "limit", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-results": {"bodyParam": null, "bodyRequired": false, "id": "vlr-results", "method": "GET", "params": [{"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/results", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-search": {"bodyParam": null, "bodyRequired": false, "id": "vlr-search", "method": "GET", "params": [{"description": "Search text, 1 to 100 characters", "in": "query", "name": "q", "required": true, "type": "string", "x-example": "sentinels"}, {"description": "Result group; one of all, teams, events, players; defaults to all", "enum": ["all", "teams", "events", "players"], "in": "query", "name": "type", "type": "string"}], "path": "/vlr/search", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "q", "required": true, "type": "string"}, {"enum": ["all", "teams", "events", "players"], "in": "query", "name": "type", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-stats": {"bodyParam": null, "bodyRequired": false, "id": "vlr-stats", "method": "GET", "params": [{"description": "Comma-separated tiers from vct, vcl, t3, gc, cg, off; site default vct", "in": "query", "name": "tier", "type": "string"}, {"description": "Comma-separated regions from americas, emea, pacific, china, intl", "in": "query", "name": "region", "type": "string"}, {"description": "Timespan; one of all, 30d, 60d, 90d, 2026, 2025, 2024, 2023, 2022, 2021, 2020; site default 60d", "enum": ["all", "30d", "60d", "90d", "2026", "2025", "2024", "2023", "2022", "2021", "2020"], "in": "query", "name": "timespan", "type": "string"}, {"description": "Side; one of all, t, ct", "enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"description": "Comma-separated roles from controller, initiator, sentinel, duelist", "in": "query", "name": "role", "type": "string"}, {"description": "Comma-separated agents from astra, brimstone, clove, harbor, miks, omen, viper, breach, fade, gekko, kayo, skye, sova, tejo, chamber, cypher, deadlock, killjoy, sage, veto, vyse, iso, jett, neon, phoenix, raze, reyna, waylay, yoru", "in": "query", "name": "agent", "type": "string"}, {"description": "Comma-separated maps from abyss, bind, corrode, haven, lotus, summit, sunset, ascent, breeze, fracture, icebox, pearl, split", "in": "query", "name": "map", "type": "string"}, {"description": "Minimum rounds played; site default 100", "in": "query", "minimum": 0, "name": "min_rounds", "type": "integer"}, {"description": "First day of a custom date range, YYYY-MM-DD (UTC); requires to and replaces timespan", "in": "query", "name": "from", "type": "string", "x-example": "2026-09-01"}, {"description": "Last day of a custom date range, YYYY-MM-DD (UTC); requires from and replaces timespan", "in": "query", "name": "to", "type": "string", "x-example": "2026-10-01"}, {"description": "Minimum player rating; one of 0, 1300, 1400, 1500, 1550, 1650, 1750, 1850", "enum": [0, 1300, 1400, 1500, 1550, 1650, 1750, 1850], "in": "query", "name": "min_rating", "type": "integer"}, {"description": "Sort column; one of rating, maps, rnd, acs, kd, kast, adr, kpr, apr, fkfd, fkpr, fdpr, hsp, clp, cl, kmax, k, d, a, fk, fd; defaults to rating", "enum": ["rating", "maps", "rnd", "acs", "kd", "kast", "adr", "kpr", "apr", "fkfd", "fkpr", "fdpr", "hsp", "clp", "cl", "kmax", "k", "d", "a", "fk", "fd"], "in": "query", "name": "sort", "type": "string"}, {"description": "Sort direction; one of asc, desc; defaults to desc", "enum": ["asc", "desc"], "in": "query", "name": "dir", "type": "string"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tier", "type": "string"}, {"in": "query", "name": "region", "type": "string"}, {"enum": ["all", "30d", "60d", "90d", "2026", "2025", "2024", "2023", "2022", "2021", "2020"], "in": "query", "name": "timespan", "type": "string"}, {"enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "agent", "type": "string"}, {"in": "query", "name": "map", "type": "string"}, {"in": "query", "name": "min_rounds", "type": "integer"}, {"in": "query", "name": "from", "type": "string"}, {"in": "query", "name": "to", "type": "string"}, {"enum": ["0", "1300", "1400", "1500", "1550", "1650", "1750", "1850"], "in": "query", "name": "min_rating", "type": "integer"}, {"enum": ["rating", "maps", "rnd", "acs", "kd", "kast", "adr", "kpr", "apr", "fkfd", "fkpr", "fdpr", "hsp", "clp", "cl", "kmax", "k", "d", "a", "fk", "fd"], "in": "query", "name": "sort", "type": "string"}, {"enum": ["asc", "desc"], "in": "query", "name": "dir", "type": "string"}, {"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-team": {"bodyParam": null, "bodyRequired": false, "id": "vlr-team", "method": "GET", "params": [{"description": "Numeric VLR team id from vlr-rankings, vlr-event or vlr-match", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "2059"}], "path": "/vlr/team", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-team-maps": {"bodyParam": null, "bodyRequired": false, "id": "vlr-team-maps", "method": "GET", "params": [{"description": "Numeric VLR team id from vlr-rankings, vlr-event or vlr-match", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "2059"}], "path": "/vlr/team-maps", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-team-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-team-matches", "method": "GET", "params": [{"description": "Numeric VLR team id from vlr-rankings, vlr-event or vlr-match", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "2059"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}, {"description": "Match group; one of completed (default), upcoming", "enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "path": "/vlr/team-matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "security": ["ApiKeyAuth"]}}
22
+ {"vlr-event": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}], "path": "/vlr/event", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-event-agents": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event-agents", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}], "path": "/vlr/event-agents", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-event-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event-matches", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}, {"description": "Stage id from the stages list of an earlier response (a week, group or bracket round); omit for every stage", "in": "query", "name": "series_id", "type": "string", "x-example": "6080"}, {"description": "Match group; one of completed, upcoming; omit for both", "enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "path": "/vlr/event-matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"in": "query", "name": "series_id", "type": "string"}, {"enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-event-stats": {"bodyParam": null, "bodyRequired": false, "id": "vlr-event-stats", "method": "GET", "params": [{"description": "Numeric VLR event id from vlr-events", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "3166"}, {"description": "Side; one of all, t, ct; defaults to all", "enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"description": "Comma-separated agent roles; any of controller, initiator, sentinel, duelist", "in": "query", "name": "role", "type": "string", "x-example": "duelist"}, {"description": "Comma-separated agents, for example jett,sage; the same 29 agents as vlr-stats", "in": "query", "name": "agent", "type": "string", "x-example": "jett"}, {"description": "Comma-separated map names, for example ascent,bind; the same 13 maps as vlr-stats", "in": "query", "name": "map", "type": "string", "x-example": "ascent"}, {"description": "Comma-separated stage ids from the stages list of vlr-event-matches", "in": "query", "name": "stage", "type": "string", "x-example": "6080"}, {"description": "Minimum rounds played; 0 to 100000", "in": "query", "maximum": 100000, "minimum": 0, "name": "min_rounds", "type": "integer"}, {"description": "Sort column, the same set as vlr-stats; defaults to rating", "in": "query", "name": "sort", "type": "string"}, {"description": "Sort direction; one of desc, asc; defaults to desc", "enum": ["desc", "asc"], "in": "query", "name": "dir", "type": "string"}], "path": "/vlr/event-stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "agent", "type": "string"}, {"in": "query", "name": "map", "type": "string"}, {"in": "query", "name": "stage", "type": "string"}, {"in": "query", "name": "min_rounds", "type": "integer"}, {"in": "query", "name": "sort", "type": "string"}, {"enum": ["desc", "asc"], "in": "query", "name": "dir", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-events": {"bodyParam": null, "bodyRequired": false, "id": "vlr-events", "method": "GET", "params": [{"description": "Event tier; one of all, vct, vcl, t3, gc, cg, off; defaults to all", "enum": ["all", "vct", "vcl", "t3", "gc", "cg", "off"], "in": "query", "name": "tier", "type": "string"}, {"description": "Event region; one of all, americas, emea, pacific, china; defaults to all", "enum": ["all", "americas", "emea", "pacific", "china"], "in": "query", "name": "region", "type": "string"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/events", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["all", "vct", "vcl", "t3", "gc", "cg", "off"], "in": "query", "name": "tier", "type": "string"}, {"enum": ["all", "americas", "emea", "pacific", "china"], "in": "query", "name": "region", "type": "string"}, {"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-forum-categories": {"bodyParam": null, "bodyRequired": false, "id": "vlr-forum-categories", "method": "GET", "params": [], "path": "/vlr/forum-categories", "pathParams": [], "produces": ["application/json"], "queryParams": [], "security": ["ApiKeyAuth"]}, "vlr-forum-threads": {"bodyParam": null, "bodyRequired": false, "id": "vlr-forum-threads", "method": "GET", "params": [{"description": "Forum category; one of valorant-discussion, off-topic, site-feedback; omit for the combined list", "enum": ["valorant-discussion", "off-topic", "site-feedback"], "in": "query", "name": "category", "type": "string"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}, {"description": "Order; one of hot, new, top; omit for the site default (recent activity)", "enum": ["hot", "new", "top"], "in": "query", "name": "sort", "type": "string"}], "path": "/vlr/forum-threads", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["valorant-discussion", "off-topic", "site-feedback"], "in": "query", "name": "category", "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"enum": ["hot", "new", "top"], "in": "query", "name": "sort", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "777956"}], "path": "/vlr/match", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match-economy": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match-economy", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "754737"}], "path": "/vlr/match-economy", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match-performance": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match-performance", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "754737"}], "path": "/vlr/match-performance", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-match-rounds": {"bodyParam": null, "bodyRequired": false, "id": "vlr-match-rounds", "method": "GET", "params": [{"description": "Numeric VLR match id from vlr-matches, vlr-results or vlr-event-matches", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "754737"}], "path": "/vlr/match-rounds", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-matches", "method": "GET", "params": [{"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-news": {"bodyParam": null, "bodyRequired": false, "id": "vlr-news", "method": "GET", "params": [{"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/news", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-news-article": {"bodyParam": null, "bodyRequired": false, "id": "vlr-news-article", "method": "GET", "params": [{"description": "Numeric VLR news article id from vlr-news", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "781119"}], "path": "/vlr/news-article", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-player": {"bodyParam": null, "bodyRequired": false, "id": "vlr-player", "method": "GET", "params": [{"description": "Numeric VLR player id from vlr-team or vlr-stats", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "9780"}, {"description": "Window of the agent statistics; one of all, 30d, 60d, 90d; omit for the site default", "enum": ["all", "30d", "60d", "90d"], "in": "query", "name": "timespan", "type": "string"}], "path": "/vlr/player", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"enum": ["all", "30d", "60d", "90d"], "in": "query", "name": "timespan", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-player-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-player-matches", "method": "GET", "params": [{"description": "Numeric VLR player id from vlr-team or vlr-stats", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "9780"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/player-matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-rankings": {"bodyParam": null, "bodyRequired": false, "id": "vlr-rankings", "method": "GET", "params": [{"description": "Ranking region; one of north-america, europe, brazil, asia-pacific, korea, china, japan, la-s, la-n, oceania, mena, gc, collegiate; defaults to north-america", "enum": ["north-america", "europe", "brazil", "asia-pacific", "korea", "china", "japan", "la-s", "la-n", "oceania", "mena", "gc", "collegiate"], "in": "query", "name": "region", "type": "string"}, {"description": "Number of top teams to return, 1 to 250; defaults to 50", "in": "query", "maximum": 250, "minimum": 1, "name": "limit", "type": "integer"}], "path": "/vlr/rankings", "pathParams": [], "produces": ["application/json"], "queryParams": [{"enum": ["north-america", "europe", "brazil", "asia-pacific", "korea", "china", "japan", "la-s", "la-n", "oceania", "mena", "gc", "collegiate"], "in": "query", "name": "region", "type": "string"}, {"in": "query", "name": "limit", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-results": {"bodyParam": null, "bodyRequired": false, "id": "vlr-results", "method": "GET", "params": [{"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/results", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-search": {"bodyParam": null, "bodyRequired": false, "id": "vlr-search", "method": "GET", "params": [{"description": "Search text, 1 to 100 characters", "in": "query", "name": "q", "required": true, "type": "string", "x-example": "sentinels"}, {"description": "Result group; one of all, teams, events, players; defaults to all", "enum": ["all", "teams", "events", "players"], "in": "query", "name": "type", "type": "string"}], "path": "/vlr/search", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "q", "required": true, "type": "string"}, {"enum": ["all", "teams", "events", "players"], "in": "query", "name": "type", "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-stats": {"bodyParam": null, "bodyRequired": false, "id": "vlr-stats", "method": "GET", "params": [{"description": "Comma-separated tiers from vct, vcl, t3, gc, cg, off; site default vct", "in": "query", "name": "tier", "type": "string"}, {"description": "Comma-separated regions from americas, emea, pacific, china, intl", "in": "query", "name": "region", "type": "string"}, {"description": "Timespan; one of all, 30d, 60d, 90d or a four-digit season year from 2020 up to the current year (2020, 2021, 2022, 2023, 2024, 2025, 2026 today; a new year is accepted when it starts); site default 60d", "in": "query", "name": "timespan", "type": "string"}, {"description": "Side; one of all, t, ct", "enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"description": "Comma-separated roles from controller, initiator, sentinel, duelist", "in": "query", "name": "role", "type": "string"}, {"description": "Comma-separated agents from astra, brimstone, clove, harbor, miks, omen, viper, breach, fade, gekko, kayo, skye, sova, tejo, chamber, cypher, deadlock, killjoy, sage, veto, vyse, iso, jett, neon, phoenix, raze, reyna, waylay, yoru", "in": "query", "name": "agent", "type": "string"}, {"description": "Comma-separated maps from abyss, bind, corrode, haven, lotus, summit, sunset, ascent, breeze, fracture, icebox, pearl, split", "in": "query", "name": "map", "type": "string"}, {"description": "Minimum rounds played; site default 100", "in": "query", "minimum": 0, "name": "min_rounds", "type": "integer"}, {"description": "First day of a custom date range, YYYY-MM-DD (UTC); requires to and replaces timespan", "in": "query", "name": "from", "type": "string", "x-example": "2026-09-01"}, {"description": "Last day of a custom date range, YYYY-MM-DD (UTC); requires from and replaces timespan", "in": "query", "name": "to", "type": "string", "x-example": "2026-10-01"}, {"description": "Minimum player rating; one of 0, 1300, 1400, 1500, 1550, 1650, 1750, 1850", "enum": [0, 1300, 1400, 1500, 1550, 1650, 1750, 1850], "in": "query", "name": "min_rating", "type": "integer"}, {"description": "Sort column; one of rating, maps, rnd, acs, kd, kast, adr, kpr, apr, fkfd, fkpr, fdpr, hsp, clp, cl, kmax, k, d, a, fk, fd; defaults to rating", "enum": ["rating", "maps", "rnd", "acs", "kd", "kast", "adr", "kpr", "apr", "fkfd", "fkpr", "fdpr", "hsp", "clp", "cl", "kmax", "k", "d", "a", "fk", "fd"], "in": "query", "name": "sort", "type": "string"}, {"description": "Sort direction; one of asc, desc; defaults to desc", "enum": ["asc", "desc"], "in": "query", "name": "dir", "type": "string"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}], "path": "/vlr/stats", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "tier", "type": "string"}, {"in": "query", "name": "region", "type": "string"}, {"in": "query", "name": "timespan", "type": "string"}, {"enum": ["all", "t", "ct"], "in": "query", "name": "side", "type": "string"}, {"in": "query", "name": "role", "type": "string"}, {"in": "query", "name": "agent", "type": "string"}, {"in": "query", "name": "map", "type": "string"}, {"in": "query", "name": "min_rounds", "type": "integer"}, {"in": "query", "name": "from", "type": "string"}, {"in": "query", "name": "to", "type": "string"}, {"enum": ["0", "1300", "1400", "1500", "1550", "1650", "1750", "1850"], "in": "query", "name": "min_rating", "type": "integer"}, {"enum": ["rating", "maps", "rnd", "acs", "kd", "kast", "adr", "kpr", "apr", "fkfd", "fkpr", "fdpr", "hsp", "clp", "cl", "kmax", "k", "d", "a", "fk", "fd"], "in": "query", "name": "sort", "type": "string"}, {"enum": ["asc", "desc"], "in": "query", "name": "dir", "type": "string"}, {"in": "query", "name": "page", "type": "integer"}], "security": ["ApiKeyAuth"]}, "vlr-team": {"bodyParam": null, "bodyRequired": false, "id": "vlr-team", "method": "GET", "params": [{"description": "Numeric VLR team id from vlr-rankings, vlr-event or vlr-match", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "2059"}], "path": "/vlr/team", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-team-maps": {"bodyParam": null, "bodyRequired": false, "id": "vlr-team-maps", "method": "GET", "params": [{"description": "Numeric VLR team id from vlr-rankings, vlr-event or vlr-match", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "2059"}], "path": "/vlr/team-maps", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}], "security": ["ApiKeyAuth"]}, "vlr-team-matches": {"bodyParam": null, "bodyRequired": false, "id": "vlr-team-matches", "method": "GET", "params": [{"description": "Numeric VLR team id from vlr-rankings, vlr-event or vlr-match", "in": "query", "name": "id", "required": true, "type": "string", "x-example": "2059"}, {"description": "1-based page number; defaults to 1", "in": "query", "maximum": 500, "minimum": 1, "name": "page", "type": "integer"}, {"description": "Match group; one of completed (default), upcoming", "enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "path": "/vlr/team-matches", "pathParams": [], "produces": ["application/json"], "queryParams": [{"in": "query", "name": "id", "required": true, "type": "string"}, {"in": "query", "name": "page", "type": "integer"}, {"enum": ["completed", "upcoming"], "in": "query", "name": "group", "type": "string"}], "security": ["ApiKeyAuth"]}}
23
23
  JSON
24
24
  OPERATION_IDS = JSON.parse(<<~'JSON').freeze
25
25
  ["vlr-event", "vlr-event-agents", "vlr-event-matches", "vlr-event-stats", "vlr-events", "vlr-forum-categories", "vlr-forum-threads", "vlr-match", "vlr-match-economy", "vlr-match-performance", "vlr-match-rounds", "vlr-matches", "vlr-news", "vlr-news-article", "vlr-player", "vlr-player-matches", "vlr-rankings", "vlr-results", "vlr-search", "vlr-stats", "vlr-team", "vlr-team-maps", "vlr-team-matches"]
@@ -29,7 +29,7 @@ module Crawlora
29
29
  class Client
30
30
  attr_reader :base_url
31
31
 
32
- def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-vlr-ruby/0.1.0", transport: nil)
32
+ def initialize(api_key: ENV["CRAWLORA_API_KEY"], base_url: "https://api.crawlora.net/api/v1", timeout: 30, user_agent: "crawlora-vlr-ruby/0.2.0", transport: nil)
33
33
  @api_key = api_key
34
34
  @base_url = base_url.to_s.sub(%r{/+$}, "")
35
35
  @timeout = Float(timeout)
@@ -1,5 +1,5 @@
1
1
  module Crawlora
2
2
  module Vlr
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawlora-vlr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Crawlora
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-04 00:00:00.000000000 Z
11
+ date: 2026-11-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby client for Crawlora's hosted VLR.gg API. Covers Valorant matches,
14
14
  events, results, rankings, statistics, news, and forum data across 23 endpoints.