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
- .NET SDK
- Visual Studio Code or any other code editor
- Clone the repository:
git clone https://github.com/yourusername/EnergyApiFunction.git
- Navigate to the project directory:
cd EnergyApiFunction - Restore the dependencies:
dotnet restore
To run the function locally, use the following command:
dotnet runTo run the tests, use the following command:
dotnet testContributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
TODO:
[ X ] Add Tests
[ ] Add React App repo reference