EVEREST.JS

A REST API javascript client for the browser

Currently v1.1.1-alpha

An example is worth a thousand words

var restClient = ê.createRestClient({ host: "api.github.com", useSSL: true })
    .withHeader("Authorization", "token OAUTH-TOKEN")                           // Send my authorization token with all requests
    .withQueryStringParam("per_page", 5)                                        // Display 5 items per page with all requests
    .read("/repos/PulsarBlow/everest.js/releases", { page: 2 })                 // Get page 2 of my github releases
    .then(function(releases) {                                                  // Then handle the returned json
        // ...
    }, function() {                                                             // or handle the failure
        // ...
    });

// Everest even supports partial updates
var partialRelease = { description : "Hey guys! Dang, forgot to describe my release @_@" };
restClient.partialUpdate("/repos/PulsarBlow/everest.js/releases/123", partialRelease);
Getting-started