43 coaches online • Server time: 10:09
Index Search Usergroups Profile
Log in
Recent Forum Topics goto Post Free Blood Bowl Toke...goto Post Team Walesgoto Post Crowd funded teams &...
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
koadah



Joined: Mar 30, 2005

Post   Posted: Jul 25, 2016 - 02:53 Reply with quote Back to top

The api has some dice data
https://fumbbl.com/p/match?op=stats&id=3816790

_________________
Image
Secret League - SLUMBBL Shield - 16th November!
CastleMan



Joined: Apr 26, 2013

Post   Posted: Jul 25, 2016 - 05:29 Reply with quote Back to top

I wish I was smart enough to understand any of this. I am sure it is awesome. As always, thank you very much for your hard work Christer.
Traul



Joined: Jun 09, 2013

Post   Posted: Sep 05, 2016 - 00:31 Reply with quote Back to top

Is there a way to get the rosters at the beginning of a game? The replay file would do if that is available.
koadah



Joined: Mar 30, 2005

Post   Posted: Aug 11, 2017 - 13:08 Reply with quote Back to top

Is there a player api? One that would get a player by id and return his details and position record.

_________________
Image
Secret League - SLUMBBL Shield - 16th November!
Christer



Joined: Aug 02, 2003

Post   Posted: Aug 11, 2017 - 14:56
FUMBBL Staff
Reply with quote Back to top

koadah wrote:
Is there a player api? One that would get a player by id and return his details and position record.


Very few people have approached me regarding the API and queries. If you have something you're actively developing, get in touch in private and I'm sure we can figure something out.

Extending the API is relatively easy compared to other things on the site (GUI stuff in particular; huge pain in the behind to build reasonable GUIs).
koadah



Joined: Mar 30, 2005

Post   Posted: Aug 11, 2017 - 15:15 Reply with quote Back to top

Christer wrote:
koadah wrote:
Is there a player api? One that would get a player by id and return his details and position record.


Very few people have approached me regarding the API and queries. If you have something you're actively developing, get in touch in private and I'm sure we can figure something out.

Extending the API is relatively easy compared to other things on the site (GUI stuff in particular; huge pain in the behind to build reasonable GUIs).


Thanks Christer. I'll drop you a line.

_________________
Image
Secret League - SLUMBBL Shield - 16th November!
ignatzami



Joined: Aug 18, 2008

Post   Posted: Aug 11, 2017 - 19:57 Reply with quote Back to top

Christer,

I have a few questions about how the site does back-end validation, They're less API-centric, but the information might be useful to a few coaches. In short, I'm curious if it would be possible to send an XML blob to an endpoint and update a league team as if a game was just played.

I'm trying to get around the need for 12+ builder games against a Snotling team every season for the Draft leagues.
koadah



Joined: Mar 30, 2005

Post   Posted: Aug 11, 2017 - 20:31 Reply with quote Back to top

Why do you need 12+ builder games?

_________________
Image
Secret League - SLUMBBL Shield - 16th November!
ignatzami



Joined: Aug 18, 2008

Post   Posted: Aug 11, 2017 - 21:22 Reply with quote Back to top

koadah wrote:
Why do you need 12+ builder games?


Newly drafted team, with several big guys at 100+ spp.
razmus



Joined: Jun 23, 2017

Post   Posted: Nov 02, 2017 - 13:50 Reply with quote Back to top

Using the 'old' API, I can run a query:
> http://fumbbl.com/xml:teams?coach=razmus
Which will give me all my teams (in alpha order), but returns <rating> and <strength> rather than <team_value>.

By any chance, is there an equivalent command in the new API that would let me use https, include team_values, spit out the data in JSON?
Christer



Joined: Aug 02, 2003

Post   Posted: Nov 02, 2017 - 14:02
FUMBBL Staff
Reply with quote Back to top

FYI, internally there's no real difference between rating and team value (other than a scaling factor on display)..

However, you may want to look at:

https://fumbbl.com/api/coach/teams/razmus
razmus



Joined: Jun 23, 2017

Post   Posted: Nov 02, 2017 - 14:13 Reply with quote Back to top

That's perfect! Thank you. (And thank you for pointing that out about rating. I thought the rating was an older, different calculation...)
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
Powered by PNphpBB2 1.2 © 2003 PNphpBB Group
Credits