Community Created Libraries & Resources

A number of our the developers in our community have put together resources, libraries, and other tools that you may find helpful when developing against the Battle.net APIs. An extensive library of those resources can be found here. The topic will be read only until the end of the year.

Now, we encourage our developers to share their resources here. This new thread follows a Wiki-style format, meaning our community members are now empowered to edit posts with the most up-to-date information.

4 Likes

Here is a Ruby API client supporting all official API endpoints.

pipeline status Gem Version

https://gitlab.com/francisschiavo/blizzard_api

Also available at rubygems.org

Main features:

  • Ready to use Redis as a cache system for API requests
  • Possibility of changing cache duration per request
  • Able to work with multiple tokens simultaneously (for accessing user-specific data like wow character list)
  • Able to fetch data from both game data endpoints and the old community endpoints using the same instance with a simple option switch.
5 Likes
  • Name: Blizzard API PHP
  • URL: David Matthew / Blizzard API PHP · GitLab
  • Code: PHP
  • Functions: Allows usage of all official API Endpoints (as of August 20, 2022)
  • UPDATE: All Gamedata and Profile endpoints are updated.

Additional info:
I intend to keep this library as updated as possible so please feel free to provide feedback, feature requests or any comments here or I’m on the API Discord (Feral#6976).

3 Likes

Here are my unofficial RSS feeds for developer posts in these forums:

API Discussion - hxxps://everynothing.net/bnetbluetracker/api-discussion.rss
API Bug Reports - hxxps://everynothing.net/bnetbluetracker/api-bug-report.rss

No warranties expressed or implied.

1 Like

Working extensively with StarCraft II APIs I wrote two custom Node.js libraries for easy retrieval of data from Blizzard APIs.

GitHub - blizzapi/blizzapi: Flexible and feature-rich TypeScript library for easy access to Blizzard Battle.net APIs - general purpose wrapper for Blizzard APIs,

GitHub - blizzapi/starcraft2-api: Flexible and feature-rich TypeScript library for easy access to StarCraft II Community and Game Data APIs - targeting StarCraft II Community and Game Data APIs.

Both can be installed via npm. Docs and usage examples are available in the READMEs.

3 Likes

Hi all,

Here is my Python client for the community, game data and profile API’s

pip install python-wowapi

https://github.com/lockwooddev/python-wowapi

@Veltarii it’s impossible to add markdown links with the markdown editor.

2 Likes

Here’s my unofficial RSS/Json endpoints for all patch notes (for all games)

note you can repace /rss with /json

Overwatch

https://blizztrack.com/feeds/notes/overwatch/rss
https://blizztrack.com/feeds/notes/overwatch_ptr/rss

World of Warcraft

https://blizztrack.com/feeds/notes/world_of_warcraft/rss
https://blizztrack.com/feeds/notes/world_of_warcraft_ptr/rss

Starcraft (1 & 2)

https://blizztrack.com/feeds/notes/starcraft_remastered/rss
https://blizztrack.com/feeds/notes/starcraft_ii/rss

Diablo 3

https://blizztrack.com/feeds/notes/diablo_iii/rss
https://blizztrack.com/feeds/notes/diablo_iii_ptr/rss

Hearthstone

https://blizztrack.com/feeds/notes/hearthstone/rss

Heroes of the Storm

https://blizztrack.com/feeds/notes/heroes_of_the_storm/rss
https://blizztrack.com/feeds/notes/heroes_of_the_storm_ptr/rss

Battle net Client

https://blizztrack.com/feeds/notes/battle_net_client/rss

Hello everyone.

I just completed my full Node.js promise-based abstraction for all of the currently supported Blizzard APIs: GitHub - QuadDamn/battlenet-api-wrapper: A promised-based Node.js + Typescript wrapper for the Battle.net Community and Data APIs (supports WoW, WoW Classic, SC2, D3, and Hearthstone).

I am still working on the tests as I scrapped the original tests I had to learn Jest for Node.js testing instead of using Mocha/Chai/Sinon/Nock. All of the classes/functions have been tested though.

Please let me know if you find any issues or need any help with implementation by posting directly in the repository.

Thanks and hope someone can use what I built!

  • QuadDamn
2 Likes

Here’s my client library written in Go (Golang):

QuadDamn made an awesome library with using of TypeScript but he’s gone missing a bit. So if someone needs an updated version of battlenet-api-wrapper with professions, recipes and auctions methods (for World of Warcraft) feel free to check my fork which supports all of this, and also a bit more things, such as timeout requests, providedToken, etc.

1 Like

Here’s my library to work with the API inside Unity :

2 Likes

For C#/.NET developers, an updated version of the ArgentPonyWarcraftClient NuGet package is now available. The source is at GitHub - blizzard-net/warcraft: The Argent Pony .NET client for the Blizzard World of Warcraft Game Data and Profile APIs.

1 Like

Anyone know a php library where i can just get the battletag of the user after they’ve logged in? Feral’s library looks great but talks to WOW. How do i GET /oauth/userinfo ?

Assuming you are already using Feral’s library (in authorization code mode) you can always benefit from the base Request class to fetch any API resource like this:

$apiClient = new BlizzardApi\Request('us', $accountToken);
$status = null;
$userInfo = $apiClient->execute('https://us.battle.net/oauth/userinfo', $status);

Important: You must use a valid token created using the OAuth2 authorization code flow.

1 Like

New python client to access all of blizzard’s API’s, check it out!

For C# developers, the ArgentPonyWarcraftClient NuGet package has been updated to support the new APIs for Shadowlands. It is a .NET Standard 2.0 library, and it has been tested with .NET Core 2.1, 3.1, and .NET 5. It should also be compatible with .NET Framework 4.6.1 and higher.

for some reason my api code was missing from this

php based wow api interface updated as of feb 2023