Blizzard Entertainment Launches New Battle.net API Site and OAuth 2.0 Support

Janet Wagner, Data Journalist / Full Stack Developer
Aug. 28 2014, 01:38PM EDT

Blizzard Entertainment, the developer and publisher of a variety of popular online and desktop video games, has announced the launch of a Battle.net API site with new APIs featuring OAuth 2.0 support and new interactive documentation. The Battle.net API site is the new home for the Blizzard Community Platform API, World of Warcraft API, Diablo III API, Starcraft II API and other APIs available for the Battle.net game platform.

battle-net

Image credit: Blizzard Entertainment/Battle.net

At the time of publication, there were four API routes/scopes that support OAuth 2.0:

  • World of Warcraft /wow/user/characters
  • Starcraft II /sc2/profile/user
  • /account/user/id
  • /account/user/battletag

Two sample OAuth libraries/plug-ins have been made available on GitHub for Ruby and Node NPM languages. Developers who would like to use any of the available Battle.net APIs must obtain an API key by signing up for a Mashery account if they do not already have one. Authenticated Mashery accounts are able to make more than 9,000 API requests per day. There is new interactive documentation powered by I/O Docs that developers can use to test out different Battle.net game APIs.

It should be noted that the old Community API URLs will be deprecated at some point in the near future. In addition, the World of Warcraft, Starcraft II and Diablo III APIs are being moved to a new host, and the protocol is being changed from HTTP to HTTPS. More information about API migration is available on the Battle.net API site, as is information about using the new OAuth 2.0 APIs. The separate API-related forums from the Battle.net World of Warcraft, Diablo III and other game sites are being consolidated into one single forum. There is also a separate forum for bug reporting and API issues.

According to the announcement post, the developers at Blizzard Entertainment/Battle.net are already working on more APIs that will be added sometime in the future. For more information about the new APIs featuring OAuth 2.0 support or to check out the new interactive documentation, visit dev.battle.net.

For an example of Blizzard Entertainment Gameplay, check out this promotional video from the company:

Check out other articles published on ProgrammableWeb about gaming APIs, including the article "Riot Games API Gives Access to League of Legends Data," the article "Five Great Gaming APIs for Developers to Play With" and the article "2K Announces Game That Will Utilize New and Mantle Graphics API."

Janet Wagner Janet is a data journalist and full stack developer based in Toledo, Ohio. Her focus revolves around APIs, data visualization, machine learning, and data-driven journalism. Follow her on Twitter: @webcodepro and on Google+

Comments