4.0.0 • Published 5 years ago
@datafire/fantasydata_mlb_v3_rotoballer_articles v4.0.0
@datafire/fantasydata_mlb_v3_rotoballer_articles
Client library for MLB v3 RotoBaller Articles
Installation and Usage
npm install --save @datafire/fantasydata_mlb_v3_rotoballer_articleslet fantasydata_mlb_v3_rotoballer_articles = require('@datafire/fantasydata_mlb_v3_rotoballer_articles').create({
  apiKeyHeader: "",
  apiKeyQuery: ""
});
.then(data => {
  console.log(data);
});Description
Actions
RotoballerArticles
RotoBaller Articles
fantasydata_mlb_v3_rotoballer_articles.RotoballerArticles({
  "format": ""
}, context)Input
- input object- format required string(values: xml, json): Desired response format. Valid entries are XML or JSON.
 
- format required 
Output
- output array- items Article
 
RotoballerArticlesByDate
RotoBaller Articles By Date
fantasydata_mlb_v3_rotoballer_articles.RotoballerArticlesByDate({
  "format": "",
  "date": ""
}, context)Input
- input object- format required string(values: xml, json): Desired response format. Valid entries are XML or JSON.
- date required string: The date of the news.
 
- format required 
Output
- output array- items Article
 
RotoballerArticlesByPlayer
RotoBaller Articles By Player
fantasydata_mlb_v3_rotoballer_articles.RotoballerArticlesByPlayer({
  "format": "",
  "playerid": ""
}, context)Input
- input object- format required string(values: xml, json): Desired response format. Valid entries are XML or JSON.
- playerid required string: Unique FantasyData Player ID.
 
- format required 
Output
- output array- items Article
 
Definitions
Article
- Article object- ArticleID integer
- Author string
- Content string
- Players array- items PlayerInfo
 
- Source string
- TermsOfUse string
- Title string
- Updated string
- Url string
 
- ArticleID 
PlayerInfo
- PlayerInfo object- Name string
- PlayerID integer
- Position string
- Team string
- TeamID integer
 
- Name