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,
Lindexer Api?
Started by peak_positions, Jun 11 2012 02:35 AM
2 replies to this topic
#1
Posted 11 June 2012 - 02:35 AM
#2
Posted 11 June 2012 - 06:52 AM
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.
#3
Posted 12 June 2012 - 10:52 AM
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)
}
Attached Files
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users














