endomondo

1.0.2 • Public • Published

endomondo

Endomondo API for nodejs.

Get started

$ npm i -s endomondo
const endomondo = require('endomondo');

Authenticate

  • using email and password
const endo = require('endomondo');
 
const endoSession = endo.authenticate({
    email: 'email@domain.com',
    password: 'password'
}, (err, user) => {
    if(err) return console.log(err);
 
    console.log(user); // user information
   
    //now you can use data endpoints, i.e.: endoSession.feed()
    //more below
 
});

News feed

endoSession.feed((err, feed) => {
    if(err) return console.log(err);
    console.log(feed); // homepage's activity feed
});

Friends list

endoSession.friends((err, friends) => {
    if(err) return console.log(err);
    console.log(friends); // friends list
});

/endomondo/

    Package Sidebar

    Install

    npm i endomondo

    Weekly Downloads

    1

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • adasq