{"id":18487493,"url":"https://github.com/lsv/fifa-worldcup-2018","last_synced_at":"2026-01-31T11:34:52.371Z","repository":{"id":73985834,"uuid":"113117530","full_name":"lsv/fifa-worldcup-2018","owner":"lsv","description":"FIFA Worldcup 2018 - json data","archived":false,"fork":false,"pushed_at":"2019-10-04T13:53:26.000Z","size":325,"stargazers_count":332,"open_issues_count":1,"forks_count":95,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-11-06T12:59:57.704Z","etag":null,"topics":["json","json-data","soccer","worldcup2018"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lsv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-12-05T01:48:45.000Z","updated_at":"2024-10-10T10:58:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d908b73f-e71f-4044-8823-205acf4239a3","html_url":"https://github.com/lsv/fifa-worldcup-2018","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsv%2Ffifa-worldcup-2018","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsv%2Ffifa-worldcup-2018/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsv%2Ffifa-worldcup-2018/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsv%2Ffifa-worldcup-2018/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsv","download_url":"https://codeload.github.com/lsv/fifa-worldcup-2018/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247922873,"owners_count":21018876,"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":["json","json-data","soccer","worldcup2018"],"created_at":"2024-11-06T12:50:30.750Z","updated_at":"2026-01-31T11:34:52.360Z","avatar_url":"https://github.com/lsv.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# FIFA Worldcup 2018 - json data\n\n[![Build Status](https://travis-ci.org/lsv/fifa-worldcup-2018.svg?branch=master)](https://travis-ci.org/lsv/fifa-worldcup-2018)\n\n## Thank you all!\n\nCongrats France, well deserved!\n\nThank you for the support, I got really amazed when this little json file got 100 stars, and now its 324 stars!\n\nSo what have I actually learned,\n\nFirst of all, be prepared on the json structure, with a better documentation, actually I never thought it would become so popular, so thats why I wasnt prepared enough.\n\nI just made this json data for my little own worldcup overview, and then I added github topic tags, and then it just exploded with stars. And those github topics is actually the only \"marketing\" I have made of this, no topics on reddit or any other place.\n\nAnyways, another thing I should have prepared to, is to use a lot \"faster\" and more relaible API to get the live scores, behind the scene, I have changed between 4 APIs, and I have made a LOT of manual labor also, and when I wasnt at home or saw a match with friends, thats where all you contributors where amazing!\n\nThank you [all](https://github.com/lsv/fifa-worldcup-2018/graphs/contributors)\n\nThis will properly be the last commit of this repo, I will keep it up for future reference, and maybe we will see each other again in 2 years when Europe Championship will be held in _Denmark_ :D\n\nThanks again for the support!\n\n## Usage\n\nTo use the data in your app, you can use this link\n\n`\nhttps://raw.githubusercontent.com/lsv/fifa-worldcup-2018/master/data.json\n`\n\nWhich will be updated\n\n## Data explanation\n\n### Match types\n\n#### group\n\nMeans its a regular group match\n\n\n#### qualified\n\nMeans it should look at the `home_team` and `away_team` fields where the code will be either `winner_X` or `runner_X` where `X` = the group key.\n\nEg: `winner_h` means the team will be the winner of the group H. `runner_b` means the team will be second placed team in the group B.\n\n#### winner\n\n`home_team` and `away_team` will be a integer, meaning it should take the winner of the match.\n\nEg: `home_team = 59` - means the winning team from match 59 will be the `home_team`\n\n#### loser\n\nThe opposite of the winner key (Only used for 3rd place play-off)\n\nEg: `home_team = 62` means the losing team from match 62 will be the `home_team`\n\n#### TV Channels\n\nEach match has a array of channels. The tv channels will be defined in the json file aswell.\n\n#### Knockout matches\n\nKnockout matches can not end in a draw, so therefor a knockout match have the following\n\n```\n\"home_result\": null,\n\"away_result\": null,\n\"home_penalty\": null,\n\"away_penalty\": null,\n\"winner\": null,\n```\n\nWhen a match is completed it will look like this\n\n```\n\"home_result\": 0,\n\"away_result\": 1,\n\"home_penalty\": null,\n\"away_penalty\": null,\n\"winner\": \u003cTEAM ID\u003e,\n```\n\nThe `\"winner\"` field will have either `\u003cTEAM ID\u003e`.\n\nIf a team wins after overtime, the result will be the same as above.\n\nIf a knockout match goes to penalty the result will be \n\n```\n\"home_result\": 1,\n\"away_result\": 1,\n\"home_penalty\": 5,\n\"away_penalty\": 4,\n\"winner\": \u003cTEAM ID\u003e,\n```\n\n## Frontend\n\nNot very nice, but works - and you can try to see what happens with your expected results\n\nhttps://github.com/lsv/fifa-worldcup-2018-jsfrontend\n\nhttps://worldcup.aarhof.eu/#/\n\n## Todo\n\n- More TV channels(?) - Need help from anywhere on the world :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsv%2Ffifa-worldcup-2018","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsv%2Ffifa-worldcup-2018","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsv%2Ffifa-worldcup-2018/lists"}