1.0.0-alpha.1 • Published 3 years ago

@techiepi/esios-api v1.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

esios-api

An API wrapper for api.esios.ree.es

Features

  • 🧊 Simple. Just simple
  • 📚 Documented. It's simple, although there are docs
  • 🗽 Open Source. MIT License, as simple as the library

Getting started

Install the library with npm install @techiepi/esios-api You're done! Now you can use the library like in the example below

const apiCall = esios.pricePVPC20TD(new Date(Date.now() - 1000), new Date(), token);

console.log(await apiCall.execute()); // Raw API object

API Docs

Because the API has quite unuseful docs, one of our objectives is to create an unofficial API docs. The work is being made at docs/api.

While we work on the API documentation, you can check the FAQs

Build

You can run npm run build to build the library

License

This project is licensed under the MIT license