Socket
Socket
Sign inDemoInstall

node-runtastic

Package Overview
Dependencies
76
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-runtastic

A simple NodeJS-Module to fetch activities from [runtastic](https://www.runtastic.com)


Version published
Weekly downloads
0
Maintainers
1
Install size
12.9 MB
Created
Weekly downloads
 

Readme

Source

node-runtastic

A simple NodeJS-Module to fetch activities from runtastic

Based on timoschlueter/php-runtastic

Usage

var nodeRuntastic = require('node-runtastic');

nodeRuntastic.setup('test@example.com', 'superSecret1!11').then(function (metaInfos) {
    console.log(metaInfos);
    nodeRuntastic.getActivities(10, 2015).then(function (activities) {
        console.log(activities);
    })
});

Functions

setup

  • argument 1 needs to be username
  • argument 2 needs to be password
  • returns metaInfos of user

getActivities

  • argument 1 can be month
  • argument 2 can be year
  • returns all activities (if no argument is used) or filtered activities by month / year you supplied

getActivitiesWithFormatedDate

  • needs and does the same as 'getActivities' but
  • returns activities with a better formated date

getMetaInfos

  • gets you the same metaInfos as setup

FAQs

Last updated on 25 Mar 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc