UNPKG

yahoo-fantasy

Version:

An API to help facilitate the use of the Yahoo! Fantasy Sports API in NodeJS projects.

6 lines (5 loc) 1.39 kB
module.exports = { "meta": {"fantasy_content":{"xml:lang":"en-US","yahoo:uri":"\/fantasy\/v2\/league\/328.l.34014\/metadata","league":[{"league_key":"328.l.34014","league_id":"34014","name":"Freddy Beach Baseball","url":"http:\/\/baseball.fantasysports.yahoo.com\/archive\/mlb\/2014\/34014","league_chat_id":"","draft_status":"postdraft","num_teams":12,"edit_key":"2015-09-20","weekly_deadline":"intraday","league_update_timestamp":"1411979069","scoring_type":"head","league_type":"private","renew":"308_51222","renewed":"346_1106","short_invitation_url":"https:\/\/yho.com\/mlb?l=34014&k=0a2bf56970bb200c","is_pro_league":"0","current_week":"25","start_week":"1","start_date":"2014-03-22","end_week":"25","end_date":"2014-09-28","is_finished":1,"game_code":"mlb","season":"2014"}],"time":"47.31297492981ms","copyright":"Data provided by Yahoo! and STATS, LLC","refresh_rate":"31"}}, "private": { statusCode: 400, data: '{"error":{"xml:lang":"en-us","yahoo:uri":"\\/fantasy\\/v2\\/league\\/328.l.24281\\/metadata?format=json","description":"You are not allowed to view this page because you are not in this league.","detail":""}}' }, "invalid": { statusCode: 400, data: '{"error":{"xml:lang":"en-us","yahoo:uri":"\\/fantasy\\/v2\\/league\\/328.l.242811\\/metadata?format=json","description":"There was a temporary problem with the server. Please try again shortly.","detail":""}}' } };