Skip to content

Siumba/NewMotionAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewMotionAPI

Setup

  1. Clone this project.
  2. Fill in your email & password of The New Motion in the prefilled .env file in the root directory.
  3. Run the NodeJS app.
  4. Your app will run on port :3000

API Description

The NewMotionAPI exposes a couple of endpoints:

  • Getting the configured car(s):
    /cars/getCars
  • Getting the configured charge card(s):
    /cards/getChargeCards
  • Getting the configured home charge point(s):
    /charging/getChargepoints
  • Getting the total usage since installation date of the home charger:
    /charging/getTotalUsage
  • Getting the last charge sessions of the past month since "today":
    /charging/getLastChargeSessions
  • Get user info:
    /users/getUser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published