Edition Aug 2nd-3rd, 2024
NOI Hackathon Summer Edition
PowerNap
Web/Mobile application to find the best EV charger based on distance from the destination, time of the stay, charger speed, electricity costs and current battery level and the desired one.
The algorithm uses an heuristic that allows to calculate a score for each station as a weighted combination of some relevant information.
Our public APIs offer an easy way to access useful information such as walking Distance from the station to the destination, Station location, Charging costs, Provider, Socket type, Maximum power output and Expected charging time.
You can test out our APIs at https://powernap.alberto.fun/{endpoint}
where endpoint is one of the following:
GET /get-charging-station/?longitude={xx}&latitude={yy} (returns stations within a 2km radius)
GET /get-locations/ (returns a set of coordinates based on a address passed in json format in the body - e.g. {"address": "Via Milano, 5 Bolzano"})
GET /get-details-from-stations/?longitude={xx}&latitude={yy}¤t_battery={cc}&desired_battery={bb}&station_id={aa} (where station id is one of the ones retrieved from the /get-charging-station endpoint)