PHP code example of kenjdavidson / oauth-yahoofantasysports
1. Go to this page and download the library: Download kenjdavidson/oauth-yahoofantasysports library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kenjdavidson / oauth-yahoofantasysports example snippets
/index.php - Displays the link to request OAuth2 or the token itself.
/config.php - Requires creation, follow structure in index.php
/games.php - Displays games JSON
/leagues.php - Displays leagues JSON
/teams.php - Displays teams JSON