2017 © Pedro Peláez
 

library oauth-yahoofantasysports

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

image

kenjdavidson/oauth-yahoofantasysports

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

  • Saturday, October 28, 2017
  • by kenjdavidson
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

kenjdavidson/oauth-yahoofantasysports

Provides League/oauth2-client provider and resources to communicate specifically with the Yahoo! Fantasy Sports API. The YahooFantasyService provides basic calls to Games, Leagues and Teams collections; custom calls can be made through the as well. Data is returned as: League/oauth2-client/ResourceOwnerInterface, (*1)

Installation

Package is available on composer: https://packagist.org/packages/kenjdavidson/oauth-yahoofantasysports, (*2)

"require": {
  "composer/installers": "v1.4.0",
  "kenjdavidson/oauth-yahoofantasysports": "dev-master"
}

Development

To get the project:, (*3)

1) fork/clone https://github.com/kenjdavidson/oauth-yahoofantasysports.git 2) install composer (https://getcomposer.org/doc/00-intro.md) 3) go, (*4)

Prerequisites

The following are required:, (*5)

1) Composer, (*6)

Running the tests

Examples and Tests (todo) are available for a number of resources., (*7)

Examples

Currently the examples are physical pages that need to be manually loaded and validated. This is a painful process but I didn't have much experience with PHP at the time and hadn't gotten around to writing tests. I'm thinking of coming back to this project to get a little more experience so actual tests may be incoming., (*8)

/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

Testing

TODO - actually learn how to write PHP tests, (*9)

Contributing

Always looking for contributions, whether it be bug fixes, features or code review. Feel free to pull request if you feel like you're adding any kind of benefit., (*10)

License

This project is licensed under the MIT License., (*11)

Acknowledgments

  • League/oauth2-client (https://github.com/thephpleague/oauth2-client)
  • Hayageek/oauth2-yahoo (https://github.com/hayageek/oauth2-yahoo)

The Versions

28/10 2017

dev-master

9999999-dev

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

  Sources   Download

The Requires

 

The Development Requires

by kendavidson

13/10 2017

0.2.2

0.2.2.0

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

  Sources   Download

The Requires

 

The Development Requires

by kendavidson

12/10 2017

0.2.1

0.2.1.0

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

  Sources   Download

The Requires

 

The Development Requires

by kendavidson

12/10 2017

0.2.0

0.2.0.0

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

  Sources   Download

The Requires

 

The Development Requires

by kendavidson

24/09 2017

0.1.0

0.1.0.0

Provide OAuth2 providers and services for use with Yahoo! Fantasy Sports API.

  Sources   Download

The Requires

 

The Development Requires

by kendavidson