{"id":21516614,"url":"https://github.com/onlyf0ur/csgo-stats","last_synced_at":"2026-06-10T07:31:06.697Z","repository":{"id":62421819,"uuid":"309614572","full_name":"OnlyF0uR/CSGO-Stats","owner":"OnlyF0uR","description":"A simple wrapper for the CSGO API from TNR.","archived":false,"fork":false,"pushed_at":"2021-09-03T09:07:43.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T03:01:55.046Z","etag":null,"topics":["csgo","deno","deno-module","denoland","wrapper"],"latest_commit_sha":null,"homepage":"https://deno.land/x/csgo_stats","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OnlyF0uR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-03T08:02:24.000Z","updated_at":"2021-09-03T09:07:45.000Z","dependencies_parsed_at":"2022-11-01T17:31:23.690Z","dependency_job_id":null,"html_url":"https://github.com/OnlyF0uR/CSGO-Stats","commit_stats":null,"previous_names":["jerskisnow/csgo-stats"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FCSGO-Stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FCSGO-Stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FCSGO-Stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnlyF0uR%2FCSGO-Stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OnlyF0uR","download_url":"https://codeload.github.com/OnlyF0uR/CSGO-Stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066469,"owners_count":20392451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csgo","deno","deno-module","denoland","wrapper"],"created_at":"2024-11-24T00:23:22.470Z","updated_at":"2025-12-11T21:09:14.370Z","avatar_url":"https://github.com/OnlyF0uR.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSGO Stats\nA simple wrapper for the CSGO API from TNR.\n\n### Getting started\n1. Create an app on [tracker.gg](https://tracker.gg/developers/docs/getting-started)\n2. Fill in all the required information.\n3. Copy the api key.\n\nYou can now follow the example below.\n\n### Example\n```ts\nimport { Stats, Player, Playtime } from 'https://deno.land/x/csgo_stats@v1.1.0/mod.ts';\n\nconst stats: Stats = new Stats({\n    apiKey: 'api-key'\n});\n\nconst player: Player | null = await stats.fetchPlayer('some-player-id');\nif (player == null) {\n    console.log('No data found');\n} else {\n    console.log(player.kills);\n    console.log(player.deaths);\n    // Etc.\n\n    const playtime: Playtime = player.getPlayedTime();\n    console.log(playtime.getDays(), playtime.getHours(), playtime.getMinutes(), playtime.getSeconds());\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyf0ur%2Fcsgo-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonlyf0ur%2Fcsgo-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonlyf0ur%2Fcsgo-stats/lists"}