diff --git a/.scribe/.filehashes b/.scribe/.filehashes index 1284472..0ecbdee 100644 --- a/.scribe/.filehashes +++ b/.scribe/.filehashes @@ -1,4 +1,4 @@ # GENERATED. YOU SHOULDN'T MODIFY OR DELETE THIS FILE. # Scribe uses this file to know when you change something manually in your docs. -.scribe/intro.md=4bf90470e636417926ae5d9227747d45 -.scribe/auth.md=9bee2b1ef8a238b2e58613fa636d5f39 \ No newline at end of file +.scribe/intro.md=dbddc2eb30e9b0489e068210bcae61f6 +.scribe/auth.md=8bb19ce54cd9ee69ae447231bc375761 \ No newline at end of file diff --git a/.scribe/auth.md b/.scribe/auth.md index 8290362..b37ab72 100644 --- a/.scribe/auth.md +++ b/.scribe/auth.md @@ -1,3 +1,7 @@ # Authenticating requests -This API is not authenticated. +To authenticate requests, include an **`Authorization`** header with the value **`"Bearer {YOUR_JWT_TOKEN}"`**. + +All authenticated endpoints are marked with a `requires authentication` badge in the documentation below. + +Use um token JWT RS256 emitido pelo serviço de autenticação integrado ao GameVerse. diff --git a/.scribe/endpoints.cache/00.yaml b/.scribe/endpoints.cache/00.yaml index a4f1567..2aa991a 100644 --- a/.scribe/endpoints.cache/00.yaml +++ b/.scribe/endpoints.cache/00.yaml @@ -14,13 +14,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Top semanal - * Retorna o ranking dos jogos com melhor desempenho na última semana. - description: '' - authenticated: false + title: 'Top semanal' + description: 'Retorna o ranking dos jogos com melhor desempenho na última semana.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: [] @@ -34,16 +33,19 @@ endpoints: - custom: [] status: 200 - content: '[{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":933732,"weekly_points":857,"monthly_points":4936,"yearly_points":44623,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":418738,"weekly_points":813,"monthly_points":6995,"yearly_points":22527,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":94038,"weekly_points":682,"monthly_points":5436,"yearly_points":54743,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":139569,"weekly_points":636,"monthly_points":8679,"yearly_points":12637,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1682586,"weekly_points":587,"monthly_points":1858,"yearly_points":56745,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":243114,"weekly_points":877,"monthly_points":2426,"yearly_points":36655,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1166370,"weekly_points":786,"monthly_points":4506,"yearly_points":21445,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":991415,"weekly_points":770,"monthly_points":2080,"yearly_points":22209,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":217823,"weekly_points":617,"monthly_points":5232,"yearly_points":24531,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '49' + x-ratelimit-remaining: '59' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -58,13 +60,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Top mensal - * Retorna o ranking dos jogos com melhor desempenho no último mês. - description: '' - authenticated: false + title: 'Top mensal' + description: 'Retorna o ranking dos jogos com melhor desempenho no último mês.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: [] @@ -78,16 +79,19 @@ endpoints: - custom: [] status: 200 - content: '[{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":139569,"weekly_points":636,"monthly_points":8679,"yearly_points":12637,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":558948,"weekly_points":219,"monthly_points":8214,"yearly_points":80587,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":418738,"weekly_points":813,"monthly_points":6995,"yearly_points":22527,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":94038,"weekly_points":682,"monthly_points":5436,"yearly_points":54743,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":564671,"weekly_points":554,"monthly_points":5004,"yearly_points":60724,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":242066,"weekly_points":184,"monthly_points":9278,"yearly_points":33053,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":1091171,"weekly_points":611,"monthly_points":5678,"yearly_points":96832,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":217823,"weekly_points":617,"monthly_points":5232,"yearly_points":24531,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1166370,"weekly_points":786,"monthly_points":4506,"yearly_points":21445,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '48' + x-ratelimit-remaining: '58' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -102,13 +106,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Top anual - * Retorna o ranking dos jogos com melhor desempenho no último ano. - description: '' - authenticated: false + title: 'Top anual' + description: 'Retorna o ranking dos jogos com melhor desempenho no último ano.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: [] @@ -122,16 +125,19 @@ endpoints: - custom: [] status: 200 - content: '[{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":1153799,"weekly_points":155,"monthly_points":2662,"yearly_points":99544,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":558948,"weekly_points":219,"monthly_points":8214,"yearly_points":80587,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":847989,"weekly_points":198,"monthly_points":1404,"yearly_points":66933,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":564671,"weekly_points":554,"monthly_points":5004,"yearly_points":60724,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1682586,"weekly_points":587,"monthly_points":1858,"yearly_points":56745,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1700019,"weekly_points":221,"monthly_points":2723,"yearly_points":56740,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":1091171,"weekly_points":611,"monthly_points":5678,"yearly_points":96832,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":262363,"weekly_points":199,"monthly_points":2257,"yearly_points":62350,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":821498,"weekly_points":241,"monthly_points":1030,"yearly_points":57266,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":243114,"weekly_points":877,"monthly_points":2426,"yearly_points":36655,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '47' + x-ratelimit-remaining: '57' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -146,13 +152,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Histórico de ranking - * Retorna a evolução de um jogo específico ao longo do tempo. - description: '' - authenticated: false + title: 'Histórico de ranking' + description: 'Retorna a evolução de um jogo específico ao longo do tempo.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: @@ -178,60 +183,19 @@ endpoints: - custom: [] status: 200 - content: '{"game":"Counter-Strike 2","history":[{"period":"Semana 1","points":554},{"period":"M\u00eas Atual","points":5004},{"period":"Ano Atual","points":60724}]}' + content: '{"game":"Counter-Strike 2","history":[{"period":"Semana 1","points":729},{"period":"M\u00eas Atual","points":1215},{"period":"Ano Atual","points":71182}]}' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '46' + x-ratelimit-remaining: '56' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] - controller: null - method: null - route: null - - - custom: [] - httpMethods: - - GET - uri: api/v1/games/most-played - metadata: - custom: [] - groupName: Rankings - groupDescription: '' - subgroup: '' - subgroupDescription: '' - title: |- - Jogos mais jogados - * Retorna o top 10 jogos com base no número de jogadores ativos. - description: '' - authenticated: false - deprecated: false - headers: - Content-Type: application/json - Accept: application/json - urlParameters: [] - cleanUrlParameters: [] - queryParameters: [] - cleanQueryParameters: [] - bodyParameters: [] - cleanBodyParameters: [] - fileParameters: [] - responses: - - - custom: [] - status: 200 - content: '[{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1700019,"weekly_points":221,"monthly_points":2723,"yearly_points":56740,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1682586,"weekly_points":587,"monthly_points":1858,"yearly_points":56745,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":1153799,"weekly_points":155,"monthly_points":2662,"yearly_points":99544,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":933732,"weekly_points":857,"monthly_points":4936,"yearly_points":44623,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":847989,"weekly_points":198,"monthly_points":1404,"yearly_points":66933,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' - headers: - cache-control: 'no-cache, private' - content-type: application/json - x-ratelimit-limit: '60' - x-ratelimit-remaining: '45' - access-control-allow-origin: '*' - description: null - responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -246,13 +210,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Ranking por Plataforma - * Retorna os jogos mais bem ranqueados de uma plataforma específica. - description: '' - authenticated: false + title: 'Ranking por Plataforma' + description: 'Retorna os jogos mais bem ranqueados de uma plataforma específica.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: @@ -278,16 +241,65 @@ endpoints: - custom: [] status: 200 - content: '[{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1700019,"weekly_points":221,"monthly_points":2723,"yearly_points":56740,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":847989,"weekly_points":198,"monthly_points":1404,"yearly_points":66933,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":564671,"weekly_points":554,"monthly_points":5004,"yearly_points":60724,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":558948,"weekly_points":219,"monthly_points":8214,"yearly_points":80587,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":94038,"weekly_points":682,"monthly_points":5436,"yearly_points":54743,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":262363,"weekly_points":199,"monthly_points":2257,"yearly_points":62350,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":217823,"weekly_points":617,"monthly_points":5232,"yearly_points":24531,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '44' + x-ratelimit-remaining: '55' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' + controller: null + method: null + route: null + - + custom: [] + httpMethods: + - GET + uri: api/v1/games/most-played + metadata: + custom: [] + groupName: Rankings + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: 'Jogos mais jogados' + description: 'Retorna o top 10 jogos com base no número de jogadores ativos.' + authenticated: true + deprecated: false + headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' + Content-Type: application/json + Accept: application/json + urlParameters: [] + cleanUrlParameters: [] + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: [] + cleanBodyParameters: [] + fileParameters: [] + responses: + - + custom: [] + status: 200 + content: '[{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1166370,"weekly_points":786,"monthly_points":4506,"yearly_points":21445,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":1091171,"weekly_points":611,"monthly_points":5678,"yearly_points":96832,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":991415,"weekly_points":770,"monthly_points":2080,"yearly_points":22209,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":821498,"weekly_points":241,"monthly_points":1030,"yearly_points":57266,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' + headers: + cache-control: 'no-cache, private' + content-type: application/json + x-ratelimit-limit: '60' + x-ratelimit-remaining: '54' + access-control-allow-origin: '*' + description: null + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null diff --git a/.scribe/endpoints/00.yaml b/.scribe/endpoints/00.yaml index 76ded20..615cb59 100644 --- a/.scribe/endpoints/00.yaml +++ b/.scribe/endpoints/00.yaml @@ -12,13 +12,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Top semanal - * Retorna o ranking dos jogos com melhor desempenho na última semana. - description: '' - authenticated: false + title: 'Top semanal' + description: 'Retorna o ranking dos jogos com melhor desempenho na última semana.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: [] @@ -32,16 +31,19 @@ endpoints: - custom: [] status: 200 - content: '[{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":933732,"weekly_points":857,"monthly_points":4936,"yearly_points":44623,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":418738,"weekly_points":813,"monthly_points":6995,"yearly_points":22527,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":94038,"weekly_points":682,"monthly_points":5436,"yearly_points":54743,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":139569,"weekly_points":636,"monthly_points":8679,"yearly_points":12637,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1682586,"weekly_points":587,"monthly_points":1858,"yearly_points":56745,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":243114,"weekly_points":877,"monthly_points":2426,"yearly_points":36655,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1166370,"weekly_points":786,"monthly_points":4506,"yearly_points":21445,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":991415,"weekly_points":770,"monthly_points":2080,"yearly_points":22209,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":217823,"weekly_points":617,"monthly_points":5232,"yearly_points":24531,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '49' + x-ratelimit-remaining: '59' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -56,13 +58,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Top mensal - * Retorna o ranking dos jogos com melhor desempenho no último mês. - description: '' - authenticated: false + title: 'Top mensal' + description: 'Retorna o ranking dos jogos com melhor desempenho no último mês.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: [] @@ -76,16 +77,19 @@ endpoints: - custom: [] status: 200 - content: '[{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":139569,"weekly_points":636,"monthly_points":8679,"yearly_points":12637,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":558948,"weekly_points":219,"monthly_points":8214,"yearly_points":80587,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":418738,"weekly_points":813,"monthly_points":6995,"yearly_points":22527,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":94038,"weekly_points":682,"monthly_points":5436,"yearly_points":54743,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":564671,"weekly_points":554,"monthly_points":5004,"yearly_points":60724,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":242066,"weekly_points":184,"monthly_points":9278,"yearly_points":33053,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":1091171,"weekly_points":611,"monthly_points":5678,"yearly_points":96832,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":217823,"weekly_points":617,"monthly_points":5232,"yearly_points":24531,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1166370,"weekly_points":786,"monthly_points":4506,"yearly_points":21445,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '48' + x-ratelimit-remaining: '58' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -100,13 +104,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Top anual - * Retorna o ranking dos jogos com melhor desempenho no último ano. - description: '' - authenticated: false + title: 'Top anual' + description: 'Retorna o ranking dos jogos com melhor desempenho no último ano.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: [] @@ -120,16 +123,19 @@ endpoints: - custom: [] status: 200 - content: '[{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":1153799,"weekly_points":155,"monthly_points":2662,"yearly_points":99544,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":558948,"weekly_points":219,"monthly_points":8214,"yearly_points":80587,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":847989,"weekly_points":198,"monthly_points":1404,"yearly_points":66933,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":564671,"weekly_points":554,"monthly_points":5004,"yearly_points":60724,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1682586,"weekly_points":587,"monthly_points":1858,"yearly_points":56745,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1700019,"weekly_points":221,"monthly_points":2723,"yearly_points":56740,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":1091171,"weekly_points":611,"monthly_points":5678,"yearly_points":96832,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":262363,"weekly_points":199,"monthly_points":2257,"yearly_points":62350,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":821498,"weekly_points":241,"monthly_points":1030,"yearly_points":57266,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":243114,"weekly_points":877,"monthly_points":2426,"yearly_points":36655,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '47' + x-ratelimit-remaining: '57' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -144,13 +150,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Histórico de ranking - * Retorna a evolução de um jogo específico ao longo do tempo. - description: '' - authenticated: false + title: 'Histórico de ranking' + description: 'Retorna a evolução de um jogo específico ao longo do tempo.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: @@ -176,60 +181,19 @@ endpoints: - custom: [] status: 200 - content: '{"game":"Counter-Strike 2","history":[{"period":"Semana 1","points":554},{"period":"M\u00eas Atual","points":5004},{"period":"Ano Atual","points":60724}]}' + content: '{"game":"Counter-Strike 2","history":[{"period":"Semana 1","points":729},{"period":"M\u00eas Atual","points":1215},{"period":"Ano Atual","points":71182}]}' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '46' + x-ratelimit-remaining: '56' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] - controller: null - method: null - route: null - - - custom: [] - httpMethods: - - GET - uri: api/v1/games/most-played - metadata: - custom: [] - groupName: Rankings - groupDescription: '' - subgroup: '' - subgroupDescription: '' - title: |- - Jogos mais jogados - * Retorna o top 10 jogos com base no número de jogadores ativos. - description: '' - authenticated: false - deprecated: false - headers: - Content-Type: application/json - Accept: application/json - urlParameters: [] - cleanUrlParameters: [] - queryParameters: [] - cleanQueryParameters: [] - bodyParameters: [] - cleanBodyParameters: [] - fileParameters: [] - responses: - - - custom: [] - status: 200 - content: '[{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1700019,"weekly_points":221,"monthly_points":2723,"yearly_points":56740,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1682586,"weekly_points":587,"monthly_points":1858,"yearly_points":56745,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":1153799,"weekly_points":155,"monthly_points":2662,"yearly_points":99544,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":13,"name":"Minecraft","platform":"Multiplataforma","active_players":1058688,"weekly_points":768,"monthly_points":6013,"yearly_points":97008,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":12,"name":"Call of Duty: Warzone","platform":"Battle.net","active_players":933732,"weekly_points":857,"monthly_points":4936,"yearly_points":44623,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":847989,"weekly_points":198,"monthly_points":1404,"yearly_points":66933,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' - headers: - cache-control: 'no-cache, private' - content-type: application/json - x-ratelimit-limit: '60' - x-ratelimit-remaining: '45' - access-control-allow-origin: '*' - description: null - responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null @@ -244,13 +208,12 @@ endpoints: groupDescription: '' subgroup: '' subgroupDescription: '' - title: |- - Ranking por Plataforma - * Retorna os jogos mais bem ranqueados de uma plataforma específica. - description: '' - authenticated: false + title: 'Ranking por Plataforma' + description: 'Retorna os jogos mais bem ranqueados de uma plataforma específica.' + authenticated: true deprecated: false headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' Content-Type: application/json Accept: application/json urlParameters: @@ -276,16 +239,65 @@ endpoints: - custom: [] status: 200 - content: '[{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1700019,"weekly_points":221,"monthly_points":2723,"yearly_points":56740,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":1509381,"weekly_points":812,"monthly_points":7911,"yearly_points":17211,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":1075170,"weekly_points":776,"monthly_points":6337,"yearly_points":70015,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":847989,"weekly_points":198,"monthly_points":1404,"yearly_points":66933,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":799796,"weekly_points":647,"monthly_points":8422,"yearly_points":76612,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":589021,"weekly_points":833,"monthly_points":9947,"yearly_points":78223,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":564671,"weekly_points":554,"monthly_points":5004,"yearly_points":60724,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":558948,"weekly_points":219,"monthly_points":8214,"yearly_points":80587,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":94038,"weekly_points":682,"monthly_points":5436,"yearly_points":54743,"created_at":"2026-04-18T01:47:16.000000Z","updated_at":"2026-04-18T01:47:16.000000Z"}]' + content: '[{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":7,"name":"Grand Theft Auto V","platform":"Steam","active_players":262363,"weekly_points":199,"monthly_points":2257,"yearly_points":62350,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":11,"name":"Apex Legends","platform":"Steam","active_players":218457,"weekly_points":945,"monthly_points":8776,"yearly_points":56526,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":4,"name":"Helldivers 2","platform":"Steam","active_players":217823,"weekly_points":617,"monthly_points":5232,"yearly_points":24531,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' headers: cache-control: 'no-cache, private' content-type: application/json x-ratelimit-limit: '60' - x-ratelimit-remaining: '44' + x-ratelimit-remaining: '55' access-control-allow-origin: '*' description: null responseFields: [] - auth: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' + controller: null + method: null + route: null + - + custom: [] + httpMethods: + - GET + uri: api/v1/games/most-played + metadata: + custom: [] + groupName: Rankings + groupDescription: '' + subgroup: '' + subgroupDescription: '' + title: 'Jogos mais jogados' + description: 'Retorna o top 10 jogos com base no número de jogadores ativos.' + authenticated: true + deprecated: false + headers: + Authorization: 'Bearer {YOUR_JWT_TOKEN}' + Content-Type: application/json + Accept: application/json + urlParameters: [] + cleanUrlParameters: [] + queryParameters: [] + cleanQueryParameters: [] + bodyParameters: [] + cleanBodyParameters: [] + fileParameters: [] + responses: + - + custom: [] + status: 200 + content: '[{"id":10,"name":"League of Legends","platform":"Riot Launcher","active_players":1166370,"weekly_points":786,"monthly_points":4506,"yearly_points":21445,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":14,"name":"Cyberpunk 2077","platform":"Steam","active_players":1161973,"weekly_points":874,"monthly_points":4853,"yearly_points":27988,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":15,"name":"Stardew Valley","platform":"Steam","active_players":1117483,"weekly_points":702,"monthly_points":7545,"yearly_points":42912,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":6,"name":"Fortnite","platform":"Epic Games","active_players":1091171,"weekly_points":611,"monthly_points":5678,"yearly_points":96832,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":1,"name":"Counter-Strike 2","platform":"Steam","active_players":1086549,"weekly_points":729,"monthly_points":1215,"yearly_points":71182,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":9,"name":"Roblox","platform":"Multiplataforma","active_players":991415,"weekly_points":770,"monthly_points":2080,"yearly_points":22209,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":3,"name":"Valorant","platform":"Riot Launcher","active_players":821498,"weekly_points":241,"monthly_points":1030,"yearly_points":57266,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":2,"name":"Elden Ring","platform":"Steam","active_players":715531,"weekly_points":697,"monthly_points":7369,"yearly_points":44291,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":8,"name":"EA SPORTS FC 24","platform":"Steam","active_players":398998,"weekly_points":872,"monthly_points":5333,"yearly_points":81468,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"},{"id":5,"name":"Baldur''s Gate 3","platform":"Steam","active_players":296988,"weekly_points":352,"monthly_points":3595,"yearly_points":62260,"created_at":"2026-05-18T21:57:31.000000Z","updated_at":"2026-05-18T21:57:31.000000Z"}]' + headers: + cache-control: 'no-cache, private' + content-type: application/json + x-ratelimit-limit: '60' + x-ratelimit-remaining: '54' + access-control-allow-origin: '*' + description: null + responseFields: [] + auth: + - headers + - Authorization + - 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnYW1ldmVyc2UtYXV0aCIsImF1ZCI6InJhbmtpbmctYXBpIiwic3ViIjoiZGVtby11c2VyIiwiaWF0IjoxNzc5MTQxNTcxLCJleHAiOjE4MTA2Nzc1NzF9.aiCMcNXMs1GxvGqY5Ln87D1VJG-J2CzQ2lktqJstEzm2ogcj9M4WxI1ye2Ps3p4IHExr5IQ9KwoNn3hTgnDI5C8LiMmRa6yqdB8ZlrkZZ_eSlNxFhuAhGiCIqLsQwHony4UpxFjS1MpSuJKPyY1Z4VSulOzUExcTt0Y-G1ynq8IYnsfjqoCTP20oQGP2pb2TTbZFf4jACxctnz2oIijvgWEMAiqn72G4DJ-8nWFXZ9Yf6Of2S76MDLtWjysgFoQQYriye_Ns9ynoPjIo9igUCFyzc_AgIjh_VE0IrGW9ifkx5kOISf0b95bh7rhMuDzyvBQbFay7lIUyKMRKi_i-qw' controller: null method: null route: null diff --git a/.scribe/intro.md b/.scribe/intro.md index 95f6bdf..5e8db56 100644 --- a/.scribe/intro.md +++ b/.scribe/intro.md @@ -1,13 +1,12 @@ # Introduction - +Microsserviço de rankings e métricas de jogos para integração com o ecossistema GameVerse. - This documentation aims to provide all the information you need to work with our API. + Esta API expõe rankings semanais, mensais e anuais, jogos mais jogados, histórico de pontuação e filtros por plataforma. - + diff --git a/app/Http/Controllers/GameController.php b/app/Http/Controllers/GameController.php index 7c1f25a..13fdb94 100644 --- a/app/Http/Controllers/GameController.php +++ b/app/Http/Controllers/GameController.php @@ -12,7 +12,8 @@ class GameController extends Controller { /** * Top semanal - * * Retorna o ranking dos jogos com melhor desempenho na última semana. + * + * Retorna o ranking dos jogos com melhor desempenho na última semana. */ public function weeklyRanking() { @@ -22,7 +23,8 @@ class GameController extends Controller /** * Top mensal - * * Retorna o ranking dos jogos com melhor desempenho no último mês. + * + * Retorna o ranking dos jogos com melhor desempenho no último mês. */ public function monthlyRanking() { @@ -32,7 +34,8 @@ class GameController extends Controller /** * Top anual - * * Retorna o ranking dos jogos com melhor desempenho no último ano. + * + * Retorna o ranking dos jogos com melhor desempenho no último ano. */ public function yearlyRanking() { @@ -42,7 +45,8 @@ class GameController extends Controller /** * Jogos mais jogados - * * Retorna o top 10 jogos com base no número de jogadores ativos. + * + * Retorna o top 10 jogos com base no número de jogadores ativos. */ public function mostPlayed() { @@ -52,7 +56,9 @@ class GameController extends Controller /** * Histórico de ranking - * * Retorna a evolução de um jogo específico ao longo do tempo. + * + * Retorna a evolução de um jogo específico ao longo do tempo. + * * @urlParam id int required O ID do jogo. Example: 1 */ public function history($id) @@ -69,7 +75,9 @@ class GameController extends Controller } /** * Ranking por Plataforma - * * Retorna os jogos mais bem ranqueados de uma plataforma específica. + * + * Retorna os jogos mais bem ranqueados de uma plataforma específica. + * * @urlParam platform string required O nome da plataforma. Example: Steam */ public function platformRanking($platform) @@ -80,4 +88,4 @@ class GameController extends Controller return response()->json($games); } -} \ No newline at end of file +} diff --git a/config/database.php b/config/database.php index 137ad18..3dcbec4 100644 --- a/config/database.php +++ b/config/database.php @@ -59,7 +59,7 @@ return [ 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ - PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + (defined('Pdo\Mysql::ATTR_SSL_CA') ? Pdo\Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'), ]) : [], ], diff --git a/config/scribe.php b/config/scribe.php new file mode 100644 index 0000000..b9221f0 --- /dev/null +++ b/config/scribe.php @@ -0,0 +1,258 @@ + for the generated documentation. + 'title' => 'Game Ranking API Documentation', + + // A short description of your API. Will be included in the docs webpage, Postman collection and OpenAPI spec. + 'description' => 'Microsserviço de rankings e métricas de jogos para integração com o ecossistema GameVerse.', + + // Text to place in the "Introduction" section, right after the `description`. Markdown and HTML are supported. + 'intro_text' => <<<'INTRO' + Esta API expõe rankings semanais, mensais e anuais, jogos mais jogados, histórico de pontuação e filtros por plataforma. + + + INTRO, + + // The base URL displayed in the docs. + // If you're using `laravel` type, you can set this to a dynamic string, like '{{ config("app.tenant_url") }}' to get a dynamic base URL. + 'base_url' => config('app.url'), + + // Routes to include in the docs + 'routes' => [ + [ + 'match' => [ + // Match only routes whose paths match this pattern (use * as a wildcard to match any characters). Example: 'users/*'. + 'prefixes' => ['api/*'], + + // Match only routes whose domains match this pattern (use * as a wildcard to match any characters). Example: 'api.*'. + 'domains' => ['*'], + ], + + // Include these routes even if they did not match the rules above. + 'include' => [ + // 'users.index', 'POST /new', '/auth/*' + ], + + // Exclude these routes even if they matched the rules above. + 'exclude' => [ + 'GET api/test-auth', + ], + ], + ], + + // The type of documentation output to generate. + // - "static" will generate a static HTMl page in the /public/docs folder, + // - "laravel" will generate the documentation as a Blade view, so you can add routing and authentication. + // - "external_static" and "external_laravel" do the same as above, but pass the OpenAPI spec as a URL to an external UI template + 'type' => 'laravel', + + // See https://scribe.knuckles.wtf/laravel/reference/config#theme for supported options + 'theme' => 'default', + + 'static' => [ + // HTML documentation, assets and Postman collection will be generated to this folder. + // Source Markdown will still be in resources/docs. + 'output_path' => 'public/docs', + ], + + 'laravel' => [ + // Whether to automatically create a docs route for you to view your generated docs. You can still set up routing manually. + 'add_routes' => true, + + // URL path to use for the docs endpoint (if `add_routes` is true). + // By default, `/docs` opens the HTML page, `/docs.postman` opens the Postman collection, and `/docs.openapi` the OpenAPI spec. + 'docs_url' => '/docs', + + // Directory within `public` in which to store CSS and JS assets. + // By default, assets are stored in `public/vendor/scribe`. + // If set, assets will be stored in `public/{{assets_directory}}` + 'assets_directory' => null, + + // Middleware to attach to the docs endpoint (if `add_routes` is true). + 'middleware' => [], + ], + + 'external' => [ + 'html_attributes' => [], + ], + + 'try_it_out' => [ + // Add a Try It Out button to your endpoints so consumers can test endpoints right from their browser. + // Don't forget to enable CORS headers for your endpoints. + 'enabled' => true, + + // The base URL to use in the API tester. Leave as null to be the same as the displayed URL (`scribe.base_url`). + 'base_url' => null, + + // [Laravel Sanctum] Fetch a CSRF token before each request, and add it as an X-XSRF-TOKEN header. + 'use_csrf' => false, + + // The URL to fetch the CSRF token from (if `use_csrf` is true). + 'csrf_url' => '/sanctum/csrf-cookie', + ], + + // How is your API authenticated? This information will be used in the displayed docs, generated examples and response calls. + 'auth' => [ + // Set this to true if ANY endpoints in your API use authentication. + 'enabled' => true, + + // Set this to true if your API should be authenticated by default. If so, you must also set `enabled` (above) to true. + // You can then use @unauthenticated or @authenticated on individual endpoints to change their status from the default. + 'default' => true, + + // Where is the auth value meant to be sent in a request? + 'in' => AuthIn::BEARER->value, + + // The name of the auth parameter (e.g. token, key, apiKey) or header (e.g. Authorization, Api-Key). + 'name' => 'Authorization', + + // The value of the parameter to be used by Scribe to authenticate response calls. + // This will NOT be included in the generated documentation. If empty, Scribe will use a random value. + 'use_value' => env('SCRIBE_AUTH_KEY'), + + // Placeholder your users will see for the auth parameter in the example requests. + // Set this to null if you want Scribe to use a random value as placeholder instead. + 'placeholder' => '{YOUR_JWT_TOKEN}', + + // Any extra authentication-related info for your users. Markdown and HTML are supported. + 'extra_info' => 'Use um token JWT RS256 emitido pelo serviço de autenticação integrado ao GameVerse.', + ], + + // Example requests for each endpoint will be shown in each of these languages. + // Supported options are: bash, javascript, php, python + // To add a language of your own, see https://scribe.knuckles.wtf/laravel/advanced/example-requests + // Note: does not work for `external` docs types + 'example_languages' => [ + 'bash', + 'javascript', + ], + + // Generate a Postman collection (v2.1.0) in addition to HTML docs. + // For 'static' docs, the collection will be generated to public/docs/collection.json. + // For 'laravel' docs, it will be generated to storage/app/scribe/collection.json. + // Setting `laravel.add_routes` to true (above) will also add a route for the collection. + 'postman' => [ + 'enabled' => true, + + 'overrides' => [ + // 'info.version' => '2.0.0', + ], + ], + + // Generate an OpenAPI spec in addition to docs webpage. + // For 'static' docs, the collection will be generated to public/docs/openapi.yaml. + // For 'laravel' docs, it will be generated to storage/app/scribe/openapi.yaml. + // Setting `laravel.add_routes` to true (above) will also add a route for the spec. + 'openapi' => [ + 'enabled' => true, + + // The OpenAPI spec version to generate. Supported versions: '3.0.3', '3.1.0'. + // OpenAPI 3.1 is more compatible with JSON Schema and is becoming the dominant version. + // See https://spec.openapis.org/oas/v3.1.0 for details on 3.1 changes. + 'version' => '3.0.3', + + 'overrides' => [ + // 'info.version' => '2.0.0', + ], + + // Additional generators to use when generating the OpenAPI spec. + // Should extend `Knuckles\Scribe\Writing\OpenApiSpecGenerators\OpenApiGenerator`. + 'generators' => [], + ], + + 'groups' => [ + // Endpoints which don't have a @group will be placed in this default group. + 'default' => 'Endpoints', + + // By default, Scribe will sort groups alphabetically, and endpoints in the order their routes are defined. + // You can override this by listing the groups, subgroups and endpoints here in the order you want them. + // See https://scribe.knuckles.wtf/blog/laravel-v4#easier-sorting and https://scribe.knuckles.wtf/laravel/reference/config#order for details + // Note: does not work for `external` docs types + 'order' => [], + ], + + // Custom logo path. This will be used as the value of the src attribute for the tag, + // so make sure it points to an accessible URL or path. Set to false to not use a logo. + // For example, if your logo is in public/img: + // - 'logo' => '../img/logo.png' // for `static` type (output folder is public/docs) + // - 'logo' => 'img/logo.png' // for `laravel` type + 'logo' => false, + + // Customize the "Last updated" value displayed in the docs by specifying tokens and formats. + // Examples: + // - {date:F j Y} => March 28, 2022 + // - {git:short} => Short hash of the last Git commit + // Available tokens are `{date:}` and `{git:}`. + // The format you pass to `date` will be passed to PHP's `date()` function. + // The format you pass to `git` can be either "short" or "long". + // Note: does not work for `external` docs types + 'last_updated' => 'Last updated: {date:F j, Y}', + + 'examples' => [ + // Set this to any number to generate the same example values for parameters on each run, + 'faker_seed' => 1234, + + // With API resources and transformers, Scribe tries to generate example models to use in your API responses. + // By default, Scribe will try the model's factory, and if that fails, try fetching the first from the database. + // You can reorder or remove strategies here. + 'models_source' => ['factoryCreate', 'factoryMake', 'databaseFirst'], + ], + + // The strategies Scribe will use to extract information about your routes at each stage. + // Use configureStrategy() to specify settings for a strategy in the list. + // Use removeStrategies() to remove an included strategy. + 'strategies' => [ + 'metadata' => [ + ...Defaults::METADATA_STRATEGIES, + ], + 'headers' => [ + ...Defaults::HEADERS_STRATEGIES, + Strategies\StaticData::withSettings(data: [ + 'Content-Type' => 'application/json', + 'Accept' => 'application/json', + ]), + ], + 'urlParameters' => [ + ...Defaults::URL_PARAMETERS_STRATEGIES, + ], + 'queryParameters' => [ + ...Defaults::QUERY_PARAMETERS_STRATEGIES, + ], + 'bodyParameters' => [ + ...Defaults::BODY_PARAMETERS_STRATEGIES, + ], + 'responses' => configureStrategy( + Defaults::RESPONSES_STRATEGIES, + Strategies\Responses\ResponseCalls::withSettings( + only: ['GET *'], + // Recommended: disable debug mode in response calls to avoid error stack traces in responses + config: [ + 'app.debug' => false, + ] + ) + ), + 'responseFields' => [ + ...Defaults::RESPONSE_FIELDS_STRATEGIES, + ], + ], + + // For response calls, API resource responses and transformer responses, + // Scribe will try to start database transactions, so no changes are persisted to your database. + // Tell Scribe which connections should be transacted here. If you only use one db connection, you can leave this as is. + 'database_connections_to_transact' => [config('database.default')], + + 'fractal' => [ + // If you are using a custom serializer with league/fractal, you can specify it here. + 'serializer' => null, + ], +]; diff --git a/resources/views/scribe/index.blade.php b/resources/views/scribe/index.blade.php index aa19a11..b44a405 100644 --- a/resources/views/scribe/index.blade.php +++ b/resources/views/scribe/index.blade.php @@ -4,7 +4,7 @@ - Laravel API Documentation + Game Ranking API Documentation @@ -26,7 +26,7 @@ @@ -72,28 +72,22 @@ @@ -106,7 +100,7 @@ @@ -114,28 +108,30 @@

