Page 1 of 1

API for teams we've played

Posted: Fri Apr 19, 2013 11:34 am
by dhardy123
I have a parser that parses all of the available APIs but for the "gamestats" api, I only get my team. Can the API include the gamestats for both teams? I want to store my opponents stats so I can do pitcher vs batter comparisons, etc.

I have tried changing the "&t" option to the opposing team but it didnt work. Similarily, I tried the cumulative stats and playerstats apis to get opponents stats versus us with no results.

I guess I could use gamedetails to calcuate all of this but I was hoping for a simpler solution.

Thanks

Re: API for teams we've played

Posted: Fri Apr 19, 2013 11:57 am
by FTMSupport
The Team Website API is only to pull in the stats for the team your website is for.

Re: API for teams we've played

Posted: Fri Apr 19, 2013 12:01 pm
by dhardy123
Thanks for the reply.

Is there any way of getting the other team's stats. For example, how can I recreate a boxscore for both teams?

Re: API for teams we've played

Posted: Fri Apr 19, 2013 1:00 pm
by FTMSupport
You can include the link directly to the Box Score page in a website if you would like. The link would be:

http://iscoresoftball.com/boxscore.php? ... ToDisplay>

Re: API for teams we've played

Posted: Fri Apr 19, 2013 1:04 pm
by dhardy123
I wanted to create my own with new/different stats.

Thanks