8000 GitHub - knekvasil/N.F.L.F.S.A: NFL Fixture Statistics Aggregator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

knekvasil/N.F.L.F.S.A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

N.F.L.F.S.A

The National Football League Fixture Statistics Aggregator.

Data Structure

In the script's current state, it produces a JSON file in the format:

{
   "<Week #>":[
      {
         "<Fixture Id>": {
            "player_data": {
               "<player_id>": {...},
               "<player_id>": {...},
               ...
            },
            "fixture_data": {
               "home_stat": {...},
               "vis_stat": {...}
            },
            "pbp_data": [
               {
                  "details": "...",
                  "players": [
                     ("<player_id>", "<player_name>"),
                     ("<player_id>", "<player_name>"),
                     ...
                  ]
               }
            ]
         }
      },
      {
         "<Fixture Id>": {
            "player_data": {
               "<player_id>": {...},
               "<player_id>": {...},
               ...
            },
            "fixture_data": {
               "home_stat": {...},
               "vis_stat": {...}
            },
            "pbp_data": [
               {
                  "details": "...",
                  "players": [
                     ("<player_id>", "<player_name>"),
                     ("<player_id>", "<player_name>"),
                     ...
                  ]
               }
            ]
         }
      },
      ...
   ]
}

Currently, data is only grabbed per individual week, but functionality can easily be expanded to process multiple weeks or years at a time.

Notice

Data sourced from Pro Footall Reference.

Do not violate any of PFR's Data Use and Bot Traffic policies. Any violations will possibly result in a site ban.

Due to necessary sleep() functions embedded in the code, this script will be too slow to be called from within another program and should be run independently.

About

NFL Fixture Statistics Aggregator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0