Introduction

+

Microsserviço de rankings e métricas de jogos para integração com o ecossistema GameVerse.

-
This documentation aims to provide all the information you need to work with our API.
+
Esta API expõe rankings semanais, mensais e anuais, jogos mais jogados, histórico de pontuação e filtros por plataforma.
 
-<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
-You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>
+<aside>Use os exemplos da documentação para demonstrar como o frontend ou outros microsserviços podem consumir os dados de ranking.</aside>

Authenticating requests

-

This API is not authenticated.

+

To authenticate requests, include an Authorization header with the value "Bearer {YOUR_JWT_TOKEN}".

+

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

+

Use um token JWT RS256 emitido pelo serviço de autenticação integrado ao GameVerse.

Rankings

-

Top semanal -* Retorna o ranking dos jogos com melhor desempenho na última semana.

+

Top semanal

+requires authentication

- +

Retorna o ranking dos jogos com melhor desempenho na última semana.

Example request:
@@ -143,17 +139,19 @@ You can switch the language used with the tabs at the top right (or from the nav
curl --request GET \
-    --get "http://localhost/api/v1/rankings/weekly" \
+    --get "http://127.0.0.1:8000/api/v1/rankings/weekly" \
+    --header "Authorization: Bearer {YOUR_JWT_TOKEN}" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v1/rankings/weekly"
+    "http://127.0.0.1:8000/api/v1/rankings/weekly"
 );
 
 const headers = {
+    "Authorization": "Bearer {YOUR_JWT_TOKEN}",
     "Content-Type": "application/json",
     "Accept": "application/json",
 };
