{"id":18268399,"url":"https://github.com/coreyjs/the-odds-api","last_synced_at":"2026-02-13T14:58:33.117Z","repository":{"id":258460484,"uuid":"873955850","full_name":"coreyjs/the-odds-api","owner":"coreyjs","description":"The-Odds-API.com Client","archived":false,"fork":false,"pushed_at":"2024-10-17T03:17:21.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T14:43:48.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/coreyjs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T02:22:41.000Z","updated_at":"2024-11-18T15:46:15.000Z","dependencies_parsed_at":"2024-10-21T12:07:13.039Z","dependency_job_id":null,"html_url":"https://github.com/coreyjs/the-odds-api","commit_stats":null,"previous_names":["coreyjs/the-odds-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/coreyjs/the-odds-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyjs%2Fthe-odds-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyjs%2Fthe-odds-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyjs%2Fthe-odds-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyjs%2Fthe-odds-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coreyjs","download_url":"https://codeload.github.com/coreyjs/the-odds-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyjs%2Fthe-odds-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29411136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-05T11:31:20.147Z","updated_at":"2026-02-13T14:58:33.094Z","avatar_url":"https://github.com/coreyjs.png","language":"Python","readme":"[![The-Odds-API](https://github.com/coreyjs/the-odds-api/actions/workflows/python-app.yml/badge.svg)](https://github.com/coreyjs/the-odds-api/actions/workflows/python-app.yml)\n\n\n# The Odds API (Unofficial) Client for the-odds-api.com\n\n(This is basically a rough draft.  Kinda quick and dirty for now)\n\nYou will need to acquire an API KEY from [The Odds API](https://the-odds-api.com/) to use this client.\n\n```python\npip install the-odds\n```\n\n### Contact\nIm available on [Bluesky](https://bsky.app/profile/coreyjs.dev) for any questions or just general chats about enhancements.\n\n\n# Installation and Setup\n```\npip install the-odds\n```\n\n```python\nfrom the_odds import OddsApiClient\n\nclient = OddsApiClient(api_key='your_key')\n\n# for debug logging and request logging\nclient = OddsApiClient(api_key='your_key', debug=True)\n```\n\n## Available Endpoints\n\n### Get Sports\n\n\u003cdetails\u003e\n    \u003csummary\u003eAPI Endpoint Info\u003c/summary\u003e\n\n**Endpoint:** `/v4/sports`  \n**Method:** GET  \n**Formats:** JSON\n\n\n| Param | Type | Ex           | Note |\n|-------|------|--------------|----|\n| all   | bool | True / False | Optional - if this parameter is set to true (all=true), a list of both in and out of season sports will be returned |\n\n\u003c/details\u003e\n\n```python\nsports = client.v4.get_sports()\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreyjs%2Fthe-odds-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoreyjs%2Fthe-odds-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreyjs%2Fthe-odds-api/lists"}