Skip to content

Instantly share code, notes, and snippets.

@Taormina
Last active July 30, 2016 17:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Taormina/6196634 to your computer and use it in GitHub Desktop.
Save Taormina/6196634 to your computer and use it in GitHub Desktop.
A module that can be simply imported into any Python project to allow for checking to see if a Skype username is valid or not.
import requests
def checkName(name):
values = { "new_username" : name }
r = requests.post("https://login.skype.com/json/validator", values)
return "not available" in r.json()[u'data'][u'markup']
@manevant
Copy link

nice one, clean and easy, thx)

@rakeshkumar125
Copy link

Its not working gives 404 error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment