33 coaches online • Server time: 02:45
Index Search Usergroups Profile
Log in
Recent Forum Topics goto Post New meta ? The cheap...goto Post Fouling is broken 20...goto Post XXXL LIVE
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
Shraaaag



Joined: Feb 15, 2004

Post   Posted: Aug 23, 2020 - 20:54 Reply with quote Back to top

I've been updating some code to use the "new" API (a few years late I know), but there is, afaik, one XML query which is not available in the "new" API: past players of a team

In the "old" API, you use the parameter past=1 to get all the past players of a team:
ie. https://fumbbl.com/xml:team?id=284314&past=1

Maybe there's a good reason why there's no version of this in the new API, or maybe I'm the only one using this and haven't mentioned it before now.

Any chance this will be available as json? Or if there's already a way (apart from chewing through all matches for the given team)?

_________________
Image
Nelphine



Joined: Apr 01, 2011

Post   Posted: Aug 23, 2020 - 21:57 Reply with quote Back to top

Was a there a way to combine that with a given set of tournaments in the old API Shraaaag?

One of the things our groups needed was a way to get all players from a given team, from a given set of 15 or so tournaments, so chewing through ALL matches for a given team (that may have participated in 50+ tournaments) wasn't very effective.
Shraaaag



Joined: Feb 15, 2004

Post   Posted: Aug 23, 2020 - 22:08 Reply with quote Back to top

Nelphine wrote:
Was a there a way to combine that with a given set of tournaments in the old API Shraaaag?

One of the things our groups needed was a way to get all players from a given team, from a given set of 15 or so tournaments, so chewing through ALL matches for a given team (that may have participated in 50+ tournaments) wasn't very effective.


Yeah, you could get players (and performances) straight from the tournament rather than going through each match individually. I don't think I used that method in my code.
Example:
https://fumbbl.com/xml:group?id=195&op=matches&t=39226
And using paging for each 25 match played:
https://fumbbl.com/xml:group?id=195&op=matches&t=39226&paging=3741750

I don't think there's a similar function in the new API.

_________________
Image
Clownfish



Joined: Sep 09, 2020

Post   Posted: Sep 09, 2020 - 04:39 Reply with quote Back to top

after luo tiantai, wang changed into additionally expelled from wudang and lower back domestic, but he changed into coveted because of his "eight tremendous skills-fenghou qimen", and his own family changed into underneath surveillance. wang was helpless. on the thought of his buddy zhuge qing, zhang chulan and feng baobao came to resolve the case with the help of "anywhere" business enterprise. how does zhang chulan display his competencies to assist the king trap the black hand backstage? what wonderful overall performance will zhuge qing, wang ye and others have? who're the people who covet the "8 wonders"? "under one guy-becoming a member of the world" may be introduced soon!
https://www.procontentweb.com

_________________
https://www.procontentweb.com
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