Questions tagged [battlenet-api]
20 questions
0
votes
1 answer
BattleNet API MVC6 ASP.NET 5
I would like to write an ASP.NET 5 MVC6 website to interact with the BattleNet API.
The website is setup, I have created a BattleNet application authentication and key. Now I wish to authenticate against the BattleNet service but I do not know how…

DanAbdn
- 7,151
- 7
- 27
- 38
0
votes
1 answer
Get response body from 404 in PHP
I am interacting with the battle.net API and I need to get the response body when I hit a 404 page. The problem is I get an error.
I know the page has a body as in the documentation there is an example that has the body (screenshot below). I have…

James McNee
- 302
- 2
- 14
0
votes
1 answer
Get online players data via battle.net API
Can I get battle.net player data in my web app via API?
I am particularly interested in who is online!
Thanks!

user3221449
- 71
- 2
- 10
-1
votes
1 answer
Rewrite php's file_get_contents to javascript
I created a webpage a while ago with php(+ a webAPI) and I want to rewrite it to javascript now.
The problem:
The site loads a lot of data and needs about 5-7 sec to fully load, which is not optimal. I want to use javascript to 'build' the side part…

neverlucky
- 35
- 2
- 10
-1
votes
3 answers
Find specific key/value in array of objects and print out another key/value in that object
I have this response from a $.getJSON call. Now I want to select the name property of the object with "selected": true, and print it to a div with id charTitle.
"titles": [{
"id": 17,
"name": "Sergeant %s"
}, {
"id":…

Anders Ekman
- 323
- 5
- 17