2.1.2 • Published 4 years ago

@north-tec/epex-api v2.1.2

Weekly downloads
8
License
MIT
Repository
-
Last release
4 years ago

EPEX API

npm version npm downloads install size pipeline status coverage report

Installing

Using npm:

$ npm install @north-tec/epex-api

Example

const epexApi = require('@north-tec/epex-api').epex;

epexApi.parse('2018-07-01', 'FR').then(auctions => {
    console.log(auctions);
}).catch(err => {
    console.log(err);
});
import { epex } from '@north-tec/epex-api';

epex.parse('2018-07-01', 'FR').then(auctions => {
    console.log(auctions);
}).catch(err => {
    console.log(err);
});

Epex

Kind: global class

epex.dateFormat : string

Kind: instance property of Epex

epex.baseUrl : string

Kind: instance property of Epex

epex.parse(date, country) ⇒ Promise

Kind: instance method of Epex
Returns: Promise - Resolves the auctions as array
Fulfil: Array - The auctions as an array
Reject: Error - An error

ParamTypeDescription
dateStringThe date of the auctions in the given dateFormat
countryStringThe country short

Resources

License

MIT

2.1.2

4 years ago

2.1.1

4 years ago

2.0.0

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago