peak_positions 2 Posted June 11, 2012 Report Share Posted June 11, 2012 Hi there, I need to integrate the lindexer APi in my bot. But I couldn't include it . Can Anyone help me how to do it. Thank You, Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 11, 2012 Report Share Posted June 11, 2012 link to this website, and there API details? is it public if not PM me details how I can access it and create something for you that will work between php web page, and your bot for utilizing there API. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 12, 2012 Report Share Posted June 12, 2012 Here it is.. Enjoy everyone.. comment("http://www.lindexed.com API ") ui block text("Urls", #urls) ui open file("Or URLs File", #urls file) set(#api key, "REPLACE WITH YOUR API", "Global") set(#service id, "REPLACE WITH YOUR BOT NAME FOR TRACKING", "Global") comment(" NO NEED TO EDIT BELOW ") if($comparison(#urls, "!=", $nothing)) { then { clear list(%urls) add list to list(%urls, $list from text(#urls, $new line), "Delete", "Global") } else if($comparison(#urls file, "!=", $nothing)) { clear list(%urls) add list to list(%urls, $list from file(#urls file), "Delete", "Global") } else { } } if($comparison($list total(%urls), ">", 9)) { then { navigate("http://www.lindexed.com/api/api.php?apikey={#api key}&serviceid={#service id} {#date now}&urls={$replace(%urls, $new line, "|")}", "Wait") clear list(%urls) } else { alert("You must include at least 10 urls") } } define get time format { set(#current time and date, $replace($replace($date, "/", "-"), ":", "."), "Global") clear list(%time stamp now) add list to list(%time stamp now, $list from text(#current time and date, " "), "Delete", "Global") clear list(%final time) add list to list(%final time, $list from text($list item(%time stamp now, 0), "-"), "Delete", "Global") set(#date now, "{$list item(%final time, 1)}-{$list item(%final time, 0)}-{$list item(%final time, 2)}", "Global") clear list(%time stamp now) clear list(%final time) } Lindexed API.ubot 2 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.