Host your own bot platform with the Bot Libre Enterprise Bot Platform
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

by admin posted Sep 2 2017, 1:58

It depends what you want the bot to do with the file.

For an XML file call,

var xml = Http.requestXML(url, xpath);

For HTML call,

var html = Http.requestHTML(url, xpath);

For JSON use,

var json = Http.requestJSON(url);

For CSV use,

var csv = Http.requestCSV(url);

For text use,

var text = Http.requestText(url);


Id: 18920652
Posted: Sep 2 2017, 1:58
Replies: 0
Views: 2661, today: 1, week: 1, month: 4
0 0 0.0/5