0.1.0 • Published 6 years ago
strepla-api v0.1.0
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.
0.1.0
6 years ago