Socket
Book a DemoInstallSign in
Socket

endomondo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

endomondo

NodeJS API for Endomondo service

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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
});

FAQs

Package last updated on 12 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts