Ruhrpottpatriot.7293:

As suggested by some users, this is sort of a master list of all different implementations for the API (Could someone pin this so users that are new have direct access to the different implementations?)

I’ll try to keep this list up to date as frequently as possible. If you want me to add your project to the list, just post the following informations in a post below this.

  • Project Name
  • Implementation Language
  • Project Administrator
  • Url to the project

E.g.:
Gw2.NET

The Actual List:
Python Wrapper for Guild Wars 2 official API

GW2Kit for iOS & OS X

Gw2.NET

jGW2API

A Ruby Wrapper (:P)

Gw#

gw2 Ruby Gem

Gw2 PHP SDK

GW2 Drupal module

GW2API

Durmand Priory

GW2NodeLib

GW2 JS API Wrapper

jQuery GuildWars2 tooltip

python-guildwars2 – An OO guildwars2 library

PhpGw2Api

GuildWars2API

GW2API for ObjC

GW2API.pm

Ruhrpottpatriot.7293:

reserved in case first post get’s cut off (I hope not so :P)

Naranek.2570:

I did a Ruby wrapper, planning on doing more but this is something people can start using :-)

Varonth.5830:

jGW2API

This thread should probably become sticky.

Ruhrpottpatriot.7293:

jGW2API

This thread should probably become sticky.

Yep it should. Can a mod do this please?

Kuang Eleven.9781:

Guild Wars 2 Event Viewer

Not technically a library, but the code is all released under the GPLv3, so you are free to copy and paste the relevant code into your own GPL program. If there is interest, I can compile a proper Android library.

Fyr.9684:

Hey there, thanks for this list. I implemented an API client in PHP:

Feel free to fork and play around with it.

Rohan.1403:

Gw#

Index.6425:

gw2 Ruby Gem

Sorrow.7384:

Gw2 PHP SDK

Thanks Fyr, I used your caching class.

Ruhrpottpatriot.7293:

updated the list

Chaba.5410:

GW2 Drupal module

zwei.9073:

jGW2API

This thread should probably become sticky.

I found this … not so ideally coded (with swallowing exceptions being tip of iceberg) and just raw json data provider.

So here is my fork of library for advanced use: https://code.google.com/p/gw2api

TimeBomb.3427:

GW2NodeLib

klarkc.3754:

Hey guys I am hard working in the oliverschwarz project (fork) to provide information about spawn timers in the json returns. I am using sql to store information about the last changes in the state and estimate next change for any events.

https://github.com/klarkc/gw2api

I am live testing here: http://guildwars2brasil.com.br/gw2api/gettimerv2.php?world=1013

The first version only returns the last changed and what changed, the next version (v3) will return remaining spawn timer and spawn window.

The objective is to these data be added to the default cached reports from the api.

When everything works I will change the output to json.

Parthis.2091:

Durmand Priory

Ruhrpottpatriot.7293:

updated the master list again.

Parthis.2091:

updated the master list again.

Might be worth grouping them by language, you have a few PHP ones, a few Java, etc. I think most people browsing will already know what language they’re interested in.

Kaz.7386:

GW2 JS API Wrapper

GamePlayer.9165:

jQuery GuildWars2 tooltip

Lumiere.4609:

python-guildwars2 – An OO guildwars2 library


I know Rox has a library out there, but it didn’t feel right to me. This felt closer to what I wanted when I wrote python code.

Nexun.6932:

Thought I’d drop in the one I’m using:

PhpGw2Api

EDIT: Example here: http://www.gw2dashboard.net

CuriouslyStrong.6925:

Here’s my python wrapper, I know there’s others out there but I was bored so…

GuildWars2API

zwei.9073:

updated the master list again.

Might be worth grouping them by language, you have a few PHP ones, a few Java, etc. I think most people browsing will already know what language they’re interested in.

i would ditto that.

Also, my fork is called simply “GW2API” and is now different enough to be considered completelly separate project.

Frugghi.9046:

My Objective-C wrapper for the API:

GW2API for ObjC

Dr Ishmael.9685:

I know Perl isn’t exactly fashionable these days (darn young whippersnappers), but it’s still my script language of choice. So have a Perl module, and get off my lawn. :P

GW2API.pm

Ruhrpottpatriot.7293:

updated the list again. Sorry no grouping just yet will do that tomorrow or the next time I update it. This board software is a pain in the kitten to work with. Sorry Anet bad choice, very bad choice.

smiley.1438:

This board software is a pain in the kitten to work with. Sorry Anet bad choice, very bad choice.

+1 for this.

Y U NO USE VBULLETIN OR INVISION POWER BOARD ANET?
(actually even phpbb3 is worlds better)

Ruhrpottpatriot.7293:

That’s because ANet isn’t using php (most likely) as their server language. Some users told me it was ruby, so yeah php is out of the question.

smiley.1438:

That’s because ANet isn’t using php (most likely) as their server language. Some users told me it was ruby, so yeah php is out of the question.

If i had the coice between user friendly and programmer friendly web hosting, what would i choose if i was Anet?

Ruhrpottpatriot.7293:

Between you and me: I’d choose ruby over php all the time. Php is so full of security holes and has so many inconsistencies it’s alarming. Not using php for a security reason (and I think that is one of the main reasons) is always a good thing and for the security of my data I can live with a less user friendly forum. This only thing that really bugs me is the too small editing box, but that has something to do with the css styles and not the board software.

