Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Skype resolver for Skype bot?

Hey, I am using Skype2Py to code a skype bot atm because I am running linux.
The issue I am having is figuring out how to get the resolver to work at all.. I have an PHP resolving api, and when I issuen the @resolve <username> command there is no reply.
Any help would be appreciated.

EDIT:
Code for resolving:

def cmd_resolve(Message, username):
url = "http://crimebox.net/api.php?key=REDACTED&username=%u&option=resolve" % username
req = urllib2.Request(url)
response = urllib2.urlopen(req)
read = response.read()
Message.Chat.SendMessage(read)

Thanks,
Chargeback (Syntax)
Show us what your code is for it resolving first.
Please post the code here.
He already did. And OP, I think you mean
Code
url = "http://crimebox.net/api.php?key=REDACTED&username=%s&option=resolve" % username
, not %u, which is for an unsigned integer


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by WhiteHatAirJun 17, 2017 04:04 PM 18 1,128 Jun 17, 2017 04:04 PM
Last Post: alexcat
[C#] by ShadowBoiApr 25, 2016 12:42 AM 13 1,130 Apr 25, 2016 12:42 AM
Last Post: Zero hour
[.NET] by Geekie benjiJul 5, 2015 01:07 AM 1 504 Jul 5, 2015 01:07 AM
Last Post: Odus