Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get steam id doesn't work for chinese personname #5

Closed
IamFive opened this issue Jul 5, 2013 · 3 comments
Closed

Get steam id doesn't work for chinese personname #5

IamFive opened this issue Jul 5, 2013 · 3 comments

Comments

@IamFive
Copy link

IamFive commented Jul 5, 2013

As title

api.get_steam_id('待定')

will return

{
    "response": {
        "success": 42,
        "message": "No match"
    }
}

https://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001?key=785341AE096E92D8084EEDA1B5088A1B&vanityurl=待定

any ideas about this?

@michael-the1
Copy link

Because it works on the vanityurl and not the nickname. Vanityurl does not accept Chinese characters (and similar), which makes sense because such characters are not allowed in urls.

@andrewsnowden
Copy link
Owner

Yeah as Michael says it works on your vanity URL. You can find this by going to your steam profile and looking at the address which will be something like: http://steamcommunity.com/id/vanityurl/. Take whatever is after the id/ part (it will either be a number or an account name that you chose).

@IamFive
Copy link
Author

IamFive commented Jul 5, 2013

got it. thx. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants