15 coaches online • Server time: 03:15
Forum Chat
Log in
Recent Forum Topics goto Post On-spot substitution...goto Post Juggernaut as counte...goto Post Custom Icon, Portrai...
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
O[L]C 2016 Swiss! - April ---- All Stars - Anniversary Bowl - Teams of Stars - 13th March
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
O[L]C 2016 Swiss! - April ---- All Stars - Anniversary Bowl - Teams of Stars - 13th March
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
O[L]C 2016 Swiss! - April ---- All Stars - Anniversary Bowl - Teams of Stars - 13th March
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
O[L]C 2016 Swiss! - April ---- All Stars - Anniversary Bowl - Teams of Stars - 13th March
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...)

_________________
OWRR20 is recruiting Rookie [SL20]
OWB is recruiting [SL20] Teams
BB2020 badges
seeyouowls



Joined: Feb 27, 2017

Post 22 Posted: Nov 23, 2017 - 16:47 Reply with quote Back to top

Dont suppose you have a complete listing of the methods available in the api?

I have been making a list (https://imgur.com/YqDYOO8), and it really takes alot of lookups and some weird ones for league name and coach rating - so anything that could lighten the load of making the list would be great Smile

[/img]
koadah



Joined: Mar 30, 2005

Post   Posted: Nov 23, 2017 - 16:56 Reply with quote Back to top

There is some info here https://fumbbl.com/help:Fumbbl+API

_________________
Image
O[L]C 2016 Swiss! - April ---- All Stars - Anniversary Bowl - Teams of Stars - 13th March
seeyouowls



Joined: Feb 27, 2017

Post   Posted: Nov 23, 2017 - 17:08 Reply with quote Back to top

ive seen that, but seems there are more than the ones showed
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