API for teams we've played

We will try and answer Questions in this forum. If you are having any issues with iScore Baseball, this is probably the best place to start. You can also search historical posts here.
Post Reply
dhardy123
Posts: 13
Joined: Fri Apr 05, 2013 12:47 pm

API for teams we've played

Post by dhardy123 » Fri Apr 19, 2013 11:34 am

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
User avatar
FTMSupport
Site Admin
Posts: 13193
Joined: Sat Mar 28, 2009 7:25 pm

Re: API for teams we've played

Post by FTMSupport » Fri Apr 19, 2013 11:57 am

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
dhardy123
Posts: 13
Joined: Fri Apr 05, 2013 12:47 pm

Re: API for teams we've played

Post by dhardy123 » Fri Apr 19, 2013 12:01 pm

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?
User avatar
FTMSupport
Site Admin
Posts: 13193
Joined: Sat Mar 28, 2009 7:25 pm

Re: API for teams we've played

Post by FTMSupport » Fri Apr 19, 2013 1:00 pm

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>
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
dhardy123
Posts: 13
Joined: Fri Apr 05, 2013 12:47 pm

Re: API for teams we've played

Post by dhardy123 » Fri Apr 19, 2013 1:04 pm

I wanted to create my own with new/different stats.

Thanks
Post Reply