FanFeedr Developer Blog

API Update: v1 Deprecation, New Documentation, Added Functionality

We pushed a few API-related updates today that we would like to telll you about. 

Deprecation

Support for API v1 has been turned off. If anyone needs assistance migrating to the current version of our API, please post to our forums here.

Documentation

We have adopted Mashery's new I/O Docs format for our documentation.

We're really excited about this implementation as it allows developers to execute live calls directly from any of the methods listed in our documentation.

API Updates

We have pushed the following updates:

(1) Events/:id/lineup method

This method returns a complete lineup, when available, for a given event id member. 

Note: This call is currently only available for MLB. We will be adding support for other leagues soon. For MLB, probably pitchers are included in the returns.

Format:

[{"player": "player_id",

"confirmed": false,

"team": "team_id",

"position": "SP",

"batting_order": null},

...]

(2) Improved MLB boxscores

The returns have been enhanced to include extended batting, pitching, and fielding data.

(3) Augmented Team/:id returns

These returns now include additional information such as "mascot" and "team colors". Nicknames for all teams have also been supplemented.

Feedback

Please let us know what you think of our new documentation and API features.

Cheers,

Benn

On behalf of the FanFeedr API team

1 Comment

  1. jorge9 months ago

    I think this way of documentation for a rest api is perfect. Thanks

Please sign in to post a comment.