Read the statement by Michael Teeuw here.
Help needed simple API based module
-
Simple way to test if it entering the function:
Log.error("function entered");
Press F12 in browser, check for console output and refresh the website. If the function is entered you will see “function entered” in the console.
-
thank you! It’s now working :)
I thought that my scheduleupdate was working but it didn’t (only 2 times )
with the Log function I could find the problem easy . -
great. Now tidy up your code ;) and present your module in modules showcase
-
-
@ooom416354 Yes, but other modules are also that.
I used the default module “weatherforecast” it is an simple api based module that gets the data and displays it in a table.I’m now trying to add a map, and then display the ISS current position on that, but implementing this in a module is a lot harder then normal javascript :p.
-
@ooom416354
Yes, kind of. At least with JSON calls without additional headers. The you need to use request and a node_helper -
@washichi Yea, I am still not even sure how to translate the returned JSON to an actual visual table on the mirror. Not very good at this lol
-
@ooom416354 It could be yes ;)
-
@ooom416354 said in Help needed simple API based module:
@washichi Yea, I am still not even sure how to translate the returned JSON to an actual visual table on the mirror. Not very good at this lol
Me either but won’t stop me from trying :)
-
@cowboysdude yup I agree with that!