Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I want to make a SC2 clan and we need an website. We want to let users register free on website based on Server, Character Name and Number.

I saw on http://sc2ranks.com/ that they can somehow can find / construct player profile URL, for example: http://sc2ranks.com/cn/85055/ZeroKyo

From where did they get /85055/? It isn't based on anything as far I can see. How can I find this URL if I have the character name and number?

share|improve this question
add comment

2 Answers

Why not just use the API that sc2ranks.com has created. That way you can focus your efforts on building the website, and sc2ranks will deliver the data you need.

Read more about the restrictions for the service and how to use SC2 Ranks API.

EDIT

Since you do not want to use sc2ranks.com, you should take a look at the sc2profile project. It is made for the single purpose of fetching profile information from Battle.net. I think that would be a good starting point.

share|improve this answer
    
+1 This seems like it would be the easiest and quickest method to implement. If nothing else the OP should at least use this until they can come up with their own platform (if they wish to do so) –  Wipqozn Jul 18 '11 at 13:11
    
The only problem with this is your relying on a third party website. Should it go down, you would have to rewrite everything. –  Resorath Jul 18 '11 at 15:51
    
@Resorath But it's a good method to use until they have their own system in place. –  Wipqozn Jul 19 '11 at 10:32
add comment

That number is from the user's battle.net profile URL. Example:

http://eu.battle.net/sc2/en/profile/326029/1/LiquidTLO/

http://sc2ranks.com/eu/326029/LiquidTLO

That's probably how sc2ranks gets it, but if all you have is username + character code, I don't know a way to get it without using their API like @Sharken said. However even on their website they say character code is not the most accurate way to search for a player's profile.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.