https://en.wikipedia.org/wiki/MDY_Industries,_LLC_v._Blizzar....
It's against the terms to use the user api (although it will work until you get caught), I'm not sure if they explicitly ban 3rd party clients (they very well may) but this effectively does the same thing.