Need info reg FlightInfo API calling from Node JS app or client side js

I need to get real time flight status for a particular flight (search by flight id or name ) to know the real time location of the flight with latitude & longitude to plot in the google map… Found the FlightINfo AP allowed to search with flight number and proving flight info’s… how can I make use of calling this API in my NodeJs app or either client side JavaScript ? can anyone help with that ?