All Projects → lsv → Fifa Worldcup 2018

lsv / Fifa Worldcup 2018

Licence: mit
FIFA Worldcup 2018 - json data

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fifa Worldcup 2018

Jsonlite
A simple, self-contained, serverless, zero-configuration, json document store.
Stars: ✭ 819 (+144.48%)
Mutual labels:  json, json-data
Lazyjson
A very fast, very lazy JSON parser for Java.
Stars: ✭ 55 (-83.58%)
Mutual labels:  json, json-data
Jsonpath Rs
JSONPath for Rust
Stars: ✭ 31 (-90.75%)
Mutual labels:  json, json-data
Data
This repository contains general data for Web technologies
Stars: ✭ 418 (+24.78%)
Mutual labels:  json, json-data
Json Decoder
JsonDecoder implementation that allows you to convert your JSON data into PHP class objects
Stars: ✭ 109 (-67.46%)
Mutual labels:  json, json-data
Jsonq
A PHP query builder for JSON
Stars: ✭ 729 (+117.61%)
Mutual labels:  json, json-data
Univalue
High performance RAII C++ JSON library and universal value object class
Stars: ✭ 46 (-86.27%)
Mutual labels:  json, json-data
Ems
Extended Memory Semantics - Persistent shared object memory and parallelism for Node.js and Python
Stars: ✭ 552 (+64.78%)
Mutual labels:  json, json-data
Json Node Normalizer
'json-node-normalizer' - NodeJS module that normalize json data types from json schema specifications.
Stars: ✭ 105 (-68.66%)
Mutual labels:  json, json-data
Jquery Jsontotable
This plugin can convert JSON data type to table for html. JSON is used primarily to transmit data between a server and web application, as an alternative to XML. In these reasons todays many applications use json data format for data transferring. And you need json to table converter for html display.
Stars: ✭ 69 (-79.4%)
Mutual labels:  json, json-data
Json To Html Table
Simple Json to standard HTML table converter in fastest way
Stars: ✭ 367 (+9.55%)
Mutual labels:  json, json-data
Kazaam
Arbitrary transformations of JSON in Golang
Stars: ✭ 184 (-45.07%)
Mutual labels:  json, json-data
Chinese Xinhua
📙 中华新华字典数据库。包括歇后语,成语,词语,汉字。
Stars: ✭ 8,705 (+2498.51%)
Mutual labels:  json, json-data
Dictfier
Python library to convert/serialize class instances(Objects) both flat and nested into a dictionary data structure. It's very useful in converting Python Objects into JSON format
Stars: ✭ 67 (-80%)
Mutual labels:  json, json-data
Groq
Specification for GROQ - Graph-Relational Object Queries
Stars: ✭ 117 (-65.07%)
Mutual labels:  json, json-data
Miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
Stars: ✭ 4,633 (+1282.99%)
Mutual labels:  json, json-data
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+960.6%)
Mutual labels:  json
Jk
Configuration as Code with ECMAScript
Stars: ✭ 322 (-3.88%)
Mutual labels:  json
Swift Extras Json
JSON encoding and decoding without the use of Foundation in pure Swift.
Stars: ✭ 317 (-5.37%)
Mutual labels:  json
Mongo Sql
An extensible SQL generation library for JavaScript with a focus on introspectibility
Stars: ✭ 314 (-6.27%)
Mutual labels:  json

FIFA Worldcup 2018 - json data

Build Status

Thank you all!

Congrats France, well deserved!

Thank you for the support, I got really amazed when this little json file got 100 stars, and now its 324 stars!

So what have I actually learned,

First 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.

I 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.

Anyways, 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!

Thank you all

This 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

Thanks again for the support!

Usage

To use the data in your app, you can use this link

https://raw.githubusercontent.com/lsv/fifa-worldcup-2018/master/data.json

Which will be updated

Data explanation

Match types

group

Means its a regular group match

qualified

Means 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.

Eg: 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.

winner

home_team and away_team will be a integer, meaning it should take the winner of the match.

Eg: home_team = 59 - means the winning team from match 59 will be the home_team

loser

The opposite of the winner key (Only used for 3rd place play-off)

Eg: home_team = 62 means the losing team from match 62 will be the home_team

TV Channels

Each match has a array of channels. The tv channels will be defined in the json file aswell.

Knockout matches

Knockout matches can not end in a draw, so therefor a knockout match have the following

"home_result": null,
"away_result": null,
"home_penalty": null,
"away_penalty": null,
"winner": null,

When a match is completed it will look like this

"home_result": 0,
"away_result": 1,
"home_penalty": null,
"away_penalty": null,
"winner": <TEAM ID>,

The "winner" field will have either <TEAM ID>.

If a team wins after overtime, the result will be the same as above.

If a knockout match goes to penalty the result will be

"home_result": 1,
"away_result": 1,
"home_penalty": 5,
"away_penalty": 4,
"winner": <TEAM ID>,

Frontend

Not very nice, but works - and you can try to see what happens with your expected results

https://github.com/lsv/fifa-worldcup-2018-jsfrontend

https://worldcup.aarhof.eu/#/

Todo

  • More TV channels(?) - Need help from anywhere on the world :)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].