What is API?

What is API?

in API Development

Posted by: Kain Francois.4328

Kain Francois.4328

Q:

Cool, a new forum… So… What the heck is API, and how can it improve my GW2 experience!?

What is API?

in API Development

Posted by: Varonth.5830

Varonth.5830

A:

In other words, ANET is releasing a toolkit which lets people make mods? And this is safe?

While this would also be called API it is not that kind of API.

The API we currently get let’s us request certain gamestates:

  • WvW informations
  • Event informations
  • Item informations
  • Recipe informations

Let’s say you want to implement a website which will collect WvW data and present you nice graphs about the last matches etc.

Without an API users or the site admin/site moderator has to input all the numbers by hand. If there is a website which already displays the data, then they can instead write small scripts which will automate this, by basically requesting said website, and then parse the informations on this site.
These are called Webcrawlers. They act kinda like a browser, just that instead of showing you a website, they will gather the data on this website and use the informations gathered. This comes with alot of bonus traffic for both sides (the website and the one requesting the information), as you will also get alot of unwanted informations which the webcrawler will just skip.
Also such a webcrawler requires a bit of work to implement, and perhaps adjust when the layout of the website changes.

And now we have this API.
It allows a developer to request data in an easy to parse (aswell as kinda easy to read for humans) format. This format is called JSON .

What is API?

in API Development

Posted by: Talis.7261

Talis.7261

An API is an Application Programming Interface.

It may not improve your game experience directly, but it will allow developers to build nice and shiney tools for GW2! (Which you might like!)

What is API?

in API Development

Posted by: Hazed.3901

Hazed.3901

API = Application Programming Interface. These APIs are used to get information about what’s going on in GW2 so you can soon see apps with such things as current events going on in maps, WvWvW status trackers ect…

What is API?

in API Development

Posted by: TimeBomb.3427

TimeBomb.3427

An Application Program Interface allows an application to interface with another application.

Or, in layman’s terms, it lets one application use some of another application’s features.

What is API?

in API Development

Posted by: Kain Francois.4328

Kain Francois.4328

In other words, ANET is releasing a toolkit which lets people make mods? And this is safe?

What is API?

in API Development

Posted by: rhoot.5927

rhoot.5927

Not mods, just request information about the game’s state.

What is API?

in API Development

Posted by: Geotherma.2395

Geotherma.2395

You can think of it like a living wiki, if it is happening in game the API or program that uses the API can view that. I think it would be a little like GW2spidy, but for things like events and wvw. But I am far from an expert on API ^^;

Intel i7 3.9ghz processor 16GB Ram 2TB HDD
Nvidia GTX 650 Win 7 64bit FFXI 4+yrs/Aion 4+ years Complete Noob~ Veteran OIF/OEF
http://everyonesgrudge.enjin.com/home MY GW2 Music http://tinyurl.com/cm4o6tu

What is API?

in API Development

Posted by: Kain Francois.4328

Kain Francois.4328

In other words, it would be like an ingame dragon timer?

What is API?

in API Development

Posted by: rhoot.5927

rhoot.5927

In other words, it would be like an ingame dragon timer?

Nope, nothing in-game. The API is external.

What is API?

in API Development

Posted by: Duskmelt.9834

Duskmelt.9834

Well, today I learned something new. This is pretty awesome! I’m looking forward to see what our community will come up with this.

What is API?

in API Development

Posted by: Kain Francois.4328

Kain Francois.4328

Ok, so all these are browser things like Dragon Timer?

What is API?

in API Development

Posted by: The Talcmaster.7391

The Talcmaster.7391

Not really, sites like Dragon Timer use the API but it is not actually the API itself. APIs are just little endpoints and whatnot that lets people connect their own apps to and use the data or functionality that it provides.

Fort Aspenwood – [fury], [SAO], [NICE]
Fun on someone else’s schedule is not fun

What is API?

in API Development

Posted by: rodadams.5963

rodadams.5963

Think of it as a something for a Dragon Timer site to talk to.
Instead of having lots of people poking the site to say when certain events start or stop, the Timer can instead just go ask the API periodically what the state of those events are at this time.

Expect the Timer sites to get a lot more accurate, and much more Troll resistant.