@mrairhd i wish to have too.
Read the statement by Michael Teeuw here.
Posts made by rick93
-
RE: Singapore Bus arrival timing
Hi @mosesyong ,
I have installed your module and I follow your instruction to configure yet it is unable to show as expected. Do you mind sharing more information or advice?
-
RE: Develop module with API
@Mykle1 said in Develop module with API:
Give me your email in a private chat message and I’ll send you the fixed files.
You’re doing well. Don’t worry about making mistakes or being new. Everyone here has, at one time or another, been right where you are. I still struggle with coding. I’m just too old and too stupid to stop trying.
Big thanks !! @Mykle1 it’s just a simple code change that made my module works !! fantastic!
-
RE: Develop module with API
@rick93 said in Develop module with API:
Hi @Mykle1 , I am trying to display only one parameter on the magic mirror,unfortunately it show undefined. I tried different ways but still cant make it.
I don’t not know what is the root cause since I was using MMM_UFO as my template. Do you mind to have a look on my module and advice me?
Thank you very much.
https://github.com/rick0222/MM-SWrick93 about 2 hours ago
I am not sure is the issue came from the API that I inserted not correct and return a wrong data. but I have no idea how I can make it work.this.url = "https://api.data.gov.sg/v1/environment/4-day-weather-forecast"; this.SW = [];
-
RE: Develop module with API
Hi @Mykle1 , I am trying to display only one parameter on the magic mirror,unfortunately it show undefined. I tried different ways but still cant make it.
I don’t not know what is the root cause since I was using MMM_UFO as my template. Do you mind to have a look on my module and advice me?
Thank you very much.
https://github.com/rick0222/MM-SW -
RE: Develop module with API
@Mykle1 said in Develop module with API:
@rick93 said in Develop module with API:
It’s fine if you can share the API’s data/code, doesn’t really need to repair the link or find another.
I’m not really sure what you are asking me for. The API is dead so there is nothing that I can give you. The link is good but the API is dead so there is no repairing it. :-/
@Mykle1 Understood. I am actually trying to create my module for the Singapore weather forecast via API --“https://api.data.gov.sg/v1/environment/4-day-weather-forecast”.
I am new to MM as well as JS, so I do like to learn the way you code for the API, so I can get the idea to code my own.
Anyway, I will find another example to continue my coding.
Thanks. -
RE: Develop module with API
@Mykle1 thanks for your prompt reply and support. I am looking at your API information to compare with your tutorial in the module so that I know what parameter to change. It’s fine if you can share the API’s data/code, doesn’t really need to repair the link or find another. let me know if you can recall back from any previous code in storage. Appreciate!
-
RE: Develop module with API
Hi @Mykle1 , i am impressed with your MMM-UFO template.
Unfortunately the link -->https://ufo-api.herokuapp.com/api/sightings/search?city=new york&state=ny&limit=50&skip=0 seem like down.Could you please have a look at it? so that I could refer to.
Thanks!!