smiley.1438:

This only thing that really bugs me is the too small editing box, but that has something to do with the css styles and not the board software.

If it’s just that: get Chrome and pull that box as big as you want

Speaking of serious issues in php… ruby isn’t really better: http://heise.de/-1872394 it seems…

Ruhrpottpatriot.7293:

That problem is in Ruby on Rails, that’s not ruby. Furthermore the issue has already been solved and should not be a problem if ANet keeps it’s framework up to date

Heimdall.4510:

Hey there I’ve written a C/C++ library for the Guild Wars 2 API! Hope you enjoy it though it’s not totally complete yet.

GW2API C/C++ Library Project

Rawrfaec.6412:

GW2++

What about moving this list to the Wiki? Putting the onus on one user to keep the list sorted is a big responsibility and it is largely useless in its current form. The Wiki eliminates that problem, and since the API is documented there anyway I’d expect to also find relevant tools for working with it.

Dr Ishmael.9685:

Go right ahead. This was actually already discussed on the wiki, but the user who brought it up never followed through. The best place would probably be a subpage, e.g. “API/Libraries”. Maybe “API/Player-written libraries”? Or maybe that’s a bit much.

Varonth.5830:

Oh yeah, I forgot about that.

Done: http://wiki.guildwars2.com/wiki/API/Libraries

Dr Ishmael.9685:

Looks great!

smiley.1438:

Ok, i’ve pulled together all my gists and put them into a repo. This is not “Yet-Another-API-Wrapper”, more a collection of “How-To” examples (more to come)

gw2api-tools

Atlan.6180:

Gw2 PHP SDK (extends Sorrow.7384, ready to pull)

fork of:
Admin: Sorrow.7384
URL: https://github.com/defunctl/Gw2-SDK

DarkSpirit.7046:

Gw2 Events Javascript library:

  • Supports Windows Scripting Host as well as web pages
  • Supports both synchronous and asynchronous calls for XmlHttpRequest
  • Supports both XmlHttpRequest and XDomainRequest, although the latter is untested.

https://github.com/DarkSpirit444/GW2JavaScriptLib

Oxymore.8791:

Name: GWApi
Lang: PHP (5.3+)
Admin: Oxymore.8791
Github URL: https://github.com/Oxymore/GWApi

At first it will be a simple query->return associative array, but my plan is to make plain PHP object for each query, I guess it can be useful.
It’s using cURL if available, plan is to add some kind of caching capabilities. For now it’s very simple and not finished at all!

Contributions are obviously accepted!

Taleria.7810:

Name: bramdevries/guildwars2
Lang: PHP
Admin: Taleria.7810
Github: https://github.com/bramdevries/guildwars2

Put my wrapper up on github, it can be easily added as a dependency if you use composer. Contributions are welcome!

Stephane Lo Presti.7258:

Hi everyone,

As explained here, we’re going to progressively move this stickied thread to the official Guild Wars 2 wiki.

I started populating the page using the links in this thread:
http://wiki.guildwars2.com/wiki/API:List_of_wrappers

Feel free to join the API editor group on the wiki to add your own library or maintain the page above ! You can leave comments about this on the forum thread I linked above. Thanks.

Caldrick.6920:

Project Name: GwApiNET
Language: C#
Administrator: Caldrick.6920 ,Talus.1402
Website: https://gwapinet.codeplex.com/

Provides 1 to 1 object mapping and object data caching. Also allows custom data caching schemes.

Implementation for Gw2Stats API has also been implemented. Currently working on Maps Service utilities.

Caldrick.6920:

Talus and I have created a .NET API written in C# that implements the full GW2 API.

Currently it provides a 1 to 1 object mapping of the current GW2 API resources. Essentially
item_details.json —> ItemDetailsEntry
guild_details.json --> GuildDetailsEntry
etc..

Some Features

  • 1 to 1 object mapping: GW2 API object —> .NET Object
  • Full Gw2 API implementation: GwApi
  • Gw2Stats.net API Implementation: Gw2Stats.Gw2StatsApi
  • Object caching with the ability to customize when caching is used per object type.
  • Minor custom Exception handling.
  • Logging: which can be enabled/disable
  • Mumblelink information which provides a player’s position: Gw2PositionReader

I’ve been working on a simple example project that will show how some of the code can be used including how one could produce a GW2 Map tracking a players position using GMap.NET.

check it out here https://gwapinet.codeplex.com/

ElGreenGo.6734:

I’ve finally published the JavaScript library I’ve been working on for some time now. It makes heavy use of jQuery Deferred objects to allow easy asynchronous API access.

Morhyn.8032:

I just finished my initial version of a Java library for accessing the API. It’s called “GW2-API-Client” and is available at https://github.com/jsumners/gw2-api-client.

Please note that at the time of this post I have not actually used it in a real project. I’ve merely written the library and tested it against known possible results. Theoretically, it should work just fine.

Terrasque.8735:

In anticipation of the new api’s I dusted off some old python code and ideas and put it together in a reasonable coherent package. Supports web api and mumble api.

lynnae.4095:

New javascript implementation of all v2 api endpoints. v0.1 at the present.