How it works

Web API Kit is a set of tools to reduce the code you need to write for the Unity WWW/UnityWebRequest classes, UniWeb, BestHTTP, UnityHTTP, and other popular HTTP providers.

A fully featured HTTP call that supports authentication, timeouts, cancellation, conversion of returned JSON or XML data into a usable C# class would easily be over 200 lines of code. With WAK, all of these features and more are done for you, reducing the code you have to write to 10 lines with the help of C# Attributes.

Here is the code you write to make a fully functional call to Instagram and retrieve the 100 most recent media items for the tag #gaming.

Here is how you call the operation from within your game code.

The above is a very concise rendition of what could be represented as follows.

It really is that simple!

Last updated