yahoo-fantasy
Version:
An API to help facilitate the use of the Yahoo! Fantasy Sports API in NodeJS projects.
4 lines (2 loc) • 612 B
JavaScript
exports.meta = {"fantasy_content":{"xml:lang":"en-US","yahoo:uri":"\/fantasy\/v2\/game\/328\/metadata","game":[{"game_key":"328","game_id":"328","name":"Baseball","code":"mlb","type":"full","url":"http:\/\/baseball.fantasysports.yahoo.com\/archive\/mlb\/2014","season":"2014","is_registration_over":1}],"time":"20.011901855469ms","copyright":"Data provided by Yahoo! and STATS, LLC","refresh_rate":"31"}};
exports.invalid = { statusCode: 400, data: '{"error":{"xml:lang":"en-us","yahoo:uri":"\\/fantasy\\/v2\\/game\\/MBL\\/metadata?format=json","description":"Invalid game key provided - mbl","detail":""}}' };