Skip to content

fazberry/worldcup-sweepstake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worldcup Sweepstake

Create json object with the sweepstake participants

Just create a json file with your participants details:

[{
    "code": "RUS",
    "participant": {
        "country" : "Russia",
    	"name" : "Ben",
    	"avatar" : "URL"
    }
},
{
    "code": "KSA",
    "participant": {
        "country" : "Saudi Arabia",
    	"name" : "Jenna",
    	"avatar" : "URL"
    }
},
{
    "code": "EGY",
    "participant": {
        "country" : "Eygpt",
    	"name" : "Paul",
    	"avatar" : "URL"
    }
}

Using these api's for the knockout stages https://github.com/lsv/fifa-worldcup-2018 and this one for https://worldcup.sfg.io for todays matches (as it is updated every minute) and the group stages.

Here is a working demo