Skip to content

SPWareing/EnergyApiFunction

Repository files navigation

Energy Api Function

This repository contains an Azure function for making calls to the Octopus Energy API , built using .NET.

It is designed to fronted by a React App which turns the returned JSON object into an Energy Consumption Dashboard

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/EnergyApiFunction.git
  2. Navigate to the project directory:
    cd EnergyApiFunction
  3. Restore the dependencies:
    dotnet restore

Running the Function

To run the function locally, use the following command:

dotnet run

Testing TODO

To run the tests, use the following command:

dotnet test

Contributing

Contributions are welcome! Please fork the repository and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

TODO:

[ X ] Add Tests

[ ] Add React App repo reference

About

Azure Function for shaping API calls to the Octopus Energy API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages