strepla-api

0.1.0 • Public • Published

strepla-api

scoring*StrePla "API" wrapper

Installation

yarn add strepla-api

Usage

const { overview, scoreDay } = require('strepla-api');

(async function() {
  let cID = 388;
  let o = await overview(cID);
  // -> http://strepla.de/scs/Public/overview.aspx?cId=388 in JSON form

  let idDay = 5701;
  let d = await overview(cID, idDay);
  // -> http://strepla.de/scs/Public/scoreDay.aspx?cId=388&idDay=5701 in JSON form
})();

License

This project is licensed under the MIT License.

/strepla-api/

    Package Sidebar

    Install

    npm i strepla-api

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • turbo87