8000 GitHub - kevinquinnyo/EspnFF: An attempt at an API Client for ESPN Fantasy Football Leagues
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevinquinnyo/EspnFF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EspnFF

API for ESPN Fantasy Football Leagues

ESPN, why do you not make these endpoints publically accessible?

Why do you not have a real public API for us to consume? :(

Anyway, current usage:

$config = [
    'auth' => [
        'username' => 'YOUR_ESPN_USERNAME_HERE',
        'password' => 'YOUR_ESPN_PASSWORD_HERE',
    ],
    'leagueId' => 123456,
    'seasonId' => 2017,
];

$espn = new Espn($config);
$response = $espn->getClient()->request('GET', 'scoreboard');

print_r((string)$response->getBody());

Sadly, this is mostly all I can do for now. It would be awesome if ESPN would at least expose a read-only (GET only) API for us 😭

About

An attempt at an API Client for ESPN Fantasy Football Leagues

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0