Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create landing page endpoint #26

Open
mack-anderson opened this issue Aug 1, 2021 · 0 comments
Open

create landing page endpoint #26

mack-anderson opened this issue Aug 1, 2021 · 0 comments
Assignees

Comments

@mack-anderson
Copy link
Collaborator

mack-anderson commented Aug 1, 2021

example format:
-players contains top 9 players by fantasy score in descending order
-each of the remaining lists contains the top 9 players in each respective stat in descending order

{        "players":[
            {"rank":1, "firstName":"Connor", "lastName":"McDavid", "playerId":8478402, "team":"edm"},
            {"rank":2, "firstName":"Leon", "lastName":"Draisaitl", "playerId":8477934, "team":"edm"},
            {"rank":3, "firstName":"Brad", "lastName":"Marchand", "playerId":8473419, "team":"bos"},
            {"rank":4, "firstName":"Mitchell", "lastName":"Marner", "playerId":8478483, "team":"tor"},
            {"rank":5, "firstName":"Mikko", "lastName":"Rantanen", "playerId":8478420, "team":"col"},
            {"rank":6, "firstName":"Patrick", "lastName":"Kane", "playerId":8474141, "team":"chi"},
            {"rank":7, "firstName":"Auston", "lastName":"Matthews", "playerId":8479318, "team":"tor"},
            {"rank":8, "firstName":"Nathan", "lastName":"MacKinnon", "playerId":8477492, "team":"col"},
            {"rank":9, "firstName":"Mark", "lastName":"Scheifele", "playerId":8476460, "team":"win"}
        ],
        "points":[
            {"statVal":"105", "firstName":"Connor", "lastName":"McDavid", "playerId":8478402},
            {"statVal":"84", "firstName":"Leon", "lastName":"Draisaitl", "playerId":8477934},
            {"statVal":"69", "firstName":"Brad", "lastName":"Marchand", "playerId":8473419},
            {"statVal":"67", "firstName":"Mitchell", "lastName":"Marner", "playerId":8478483},
            {"statVal":"66", "firstName":"Mikko", "lastName":"Rantanen", "playerId":8478420},
            {"statVal":"66", "firstName":"Patrick", "lastName":"Kane", "playerId":8474141},
            {"statVal":"66", "firstName":"Auston", "lastName":"Matthews", "playerId":8479318},
            {"statVal":"65", "firstName":"Nathan", "lastName":"MacKinnon", "playerId":8477492},
            {"statVal":"63", "firstName":"Mark", "lastName":"Scheifele", "playerId":8476460}
        ],
        "goals":[
            {"statVal":"105", "firstName":"Connor", "lastName":"McDavid", "playerId":8478402},
            {"statVal":"84", "firstName":"Leon", "lastName":"Draisaitl", "playerId":8477934},
            {"statVal":"69", "firstName":"Brad", "lastName":"Marchand", "playerId":8473419},
            {"statVal":"67", "firstName":"Mitchell", "lastName":"Marner", "playerId":8478483},
            {"statVal":"66", "firstName":"Mikko", "lastName":"Rantanen", "playerId":8478420},
            {"statVal":"66", "firstName":"Patrick", "lastName":"Kane", "playerId":8474141},
            {"statVal":"66", "firstName":"Auston", "lastName":"Matthews", "playerId":8479318},
            {"statVal":"65", "firstName":"Nathan", "lastName":"MacKinnon", "playerId":8477492},
            {"statVal":"63", "firstName":"Mark", "lastName":"Scheifele", "playerId":8476460}
        ],
        "assists":[
            {"statVal":"105", "firstName":"Connor", "lastName":"McDavid", "playerId":8478402},
            {"statVal":"84", "firstName":"Leon", "lastName":"Draisaitl", "playerId":8477934},
            {"statVal":"69", "firstName":"Brad", "lastName":"Marchand", "playerId":8473419},
            {"statVal":"67", "firstName":"Mitchell", "lastName":"Marner", "playerId":8478483},
            {"statVal":"66", "firstName":"Mikko", "lastName":"Rantanen", "playerId":8478420},
            {"statVal":"66", "firstName":"Patrick", "lastName":"Kane", "playerId":8474141},
            {"statVal":"66", "firstName":"Auston", "lastName":"Matthews", "playerId":8479318},
            {"statVal":"65", "firstName":"Nathan", "lastName":"MacKinnon", "playerId":8477492},
            {"statVal":"63", "firstName":"Mark", "lastName":"Scheifele", "playerId":8476460}
        ],
        "toi/gp":[
            {"statVal":"26:23", "firstName":"Drew", "lastName":"Doughty", "playerId":8474563},
            {"statVal":"26:17", "firstName":"Thomas", "lastName":"Chabot", "playerId":8478469},
            {"statVal":"26:09", "firstName":"Brent", "lastName":"Burns", "playerId":8470613},
            {"statVal":"25:38", "firstName":"Darnell", "lastName":"Nurse", "playerId":8477498},
            {"statVal":"25:14", "firstName":"Seth", "lastName":"Jones", "playerId":8477495},
            {"statVal":"25:05", "firstName":"Aaron", "lastName":"Ekblad", "playerId":8477932},
            {"statVal":"25:03", "firstName":"Victor", "lastName":"Hedman", "playerId":8475167},
            {"statVal":"25:00", "firstName":"Ivan", "lastName":"Provorov", "playerId":8478500},
            {"statVal":"24:58", "firstName":"Miro", "lastName":"Heiskanen", "playerId":8480036}
        ],
        "sv%":[
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"0.931", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956}
        ],
        "gaa":[
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956},
            {"statVal":"1.36", "firstName":"David", "lastName":"Pastrnak", "playerId":8477956}
        ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants