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
API for teams we've played
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: API for teams we've played
The Team Website API is only to pull in the stats for the team your website is for.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: API for teams we've played
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?
Is there any way of getting the other team's stats. For example, how can I recreate a boxscore for both teams?
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: API for teams we've played
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>
http://iscoresoftball.com/boxscore.php? ... ToDisplay>
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: API for teams we've played
I wanted to create my own with new/different stats.
Thanks
Thanks