@@ -177,120 +175,120 @@ fetch(url, {
             
cache-control: no-cache, private
 content-type: application/json
 x-ratelimit-limit: 60
-x-ratelimit-remaining: 49
+x-ratelimit-remaining: 59
 access-control-allow-origin: *
  
 
 [
+    {
+        "id": 11,
+        "name": "Apex Legends",
+        "platform": "Steam",
+        "active_players": 218457,
+        "weekly_points": 945,
+        "monthly_points": 8776,
+        "yearly_points": 56526,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
     {
         "id": 12,
         "name": "Call of Duty: Warzone",
         "platform": "Battle.net",
-        "active_players": 933732,
-        "weekly_points": 857,
-        "monthly_points": 4936,
-        "yearly_points": 44623,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 243114,
+        "weekly_points": 877,
+        "monthly_points": 2426,
+        "yearly_points": 36655,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
-        "id": 4,
-        "name": "Helldivers 2",
+        "id": 14,
+        "name": "Cyberpunk 2077",
         "platform": "Steam",
-        "active_players": 589021,
-        "weekly_points": 833,
-        "monthly_points": 9947,
-        "yearly_points": 78223,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 6,
-        "name": "Fortnite",
-        "platform": "Epic Games",
-        "active_players": 418738,
-        "weekly_points": 813,
-        "monthly_points": 6995,
-        "yearly_points": 22527,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 7,
-        "name": "Grand Theft Auto V",
-        "platform": "Steam",
-        "active_players": 1509381,
-        "weekly_points": 812,
-        "monthly_points": 7911,
-        "yearly_points": 17211,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 1161973,
+        "weekly_points": 874,
+        "monthly_points": 4853,
+        "yearly_points": 27988,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 8,
         "name": "EA SPORTS FC 24",
         "platform": "Steam",
-        "active_players": 1075170,
-        "weekly_points": 776,
-        "monthly_points": 6337,
-        "yearly_points": 70015,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 13,
-        "name": "Minecraft",
-        "platform": "Multiplataforma",
-        "active_players": 1058688,
-        "weekly_points": 768,
-        "monthly_points": 6013,
-        "yearly_points": 97008,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 15,
-        "name": "Stardew Valley",
-        "platform": "Steam",
-        "active_players": 94038,
-        "weekly_points": 682,
-        "monthly_points": 5436,
-        "yearly_points": 54743,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 2,
-        "name": "Elden Ring",
-        "platform": "Steam",
-        "active_players": 799796,
-        "weekly_points": 647,
-        "monthly_points": 8422,
-        "yearly_points": 76612,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 9,
-        "name": "Roblox",
-        "platform": "Multiplataforma",
-        "active_players": 139569,
-        "weekly_points": 636,
-        "monthly_points": 8679,
-        "yearly_points": 12637,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 398998,
+        "weekly_points": 872,
+        "monthly_points": 5333,
+        "yearly_points": 81468,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 10,
         "name": "League of Legends",
         "platform": "Riot Launcher",
-        "active_players": 1682586,
-        "weekly_points": 587,
-        "monthly_points": 1858,
-        "yearly_points": 56745,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 1166370,
+        "weekly_points": 786,
+        "monthly_points": 4506,
+        "yearly_points": 21445,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 9,
+        "name": "Roblox",
+        "platform": "Multiplataforma",
+        "active_players": 991415,
+        "weekly_points": 770,
+        "monthly_points": 2080,
+        "yearly_points": 22209,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 1,
+        "name": "Counter-Strike 2",
+        "platform": "Steam",
+        "active_players": 1086549,
+        "weekly_points": 729,
+        "monthly_points": 1215,
+        "yearly_points": 71182,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 15,
+        "name": "Stardew Valley",
+        "platform": "Steam",
+        "active_players": 1117483,
+        "weekly_points": 702,
+        "monthly_points": 7545,
+        "yearly_points": 42912,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 2,
+        "name": "Elden Ring",
+        "platform": "Steam",
+        "active_players": 715531,
+        "weekly_points": 697,
+        "monthly_points": 7369,
+        "yearly_points": 44291,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 4,
+        "name": "Helldivers 2",
+        "platform": "Steam",
+        "active_players": 217823,
+        "weekly_points": 617,
+        "monthly_points": 5232,
+        "yearly_points": 24531,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     }
 ]
  
@@ -312,7 +310,7 @@ You can check the Dev Tools console for debugging information.

Headers

+ Authorization   +  +   +   + +
+

Example: Bearer {YOUR_JWT_TOKEN}

+
+
Content-Type       @@ -368,13 +378,13 @@ You can check the Dev Tools console for debugging information.
-

Top mensal -* Retorna o ranking dos jogos com melhor desempenho no último mês.

+

Top mensal

+requires authentication

- +

Retorna o ranking dos jogos com melhor desempenho no último mês.

Example request:
@@ -382,17 +392,19 @@ You can check the Dev Tools console for debugging information.
curl --request GET \
-    --get "http://localhost/api/v1/rankings/monthly" \
+    --get "http://127.0.0.1:8000/api/v1/rankings/monthly" \
+    --header "Authorization: Bearer {YOUR_JWT_TOKEN}" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v1/rankings/monthly"
+    "http://127.0.0.1:8000/api/v1/rankings/monthly"
 );
 
 const headers = {
+    "Authorization": "Bearer {YOUR_JWT_TOKEN}",
     "Content-Type": "application/json",
     "Accept": "application/json",
 };
@@ -416,120 +428,120 @@ fetch(url, {
             
cache-control: no-cache, private
 content-type: application/json
 x-ratelimit-limit: 60
-x-ratelimit-remaining: 48
+x-ratelimit-remaining: 58
 access-control-allow-origin: *
  
 
 [
     {
-        "id": 4,
-        "name": "Helldivers 2",
-        "platform": "Steam",
-        "active_players": 589021,
-        "weekly_points": 833,
-        "monthly_points": 9947,
-        "yearly_points": 78223,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 9,
-        "name": "Roblox",
+        "id": 13,
+        "name": "Minecraft",
         "platform": "Multiplataforma",
-        "active_players": 139569,
-        "weekly_points": 636,
-        "monthly_points": 8679,
-        "yearly_points": 12637,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 2,
-        "name": "Elden Ring",
-        "platform": "Steam",
-        "active_players": 799796,
-        "weekly_points": 647,
-        "monthly_points": 8422,
-        "yearly_points": 76612,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 242066,
+        "weekly_points": 184,
+        "monthly_points": 9278,
+        "yearly_points": 33053,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 11,
         "name": "Apex Legends",
         "platform": "Steam",
-        "active_players": 558948,
-        "weekly_points": 219,
-        "monthly_points": 8214,
-        "yearly_points": 80587,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 7,
-        "name": "Grand Theft Auto V",
-        "platform": "Steam",
-        "active_players": 1509381,
-        "weekly_points": 812,
-        "monthly_points": 7911,
-        "yearly_points": 17211,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 6,
-        "name": "Fortnite",
-        "platform": "Epic Games",
-        "active_players": 418738,
-        "weekly_points": 813,
-        "monthly_points": 6995,
-        "yearly_points": 22527,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 8,
-        "name": "EA SPORTS FC 24",
-        "platform": "Steam",
-        "active_players": 1075170,
-        "weekly_points": 776,
-        "monthly_points": 6337,
-        "yearly_points": 70015,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 13,
-        "name": "Minecraft",
-        "platform": "Multiplataforma",
-        "active_players": 1058688,
-        "weekly_points": 768,
-        "monthly_points": 6013,
-        "yearly_points": 97008,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 218457,
+        "weekly_points": 945,
+        "monthly_points": 8776,
+        "yearly_points": 56526,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 15,
         "name": "Stardew Valley",
         "platform": "Steam",
-        "active_players": 94038,
-        "weekly_points": 682,
-        "monthly_points": 5436,
-        "yearly_points": 54743,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 1117483,
+        "weekly_points": 702,
+        "monthly_points": 7545,
+        "yearly_points": 42912,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
-        "id": 1,
-        "name": "Counter-Strike 2",
+        "id": 2,
+        "name": "Elden Ring",
         "platform": "Steam",
-        "active_players": 564671,
-        "weekly_points": 554,
-        "monthly_points": 5004,
-        "yearly_points": 60724,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 715531,
+        "weekly_points": 697,
+        "monthly_points": 7369,
+        "yearly_points": 44291,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 6,
+        "name": "Fortnite",
+        "platform": "Epic Games",
+        "active_players": 1091171,
+        "weekly_points": 611,
+        "monthly_points": 5678,
+        "yearly_points": 96832,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 8,
+        "name": "EA SPORTS FC 24",
+        "platform": "Steam",
+        "active_players": 398998,
+        "weekly_points": 872,
+        "monthly_points": 5333,
+        "yearly_points": 81468,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 4,
+        "name": "Helldivers 2",
+        "platform": "Steam",
+        "active_players": 217823,
+        "weekly_points": 617,
+        "monthly_points": 5232,
+        "yearly_points": 24531,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 14,
+        "name": "Cyberpunk 2077",
+        "platform": "Steam",
+        "active_players": 1161973,
+        "weekly_points": 874,
+        "monthly_points": 4853,
+        "yearly_points": 27988,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 10,
+        "name": "League of Legends",
+        "platform": "Riot Launcher",
+        "active_players": 1166370,
+        "weekly_points": 786,
+        "monthly_points": 4506,
+        "yearly_points": 21445,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 5,
+        "name": "Baldur's Gate 3",
+        "platform": "Steam",
+        "active_players": 296988,
+        "weekly_points": 352,
+        "monthly_points": 3595,
+        "yearly_points": 62260,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     }
 ]
  
@@ -551,7 +563,7 @@ You can check the Dev Tools console for debugging information.

Headers

+ Authorization   +  +   +   + +
+

Example: Bearer {YOUR_JWT_TOKEN}

+
+
Content-Type       @@ -607,13 +631,13 @@ You can check the Dev Tools console for debugging information.
-

Top anual -* Retorna o ranking dos jogos com melhor desempenho no último ano.

+

Top anual

+requires authentication

- +

Retorna o ranking dos jogos com melhor desempenho no último ano.

Example request:
@@ -621,17 +645,19 @@ You can check the Dev Tools console for debugging information.
curl --request GET \
-    --get "http://localhost/api/v1/rankings/yearly" \
+    --get "http://127.0.0.1:8000/api/v1/rankings/yearly" \
+    --header "Authorization: Bearer {YOUR_JWT_TOKEN}" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v1/rankings/yearly"
+    "http://127.0.0.1:8000/api/v1/rankings/yearly"
 );
 
 const headers = {
+    "Authorization": "Bearer {YOUR_JWT_TOKEN}",
     "Content-Type": "application/json",
     "Accept": "application/json",
 };
@@ -655,120 +681,120 @@ fetch(url, {
             
cache-control: no-cache, private
 content-type: application/json
 x-ratelimit-limit: 60
-x-ratelimit-remaining: 47
+x-ratelimit-remaining: 57
 access-control-allow-origin: *
  
 
 [
     {
-        "id": 3,
-        "name": "Valorant",
-        "platform": "Riot Launcher",
-        "active_players": 1153799,
-        "weekly_points": 155,
-        "monthly_points": 2662,
-        "yearly_points": 99544,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 13,
-        "name": "Minecraft",
-        "platform": "Multiplataforma",
-        "active_players": 1058688,
-        "weekly_points": 768,
-        "monthly_points": 6013,
-        "yearly_points": 97008,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 11,
-        "name": "Apex Legends",
-        "platform": "Steam",
-        "active_players": 558948,
-        "weekly_points": 219,
-        "monthly_points": 8214,
-        "yearly_points": 80587,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 4,
-        "name": "Helldivers 2",
-        "platform": "Steam",
-        "active_players": 589021,
-        "weekly_points": 833,
-        "monthly_points": 9947,
-        "yearly_points": 78223,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 2,
-        "name": "Elden Ring",
-        "platform": "Steam",
-        "active_players": 799796,
-        "weekly_points": 647,
-        "monthly_points": 8422,
-        "yearly_points": 76612,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "id": 6,
+        "name": "Fortnite",
+        "platform": "Epic Games",
+        "active_players": 1091171,
+        "weekly_points": 611,
+        "monthly_points": 5678,
+        "yearly_points": 96832,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 8,
         "name": "EA SPORTS FC 24",
         "platform": "Steam",
-        "active_players": 1075170,
-        "weekly_points": 776,
-        "monthly_points": 6337,
-        "yearly_points": 70015,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 5,
-        "name": "Baldur's Gate 3",
-        "platform": "Steam",
-        "active_players": 847989,
-        "weekly_points": 198,
-        "monthly_points": 1404,
-        "yearly_points": 66933,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 398998,
+        "weekly_points": 872,
+        "monthly_points": 5333,
+        "yearly_points": 81468,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 1,
         "name": "Counter-Strike 2",
         "platform": "Steam",
-        "active_players": 564671,
-        "weekly_points": 554,
-        "monthly_points": 5004,
-        "yearly_points": 60724,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 1086549,
+        "weekly_points": 729,
+        "monthly_points": 1215,
+        "yearly_points": 71182,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
-        "id": 10,
-        "name": "League of Legends",
-        "platform": "Riot Launcher",
-        "active_players": 1682586,
-        "weekly_points": 587,
-        "monthly_points": 1858,
-        "yearly_points": 56745,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 14,
-        "name": "Cyberpunk 2077",
+        "id": 7,
+        "name": "Grand Theft Auto V",
         "platform": "Steam",
-        "active_players": 1700019,
-        "weekly_points": 221,
-        "monthly_points": 2723,
-        "yearly_points": 56740,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 262363,
+        "weekly_points": 199,
+        "monthly_points": 2257,
+        "yearly_points": 62350,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 5,
+        "name": "Baldur's Gate 3",
+        "platform": "Steam",
+        "active_players": 296988,
+        "weekly_points": 352,
+        "monthly_points": 3595,
+        "yearly_points": 62260,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 3,
+        "name": "Valorant",
+        "platform": "Riot Launcher",
+        "active_players": 821498,
+        "weekly_points": 241,
+        "monthly_points": 1030,
+        "yearly_points": 57266,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 11,
+        "name": "Apex Legends",
+        "platform": "Steam",
+        "active_players": 218457,
+        "weekly_points": 945,
+        "monthly_points": 8776,
+        "yearly_points": 56526,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 2,
+        "name": "Elden Ring",
+        "platform": "Steam",
+        "active_players": 715531,
+        "weekly_points": 697,
+        "monthly_points": 7369,
+        "yearly_points": 44291,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 15,
+        "name": "Stardew Valley",
+        "platform": "Steam",
+        "active_players": 1117483,
+        "weekly_points": 702,
+        "monthly_points": 7545,
+        "yearly_points": 42912,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 12,
+        "name": "Call of Duty: Warzone",
+        "platform": "Battle.net",
+        "active_players": 243114,
+        "weekly_points": 877,
+        "monthly_points": 2426,
+        "yearly_points": 36655,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     }
 ]
  
@@ -790,7 +816,7 @@ You can check the Dev Tools console for debugging information.

Headers

+ Authorization   +  +   +   + +
+

Example: Bearer {YOUR_JWT_TOKEN}

+
+
Content-Type       @@ -846,13 +884,13 @@ You can check the Dev Tools console for debugging information.
-

Histórico de ranking -* Retorna a evolução de um jogo específico ao longo do tempo.

+

Histórico de ranking

+requires authentication

- +

Retorna a evolução de um jogo específico ao longo do tempo.

Example request:
@@ -860,17 +898,19 @@ You can check the Dev Tools console for debugging information.
curl --request GET \
-    --get "http://localhost/api/v1/rankings/history/1" \
+    --get "http://127.0.0.1:8000/api/v1/rankings/history/1" \
+    --header "Authorization: Bearer {YOUR_JWT_TOKEN}" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v1/rankings/history/1"
+    "http://127.0.0.1:8000/api/v1/rankings/history/1"
 );
 
 const headers = {
+    "Authorization": "Bearer {YOUR_JWT_TOKEN}",
     "Content-Type": "application/json",
     "Accept": "application/json",
 };
@@ -894,7 +934,7 @@ fetch(url, {
             
cache-control: no-cache, private
 content-type: application/json
 x-ratelimit-limit: 60
-x-ratelimit-remaining: 46
+x-ratelimit-remaining: 56
 access-control-allow-origin: *
  
 
@@ -903,15 +943,15 @@ access-control-allow-origin: *
     "history": [
         {
             "period": "Semana 1",
-            "points": 554
+            "points": 729
         },
         {
             "period": "Mês Atual",
-            "points": 5004
+            "points": 1215
         },
         {
             "period": "Ano Atual",
-            "points": 60724
+            "points": 71182
         }
     ]
 }
@@ -934,7 +974,7 @@ You can check the Dev Tools console for debugging information.

Headers

+ Authorization   +  +   +   + +
+

Example: Bearer {YOUR_JWT_TOKEN}

+
+
Content-Type       @@ -1003,252 +1055,13 @@ You can check the Dev Tools console for debugging information.
-

Jogos mais jogados -* Retorna o top 10 jogos com base no número de jogadores ativos.

+

Ranking por Plataforma

+requires authentication

- - - -
Example request:
- - -
-
curl --request GET \
-    --get "http://localhost/api/v1/games/most-played" \
-    --header "Content-Type: application/json" \
-    --header "Accept: application/json"
- - -
-
const url = new URL(
-    "http://localhost/api/v1/games/most-played"
-);
-
-const headers = {
-    "Content-Type": "application/json",
-    "Accept": "application/json",
-};
-
-
-fetch(url, {
-    method: "GET",
-    headers,
-}).then(response => response.json());
- -
- - -
-

Example response (200):

-
-
- - Show headers - -
cache-control: no-cache, private
-content-type: application/json
-x-ratelimit-limit: 60
-x-ratelimit-remaining: 45
-access-control-allow-origin: *
- 
-
-[
-    {
-        "id": 14,
-        "name": "Cyberpunk 2077",
-        "platform": "Steam",
-        "active_players": 1700019,
-        "weekly_points": 221,
-        "monthly_points": 2723,
-        "yearly_points": 56740,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 10,
-        "name": "League of Legends",
-        "platform": "Riot Launcher",
-        "active_players": 1682586,
-        "weekly_points": 587,
-        "monthly_points": 1858,
-        "yearly_points": 56745,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 7,
-        "name": "Grand Theft Auto V",
-        "platform": "Steam",
-        "active_players": 1509381,
-        "weekly_points": 812,
-        "monthly_points": 7911,
-        "yearly_points": 17211,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 3,
-        "name": "Valorant",
-        "platform": "Riot Launcher",
-        "active_players": 1153799,
-        "weekly_points": 155,
-        "monthly_points": 2662,
-        "yearly_points": 99544,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 8,
-        "name": "EA SPORTS FC 24",
-        "platform": "Steam",
-        "active_players": 1075170,
-        "weekly_points": 776,
-        "monthly_points": 6337,
-        "yearly_points": 70015,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 13,
-        "name": "Minecraft",
-        "platform": "Multiplataforma",
-        "active_players": 1058688,
-        "weekly_points": 768,
-        "monthly_points": 6013,
-        "yearly_points": 97008,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 12,
-        "name": "Call of Duty: Warzone",
-        "platform": "Battle.net",
-        "active_players": 933732,
-        "weekly_points": 857,
-        "monthly_points": 4936,
-        "yearly_points": 44623,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 5,
-        "name": "Baldur's Gate 3",
-        "platform": "Steam",
-        "active_players": 847989,
-        "weekly_points": 198,
-        "monthly_points": 1404,
-        "yearly_points": 66933,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 2,
-        "name": "Elden Ring",
-        "platform": "Steam",
-        "active_players": 799796,
-        "weekly_points": 647,
-        "monthly_points": 8422,
-        "yearly_points": 76612,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 4,
-        "name": "Helldivers 2",
-        "platform": "Steam",
-        "active_players": 589021,
-        "weekly_points": 833,
-        "monthly_points": 9947,
-        "yearly_points": 78223,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    }
-]
- 
-
- - -
-

- Request    - -    - -

-

- GET - api/v1/games/most-played -

-

Headers

-
- Content-Type   -  -   -   - -
-

Example: application/json

-
-
- Accept   -  -   -   - -
-

Example: application/json

-
-
- -

Ranking por Plataforma -* Retorna os jogos mais bem ranqueados de uma plataforma específica.

- -

-

- - +

Retorna os jogos mais bem ranqueados de uma plataforma específica.

Example request:
@@ -1256,17 +1069,19 @@ You can check the Dev Tools console for debugging information.
curl --request GET \
-    --get "http://localhost/api/v1/rankings/platforms/Steam" \
+    --get "http://127.0.0.1:8000/api/v1/rankings/platforms/Steam" \
+    --header "Authorization: Bearer {YOUR_JWT_TOKEN}" \
     --header "Content-Type: application/json" \
     --header "Accept: application/json"
const url = new URL(
-    "http://localhost/api/v1/rankings/platforms/Steam"
+    "http://127.0.0.1:8000/api/v1/rankings/platforms/Steam"
 );
 
 const headers = {
+    "Authorization": "Bearer {YOUR_JWT_TOKEN}",
     "Content-Type": "application/json",
     "Accept": "application/json",
 };
@@ -1290,7 +1105,7 @@ fetch(url, {
             
cache-control: no-cache, private
 content-type: application/json
 x-ratelimit-limit: 60
-x-ratelimit-remaining: 44
+x-ratelimit-remaining: 55
 access-control-allow-origin: *
  
 
@@ -1299,100 +1114,100 @@ access-control-allow-origin: *
         "id": 14,
         "name": "Cyberpunk 2077",
         "platform": "Steam",
-        "active_players": 1700019,
-        "weekly_points": 221,
-        "monthly_points": 2723,
-        "yearly_points": 56740,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 7,
-        "name": "Grand Theft Auto V",
-        "platform": "Steam",
-        "active_players": 1509381,
-        "weekly_points": 812,
-        "monthly_points": 7911,
-        "yearly_points": 17211,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 8,
-        "name": "EA SPORTS FC 24",
-        "platform": "Steam",
-        "active_players": 1075170,
-        "weekly_points": 776,
-        "monthly_points": 6337,
-        "yearly_points": 70015,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 5,
-        "name": "Baldur's Gate 3",
-        "platform": "Steam",
-        "active_players": 847989,
-        "weekly_points": 198,
-        "monthly_points": 1404,
-        "yearly_points": 66933,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 2,
-        "name": "Elden Ring",
-        "platform": "Steam",
-        "active_players": 799796,
-        "weekly_points": 647,
-        "monthly_points": 8422,
-        "yearly_points": 76612,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 4,
-        "name": "Helldivers 2",
-        "platform": "Steam",
-        "active_players": 589021,
-        "weekly_points": 833,
-        "monthly_points": 9947,
-        "yearly_points": 78223,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 1,
-        "name": "Counter-Strike 2",
-        "platform": "Steam",
-        "active_players": 564671,
-        "weekly_points": 554,
-        "monthly_points": 5004,
-        "yearly_points": 60724,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
-    },
-    {
-        "id": 11,
-        "name": "Apex Legends",
-        "platform": "Steam",
-        "active_players": 558948,
-        "weekly_points": 219,
-        "monthly_points": 8214,
-        "yearly_points": 80587,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 1161973,
+        "weekly_points": 874,
+        "monthly_points": 4853,
+        "yearly_points": 27988,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     },
     {
         "id": 15,
         "name": "Stardew Valley",
         "platform": "Steam",
-        "active_players": 94038,
-        "weekly_points": 682,
-        "monthly_points": 5436,
-        "yearly_points": 54743,
-        "created_at": "2026-04-18T01:47:16.000000Z",
-        "updated_at": "2026-04-18T01:47:16.000000Z"
+        "active_players": 1117483,
+        "weekly_points": 702,
+        "monthly_points": 7545,
+        "yearly_points": 42912,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 1,
+        "name": "Counter-Strike 2",
+        "platform": "Steam",
+        "active_players": 1086549,
+        "weekly_points": 729,
+        "monthly_points": 1215,
+        "yearly_points": 71182,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 2,
+        "name": "Elden Ring",
+        "platform": "Steam",
+        "active_players": 715531,
+        "weekly_points": 697,
+        "monthly_points": 7369,
+        "yearly_points": 44291,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 8,
+        "name": "EA SPORTS FC 24",
+        "platform": "Steam",
+        "active_players": 398998,
+        "weekly_points": 872,
+        "monthly_points": 5333,
+        "yearly_points": 81468,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 5,
+        "name": "Baldur's Gate 3",
+        "platform": "Steam",
+        "active_players": 296988,
+        "weekly_points": 352,
+        "monthly_points": 3595,
+        "yearly_points": 62260,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 7,
+        "name": "Grand Theft Auto V",
+        "platform": "Steam",
+        "active_players": 262363,
+        "weekly_points": 199,
+        "monthly_points": 2257,
+        "yearly_points": 62350,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 11,
+        "name": "Apex Legends",
+        "platform": "Steam",
+        "active_players": 218457,
+        "weekly_points": 945,
+        "monthly_points": 8776,
+        "yearly_points": 56526,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 4,
+        "name": "Helldivers 2",
+        "platform": "Steam",
+        "active_players": 217823,
+        "weekly_points": 617,
+        "monthly_points": 5232,
+        "yearly_points": 24531,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
     }
 ]
  
@@ -1414,7 +1229,7 @@ You can check the Dev Tools console for debugging information.

Headers

+ Authorization   +  +   +   + +
+

Example: Bearer {YOUR_JWT_TOKEN}

+
+
Content-Type       @@ -1483,6 +1310,259 @@ You can check the Dev Tools console for debugging information.
+

Jogos mais jogados

+ +

+requires authentication +

+ +

Retorna o top 10 jogos com base no número de jogadores ativos.

+ + +
Example request:
+ + +
+
curl --request GET \
+    --get "http://127.0.0.1:8000/api/v1/games/most-played" \
+    --header "Authorization: Bearer {YOUR_JWT_TOKEN}" \
+    --header "Content-Type: application/json" \
+    --header "Accept: application/json"
+ + +
+
const url = new URL(
+    "http://127.0.0.1:8000/api/v1/games/most-played"
+);
+
+const headers = {
+    "Authorization": "Bearer {YOUR_JWT_TOKEN}",
+    "Content-Type": "application/json",
+    "Accept": "application/json",
+};
+
+
+fetch(url, {
+    method: "GET",
+    headers,
+}).then(response => response.json());
+ +
+ + +
+

Example response (200):

+
+
+ + Show headers + +
cache-control: no-cache, private
+content-type: application/json
+x-ratelimit-limit: 60
+x-ratelimit-remaining: 54
+access-control-allow-origin: *
+ 
+
+[
+    {
+        "id": 10,
+        "name": "League of Legends",
+        "platform": "Riot Launcher",
+        "active_players": 1166370,
+        "weekly_points": 786,
+        "monthly_points": 4506,
+        "yearly_points": 21445,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 14,
+        "name": "Cyberpunk 2077",
+        "platform": "Steam",
+        "active_players": 1161973,
+        "weekly_points": 874,
+        "monthly_points": 4853,
+        "yearly_points": 27988,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 15,
+        "name": "Stardew Valley",
+        "platform": "Steam",
+        "active_players": 1117483,
+        "weekly_points": 702,
+        "monthly_points": 7545,
+        "yearly_points": 42912,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 6,
+        "name": "Fortnite",
+        "platform": "Epic Games",
+        "active_players": 1091171,
+        "weekly_points": 611,
+        "monthly_points": 5678,
+        "yearly_points": 96832,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 1,
+        "name": "Counter-Strike 2",
+        "platform": "Steam",
+        "active_players": 1086549,
+        "weekly_points": 729,
+        "monthly_points": 1215,
+        "yearly_points": 71182,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 9,
+        "name": "Roblox",
+        "platform": "Multiplataforma",
+        "active_players": 991415,
+        "weekly_points": 770,
+        "monthly_points": 2080,
+        "yearly_points": 22209,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 3,
+        "name": "Valorant",
+        "platform": "Riot Launcher",
+        "active_players": 821498,
+        "weekly_points": 241,
+        "monthly_points": 1030,
+        "yearly_points": 57266,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 2,
+        "name": "Elden Ring",
+        "platform": "Steam",
+        "active_players": 715531,
+        "weekly_points": 697,
+        "monthly_points": 7369,
+        "yearly_points": 44291,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 8,
+        "name": "EA SPORTS FC 24",
+        "platform": "Steam",
+        "active_players": 398998,
+        "weekly_points": 872,
+        "monthly_points": 5333,
+        "yearly_points": 81468,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    },
+    {
+        "id": 5,
+        "name": "Baldur's Gate 3",
+        "platform": "Steam",
+        "active_players": 296988,
+        "weekly_points": 352,
+        "monthly_points": 3595,
+        "yearly_points": 62260,
+        "created_at": "2026-05-18T21:57:31.000000Z",
+        "updated_at": "2026-05-18T21:57:31.000000Z"
+    }
+]
+ 
+
+ + +
+

+ Request    + +    + +

+

+ GET + api/v1/games/most-played +

+

Headers

+
+ Authorization   +  +   +   + +
+

Example: Bearer {YOUR_JWT_TOKEN}

+
+
+ Content-Type   +  +   +   + +
+

Example: application/json

+
+
+ Accept   +  +   +   + +
+

Example: application/json

+
+
+