સુધારો કરવા માટે અમારા Platinum સેવા અને અમને બિલ્ડ તમારા બોટ માટે તમે
Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

RE: Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

દ્વારા admin પોસ્ટ Aug 4 2017, 9:37

You can parse JSON results from a web service call in a Self script, use,

Http.requestJSON(url)

This will automatically convert the JSON object to an object in Self.
You can then access its state.

var result = Http.requestJSON(url);
var message = result[1].message;

See,
https://www.botlibre.com/forum-post?id=13020078

Here are some examples scripts using JSON,
https://www.botlibre.com/script?tag-filter=json


ને: 18555746
પોસ્ટ: Aug 4 2017, 9:37
જવાબો: 0
જોવાઈ: 4397, આજે: 2, સપ્તાહ: 11, મહિને: 51
0 0 0.0/5