Just thinking about something, and couldnt find any answers while looking in the api nor google :P
Is it possible to determine if a player is playing a race thats not from vanilla, and if so, what expansion the race is from?
There's no API for that, that I'm aware of, but given the limited number of races and the interval in which new ones are added, a simple hand-crafted lookup table should fit your needs.
Yeah, I just wondered while I was fiddling with something =) Its not a problem to check it 'manually', just curious. Thanks for reply.