Hi,
Im learning a little JS to use a home automation application that requires some low level coding, namely JS. I have what is probably a basic question. I want to test using a "for" loop and increment part of the device object name too. Is this possible.
For example, my working code is :
recent1id = (searchresult.result.movies[0].movieid) // EXTRACT MOVIE ID var r = http.get(('https://api.themoviedb.org/3/search/movie?api_key=') + (tvdbid) + ('&query=') + (searchresult.result.movies[0].title)) // EXTRACT MOVIE DETAILS FROM TVDB
var json = r.data; // RECEIVE FEEDBACK