-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
397 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
/** | ||
* entsoe-api-client | ||
* | ||
* @file Helper re-exporting all dependencies to the rest of the library | ||
* | ||
* @author Hexagon <hexagon@GitHub> | ||
* @license MIT | ||
*/ | ||
|
||
export { parse } from "https://deno.land/x/[email protected]/mod.ts"; | ||
export { ZipReader, Uint8ArrayReader, TextWriter } from "https://deno.land/x/[email protected]/index.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
import { QueryGL } from "https://deno.land/x/[email protected]/mod.ts"; | ||
/** | ||
* entsoe-api-client | ||
* | ||
* @file Example on getting forecaster generation within a country | ||
* from ENTSO-e Rest API. | ||
* | ||
* @author Hexagon <hexagon@GitHub> | ||
* @license MIT | ||
**/ | ||
|
||
import { QueryGL } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
// Prepare dates | ||
const | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
import { QueryGL } from "https://deno.land/x/[email protected]/mod.ts"; | ||
/** | ||
* entsoe-api-client | ||
* | ||
* @file Example on getting realised generation within a electicity price area | ||
* from ENTSO-e Rest API. | ||
* | ||
* @author Hexagon <hexagon@GitHub> | ||
* @license MIT | ||
**/ | ||
|
||
import { QueryGL } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
// Prepare dates | ||
const | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import { QueryUnavailability } from "https://deno.land/x/[email protected]/mod.ts"; | ||
/** | ||
* entsoe-api-client | ||
* | ||
* @file Example on getting active outages +/- 30 days from ENTSO-e Rest API | ||
* | ||
* @author Hexagon <hexagon@GitHub> | ||
* @license MIT | ||
**/ | ||
|
||
import { QueryUnavailability } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
// Prepare dates | ||
const | ||
|
@@ -25,5 +34,6 @@ const result = await QueryUnavailability( | |
for(const outage of result) { | ||
console.log("Outage: "); | ||
console.log(outage); | ||
console.table(outage?.available); | ||
// Print a table for first returned timeseries and period | ||
console.table(outage?.timeseries[0].periods[0]); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import { QueryPublication } from "https://deno.land/x/[email protected]/mod.ts"; | ||
/** | ||
* entsoe-api-client | ||
* | ||
* @file Example on getting spot prices for today and tomorrow from ENTSO-e Rest API | ||
* | ||
* @author Hexagon <hexagon@GitHub> | ||
* @license MIT | ||
**/ | ||
|
||
import { QueryPublication } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
// Prepare dates | ||
const | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.