Questions tagged [battlenet-api]

20 questions
2
votes
0 answers

Link a Battle.net (and other game platforms) account to app with separated environments

Actually, I have a web app with separated frontend (Angular 7) and backend (Symfony 4.2) environments. The users are connected with Google OAuth2. I would like to allow the users to link their game platforms account (like Battle.net, Steam, XBOX...)…
jdflament
  • 56
  • 4
2
votes
1 answer

How to request access token from Battle.net OAuth with authorization code?

I have a hobby project in mind to use battle.net login. I'm wondering how I can obtain the access token from the API after receiving the authorization code. This is Oauth flow question rather than a battle.net question. Currently I can successfully…
Hakan
  • 590
  • 1
  • 5
  • 18
1
vote
0 answers

OAuth Login using Blizzard / Battlenet

I’m trying to create a react app and I have no idea how this Blizzard Oauth works? I’ve spent almost 5 hours reading the documentation, haven't figured out anything. the only thing I’ve got so far is the…
1
vote
1 answer

api-ms-win-crt-runtime-l1-1-0.dll._get_narrow_winmain_command_line

I'm experiencing an issue with PlayOnLinux and Wine. I currently run a Linux Mint 18 distribution and I am trying to run the Battle.net application (you know, an HS game is really refreshing when you have to code for long sessions). I finished the…
Federico Màlato
  • 115
  • 3
  • 14
1
vote
0 answers

Is it possible to retrieve a specific BattlePet given a name and a realm via the Warcraft API?

I'm trying to retrieve a specific World of Warcraft Battle Pet's info given its name. Blizzard provide a pretty handy API for such things but I can't see how I'd find a specifically named Battle Pet, given a realm name etc. I can pull down an array…
Dave Sag
  • 13,266
  • 14
  • 86
  • 134
0
votes
0 answers

How to get user details after login via oauth?

Trying to understand how it works oauth How to get authorized user details using Blizzard api? import json import requests client_id = "" client_secret = "" region = "eu" data = { 'grant_type': 'client_credentials' } access_token_response =…
RAINGM
  • 133
  • 7
0
votes
1 answer

is there a way to get the elite and rare status of a creature (WoW Classic)?

I am working on an Addon and need a list of every Elite and Rare in the game. The creature method returns its type and name but I don't see a status if it is an elite or not. Anyone know if it is possible to get that info via an api? Thank you
Max
  • 21
  • 3
0
votes
2 answers

Fetch API redirect doesn't work as i intended

Hello fellow stack overflowers! I'm building a small app with the use of battle.net api. I'm trying to authenticate to the api using Oauth with fetch API but it doesn't seem to do what i want! So this is my code ``` const authUrl = …
WilssoN93
  • 87
  • 1
  • 8
0
votes
1 answer

[Web API]AspNet.Security.OAuth.BattleNet OAuth 2.0 issue

Basically my Login with BattleNet Button sends request here: services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; options.DefaultChallengeScheme =…
0
votes
1 answer

Authorization via battle.net

I try to create auth on my site via battle.net. It's my first experience in OAuth. There is documentation https://develop.battle.net/documentation/api-reference/oauth-api Now I can get code and want to get access token by code. I provide…
Andrey Kadnikov
  • 455
  • 5
  • 13
0
votes
1 answer

Battle.net API returns 401 Error using OAuth Token

I'm using Nodejs with express on the Battle.net API to generate an Oauth Token. https://develop.battle.net/documentation/guides/using-oauth Generating the token itself works, as it returns me the token. But when I use the code to make a request to…
0
votes
0 answers

How can I get user profile on battle.net oauth

I'm tring to login with Blizzard ID in my site. I think my code is work. User profile request failed. I don't understand Blizzard's user profile Data structure. Can you help me to get user's Id, Email and Battle Tag? Here's my code
정도윤
  • 1
  • 1
0
votes
1 answer

what's the difference between requests.post and this straight curl?

Using python 3.6.2 with requests library. I'm trying to authenticate with oauth2 on battle.net APIs, and on the second request (the one for token retrieval) I'm getting a 400 error with no useful explanation ("internal server error"). Someone on…
giuliocatte
  • 239
  • 2
  • 12
0
votes
2 answers

oAuth code exchange for secret token

I'm making an app that is supposed to use oAuth to authenticate players from the Blizzard servers, I want to access their character info.. and I can't figure out how to ask for the secret_token. I guess I'm doing my post request wrong below is the…
Yandri
  • 41
  • 4
0
votes
3 answers

JSON.parse returning undefined object

Blizzard just shut down their old API, and made a change so you need an apikey. I changed the URL to the new api, and added the API key. I know that the URL is valid. var toonJSON =…
Meltinglava
  • 179
  • 1
  • 11
1
2