danabrey/rookies-api

PHP wrapper for NFL rookies data JSON API at https://rookies.abrey.dev

1.0.3 2020-05-02 13:21 UTC

This package is auto-updated.

Last update: 2024-10-29 05:53:21 UTC


README

Object-oriented PHP package for reading data from my rookies data API at https://rookies.abrey.dev.

Build Status

Installation

Via Composer:

composer require danabrey/rookies-api

Usage

Player data:

use DanAbrey\RookiesApi\Client;

$stats = new Client();
$player = $stats->getPlayer('jerry-jeudy');

The return from getPlayer() will be a Player object.

Contributing/Contact

Please feel free to raise issues or open pull requests with suggestions on how to improve this project. For any informal questions, find me on Twitter at @danabrey.

License

License