koadah
Joined: Mar 30, 2005
|
  Posted:
Jul 25, 2016 - 02:53 |
|
|
CastleMan
Joined: Apr 26, 2013
|
  Posted:
Jul 25, 2016 - 05:29 |
|
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
|
  Posted:
Sep 05, 2016 - 00:31 |
|
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
|
  Posted:
Aug 11, 2017 - 13:08 |
|
|
Christer
Joined: Aug 02, 2003
|
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
|
  Posted:
Aug 11, 2017 - 15:15 |
|
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. |
_________________
[SL] + Official Stunty teams. Progression KO. Old & new teams welcome. 29th May! |
|
ignatzami
Joined: Aug 18, 2008
|
  Posted:
Aug 11, 2017 - 19:57 |
|
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
|
  Posted:
Aug 11, 2017 - 20:31 |
|
|
ignatzami
Joined: Aug 18, 2008
|
  Posted:
Aug 11, 2017 - 21:22 |
|
koadah wrote: | Why do you need 12+ builder games? |
Newly drafted team, with several big guys at 100+ spp. |
|
|
razmus
Joined: Jun 23, 2017
|
  Posted:
Nov 02, 2017 - 13:50 |
|
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
|
|
razmus
Joined: Jun 23, 2017
|
  Posted:
Nov 02, 2017 - 14:13 |
|
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
|
Posted:
Nov 23, 2017 - 16:47 |
|
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
[/img] |
|
|
koadah
Joined: Mar 30, 2005
|
  Posted:
Nov 23, 2017 - 16:56 |
|
|
seeyouowls
Joined: Feb 27, 2017
|
  Posted:
Nov 23, 2017 - 17:08 |
|
ive seen that, but seems there are more than the ones showed |
|
|
|