runtastic

Runtastic Unofficial API

This is a promise based unofficial runtastic api. installation npm install runtastic-unofficial-api Use the API provides the next functionalities Authentication Get login information and tokens. The next snippet describes an example of the call: var authenticate = require('runtastic-unofficial-api').authenticate authenticate({email: <email>, password: <password>}) .then((result) => console.log(result)) .catch((result) => console.log(result)) the complete set of parameters get determined by: { 'user[email]': params.email, 'user[password]': params.password, grant_type: 'password' } The result of the promise will be if failed the error that caused it and if success an result object similar to this: