{"id":20538325,"url":"https://github.com/celtian/soccerbot","last_synced_at":"2025-04-14T07:50:31.554Z","repository":{"id":43755187,"uuid":"341693588","full_name":"Celtian/soccerbot","owner":"Celtian","description":"Library for scraping soccer data from the internet","archived":false,"fork":false,"pushed_at":"2024-08-23T21:43:43.000Z","size":2274,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T21:23:22.266Z","etag":null,"topics":["library","typescript"],"latest_commit_sha":null,"homepage":"","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/Celtian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-23T21:21:27.000Z","updated_at":"2025-03-12T14:08:46.000Z","dependencies_parsed_at":"2024-08-23T22:43:26.919Z","dependency_job_id":"112c86f2-3fd6-443c-bcef-03c6d4c2c4dd","html_url":"https://github.com/Celtian/soccerbot","commit_stats":{"total_commits":65,"total_committers":2,"mean_commits":32.5,"dds":0.4769230769230769,"last_synced_commit":"faee9ec3a5f504dd1aaf3e189a3c1b8fa4cded5d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fsoccerbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fsoccerbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fsoccerbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fsoccerbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Celtian","download_url":"https://codeload.github.com/Celtian/soccerbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844032,"owners_count":21170486,"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":["library","typescript"],"created_at":"2024-11-16T00:46:18.688Z","updated_at":"2025-04-14T07:50:31.532Z","avatar_url":"https://github.com/Celtian.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Celtian/soccerbot\" target=\"blank\"\u003e\u003cimg src=\"assets/logo.svg?sanitize=true\" alt=\"\" width=\"120\"\u003e\u003c/a\u003e\n  \u003ch1 align=\"center\"\u003eSoccerBot\u003c/h1\u003e\n\u003c/p\u003e\n\n[![npm version](https://badge.fury.io/js/soccerbot.svg)](https://badge.fury.io/js/soccerbot)\n[![Package License](https://img.shields.io/npm/l/soccerbot.svg)](https://www.npmjs.com/soccerbot)\n[![NPM Downloads](https://img.shields.io/npm/dm/soccerbot.svg)](https://www.npmjs.com/soccerbot)\n[![Build \u0026 Publish](https://github.com/celtian/soccerbot/workflows/Build%20\u0026%20Publish/badge.svg)](https://github.com/celtian/soccerbot/actions)\n[![codecov](https://codecov.io/gh/Celtian/soccerbot/branch/master/graph/badge.svg?token=1IRUKIKM0D)](https://codecov.io/gh/celtian/soccerbot/)\n[![stars](https://badgen.net/github/stars/celtian/soccerbot)](https://github.com/celtian/soccerbot/)\n[![forks](https://badgen.net/github/forks/celtian/soccerbot)](https://github.com/celtian/soccerbot/)\n[![HitCount](http://hits.dwyl.com/celtian/soccerbot.svg)](http://hits.dwyl.com/celtian/soccerbot)\n\n\u003e Library for scraping soccer data from the internet\n\n## 🛠️ Install\n\n_Nodejs 12 or higher need to be installed first_\n\n```terminal\nnpm install soccerbot\n```\n\nor\n\n```terminal\nyarn add soccerbot\n```\n\n## 🚀 Quick start\n\n_Type this into your ts file._\n\n```terminal\nimport { soccerway, transfermarkt, fotbalunas, eurofotbal, sportnet } from 'soccerbot';\n\nconsole.log(soccerway.teamUrl('533')); // show url\n\nsoccerway.team('533')\n  .then(res =\u003e console.log(res));\n\nconsole.log(transfermarkt.teamUrl('62')); // show url\n\ntransfermarkt.team('62')\n  .then(res =\u003e console.log(res));\n\nconsole.log(fotbalunas.teamUrl('62')); // show url\n\nfotbalunas.team('62')\n  .then(res =\u003e console.log(res));\n\nconsole.log(eurofotbal.teamUrl('cesko/sparta-praha')); // show url\n\neurofotbal.team('cesko/sparta-praha')\n  .then(res =\u003e console.log(res));\n\nconsole.log(sportnet.teamUrl('fk-inter-bratislava/tim/46770')); // show url\n\nsportnet.team('fk-inter-bratislava/tim/46770')\n  .then(res =\u003e console.log(res));\n```\n\n## 🛠️ Sources\n\n| Source            | Speed  | Stability | Coverage       |\n| ----------------- | ------ | --------- | -------------- |\n| **transfermarkt** | ⚽⚽⚽ | ⚽⚽⚽    | World          |\n| **soccerway**     | ⚽     | ⚽        | World          |\n| **fotbalunas**    | ⚽     | ⚽⚽⚽    | Czech Republic |\n| **eurofotbal**    | ⚽⚽   | ⚽⚽      | Europe         |\n| **sportnet**      | ⚽     | ⚽        | Slovakia       |\n\n_Note: Soccerway, Fotbalunas and sportnet is taking data from multiple pages, so it takes longer period of time. The reason is to prevent rare limit (30 sec on average)._\n\n## 🪪 License\n\nCopyright \u0026copy; 2021 - 2024 [Dominik Hladik](https://github.com/Celtian)\n\nAll contents are licensed under the [MIT license].\n\n[mit license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Fsoccerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceltian%2Fsoccerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Fsoccerbot/lists"}