Jump to content


Photo

Lindexer Api?


  • Please log in to reply
2 replies to this topic

#1 peak_positions

peak_positions

    Advanced Member

  • UBot Users
  • PipPipPip
  • 87 posts
  • OS:Windows 7
  • Total Memory:4Gb
  • Framework:v4.0
  • License:Dev

Posted 11 June 2012 - 02:35 AM

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,

#2 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3165 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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.

Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 


#3 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3165 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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


Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users