Skip to content

GreenGridIn/Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GreenGridIn Flask API

API

  • POST /predict - Predict the power consumption of a server based on the input data.

    • Request Body:

      {
        "air_temperature": 10.926,
        "pressure": 0.979103,
        "wind_speed": 9.014
      }
    • Response:

      {
        "power": 33.6881
      }