Skip to content

VincentBee/toornament-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Toornament api client

  1. Introduction

This component aim to request and interpret Toornaments Api endpoints through simple abstraction methods.

  1. Get starting

To use this http client, proceed as follow

// Instanciate the toornament api client with your configuration
var toornamentApi = new Toornament({
    apiKey: apiKey,
    clientId: clientId,
    clientSecret: clientSecret
});
// Add a call to the queue
toornamentApi.callApi('get_stage', {tournamentId: tournamentId, stageNumber: stageNumber}, function (data) {
    console.log(data);
}, showError);
// Execute prepared calls
toornamentApi.run();

About

A basic api client for the Toorament API suite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published