I am trying to get my achievement data from Starcraft 2 and Diablo 3. I have the OAuth stuff figured out, but I am having trouble getting game specific data. I think my API formatting is incorrect.
I am able to get my account ID and battletag using https://oauth.battle.net/userinfo. When I try to get my player data using the account ID returned, I receive a 404 error. Here is what I am using: https://us.api.blizzard.com/sc2/player/{accountID}
I receive the same 404 error when using the battletag to get profile information from Diablo 3: https://us.api.blizzard.com/d3/profile/{battleTag}
Am I formatting the API URLs correctly?