{"id":20000091,"url":"https://github.com/skippyza/irstats","last_synced_at":"2026-02-01T20:02:32.805Z","repository":{"id":80304184,"uuid":"367425641","full_name":"SkippyZA/irstats","owner":"SkippyZA","description":"A Golang wrapper for retrieving data from iRacing","archived":false,"fork":false,"pushed_at":"2024-07-09T18:01:40.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-04T14:47:19.475Z","etag":null,"topics":["golang","golang-library","iracing","iracing-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/SkippyZA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-05-14T16:49:00.000Z","updated_at":"2023-05-03T20:09:00.000Z","dependencies_parsed_at":"2025-05-04T14:45:13.495Z","dependency_job_id":null,"html_url":"https://github.com/SkippyZA/irstats","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/SkippyZA/irstats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkippyZA%2Firstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkippyZA%2Firstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkippyZA%2Firstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkippyZA%2Firstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkippyZA","download_url":"https://codeload.github.com/SkippyZA/irstats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkippyZA%2Firstats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262139857,"owners_count":23265245,"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":["golang","golang-library","iracing","iracing-api"],"created_at":"2024-11-13T05:13:46.996Z","updated_at":"2026-02-01T20:02:32.765Z","avatar_url":"https://github.com/SkippyZA.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# irstats\n\n[![Linters](https://github.com/SkippyZA/irstats/actions/workflows/lint.yml/badge.svg?branch=master)](https://github.com/SkippyZA/irstats/actions/workflows/lint.yml)\n[![Test](https://github.com/SkippyZA/irstats/actions/workflows/test.yml/badge.svg)](https://github.com/SkippyZA/irstats/actions/workflows/test.yml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/skippyza/irstats.svg)](https://pkg.go.dev/github.com/skippyza/irstats)\n[![Go Report Card](https://goreportcard.com/badge/github.com/skippyza/irstats)](https://goreportcard.com/report/github.com/skippyza/irstats)\n[![codecov](https://codecov.io/gh/SkippyZA/irstats/branch/master/graph/badge.svg?token=8S1FT6QP50)](https://codecov.io/gh/SkippyZA/irstats)\n\nThis package is an API \"wrapper\" for retrieving data from iRacing. We use the term \"wrapper\" loosely as iRacing does not yet have an officially documented API; However, we've done our best to build something that might resemble one.\n\nThe goal of this project is to provide access to iRacing stats in a manner that is convienent, flexible, and efficient. In using this package, if you find something in its design that goes against these goals, we want to know.\n\n## Usage\n\n```go\nimport \"github.com/skippyza/irstats\"\n```\n\nConstruct a new irstats client, then make a request to fetch data from iRacing.\n```go\nirUsername := \"\u003cemail address\u003e\"\nirPassword := \"\u003cpassword\u003e\"\n\nclient, err := irstats.NewClient(irUsername, irPassword)\nif err != nil {\n  log.Fatalf(\"Failed to create client: %v\", err)\n}\n\nsubSessionID := \"1000\"\ncustomerID := \"1234\"\ndata, _, err := client.SubSessionData(\u0026subSessionID, \u0026customerID)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskippyza%2Firstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskippyza%2Firstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskippyza%2Firstats/lists"}