word of advice (another API Example)

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

word of advice (another API Example)

Postby Daniel Kaminski » Fri Jan 13, 2023 12:56 pm

With just a few lines you can get random advie.

https://api.adviceslip.com/ is the API that offers you lots of free advice.

Code: Select all
var str = ""
var msg = "https://api.adviceslip.com/advice"

HTTPRequestToVar(msg,"str","GET","application/json")

var l_advice = str.ToJson

return l_advice.Get("slip.advice").ToString


WD_advice.PNG
You do not have the required permissions to view the files attached to this post.
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1071
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany

Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 6 guests

cron