BuzzerBeater Forums

BBAPI Support > NT information

NT information

Set priority
Show messages by
From: jantzen
This Post:
00
173460.1
Date: 2/3/2011 3:04:04 PM
Overall Posts Rated:
5353
Hi

How can I find the NT coaches?
on the NT team pages I can download without login to the xml interface.
http://www.buzzerbeater.com/country/39/nt/overview.aspx
use a regular expr and find the content, but I rather do it the right way.

How is the right way :)

This Post:
11
173460.2 in reply to 173460.1
Date: 2/3/2011 3:13:07 PM
Overall Posts Rated:
12061206
Manually ;-)
Open 98 pages and save content in file.
Automatic scanning non-bbapi pages is forbidden.
There is no NT coach element in bbapi.
I think it could be in countries aspx. There are "users", "divisions", etc - it's simply to add two next - "ntcoach" and "u20coach" or something like that.
But I think it is not so neccessary because NT schedule and NT roster aren't supported by bbapi.

This Post:
00
173460.3 in reply to 173460.2
Date: 9/2/2011 3:54:57 AM
Overall Posts Rated:
986986
This might be stupid question, but
is it possible to get U21/nt roster information with correct team id, if you are nt/u21 coach?

roster.aspx

Retrieves informations about the players belonging to the specified team.
Parameters

teamid: If not specified, defaults to the team ID of the current user.


And every nt/u21 team have own id's....

This Post:
00
173460.4 in reply to 173460.3
Date: 9/2/2011 5:16:55 AM
Overall Posts Rated:
12061206
I suppose it isn't possible. But I didn't check this option. I checked few others.
For example even
player.aspx?playerid=[ID_of_player_in_my_NT]

doesn't work. You can see skills of called players in site: www.buzzerbeater.com, but You can't in site: bbapi.buzzerbeater.com.

This Post:
00
173460.5 in reply to 173460.4
Date: 9/2/2011 6:36:52 AM
Overall Posts Rated:
986986
Ok, then managers should update player skills by themselves. What a pity...
(I mean to nt database or so.....)

Last edited by Codemasters at 9/2/2011 6:37:18 AM

From: JJ-King
This Post:
00
173460.6 in reply to 173460.5
Date: 2/17/2012 6:13:51 PM
Overall Posts Rated:
1515
Hi,
can i get the information about nt match?

From: wozzvt

This Post:
00
173460.7 in reply to 173460.6
Date: 2/17/2012 9:32:11 PM
Overall Posts Rated:
228228
nope

From: BB-Marin

This Post:
00
173460.8 in reply to 173460.7
Date: 5/17/2012 6:55:20 AM
TrenseRI
III.2
Overall Posts Rated:
36003600
Second Team:
ChiLeaders
NT information could be provided, maybe in a new page. Please write a nice list of information bits that you'd like for the page to have. I can probably code it so that NT managers can access their rosters too. Please, discuss it here and then write a complete suggestion in the suggestions thread.

From: wozzvt

This Post:
00
173460.9 in reply to 173460.8
Date: 5/17/2012 9:56:15 AM
Overall Posts Rated:
228228
Thanks Marin. Based on our current bbapi applications, here's what we'd really love to have. If others have other uses that I'm not thinking of, please chime in. Basically, two categories (with wildly different scopes).

(1) Extend the existing bbapi pages to work with NT info. This would include:
The teaminfo, schedule, standings and roster pages should accept an NT ID (e.g., 1 for US NT, 1001 for the US U21, etc). The boxscore page should accept an NT match ID. I don't think there are any *new* pages needed here, but from what I've gathered, making this info available may be non-trivial.

I can see a few complications here:

- the standings page is not straightforward since a single team may be in more than one "league" per season (different qualifying rounds, the repechage, tournament, etc). At the least, this probably means adding an identifier to the standings page to reflect what it's returning. At worst, it means querying these pages would need an additional input. In fact, thinking about this, standings may need a completely different interface (and, at least in my opinion, are a low priority).

- the roster page should work the way club rosters do now: if requested by the coach, they get the full skills along with the players. if requested by anyone else, they get just public info. In my opinion, we don't need to make a change to individual player pages to allow the coach to see skills if they're on the NT, since you'd be able to get them through the roster page, but others may disagree.

- the teaminfo page should have world rank as an additional parameter.

(2) Player pages should be modified to include a flag indicating if the player is on the NT or u21, viewable by everyone.


Some of these seem much harder than others. If I were prioritizing, this would be my list:
- NT rosters made available, with skills visible to the coach.
- NT schedules available through the existing schedule.aspx, with a string indicating the match type (round robin for continental/worlds, repechage, consolation, with an extension indicating semifinals/finals, e.g., continentals.semifinal, etc).
- NT boxscores available through the existing boxscore.aspx, with the same match type indicator as on the schedule.
- Add an NT/u21 flag to the player.aspx page (and things that call the player element, such as roster.aspx)
(big gap)
- NT teaminfo page through the existing teaminfo.aspx, with world rank added
- NT standings page


Last edited by wozzvt at 5/17/2012 9:57:53 AM

From: BB-Marin

This Post:
11
173460.10 in reply to 173460.9
Date: 5/18/2012 8:15:19 AM
TrenseRI
III.2
Overall Posts Rated:
36003600
Second Team:
ChiLeaders
Seems like a good start. I can't promise you when I'll start work on it but yeah, it can be done. Also, I'd still like to hear what others think.

From: jantzen
This Post:
00
173460.11 in reply to 173460.10
Date: 5/18/2012 12:33:44 PM
Overall Posts Rated:
5353
I would like to lookup the current NT coach.

Then you can bind the coach to a user and make sure that it changes after a NT selection.