
SC2 Ranks (site) - Page 23
Forum Index > SC2 General |
Slago
Canada726 Posts
![]() | ||
Khalleb
Canada1909 Posts
On September 26 2010 03:58 Faraday wrote: Maby it's common knowledge, but question: who is that Select guy? (nr.1 or 2 in Global) and WCG champion for DOW he is in the Hall of Fame for the WCG http://www.wcg.com/6th/history/halloffame/hall_main.asp he is the 7th | ||
Faraday
United States553 Posts
![]() | ||
Shadowed
United States679 Posts
Fixed last 5 earned achievements, won't bug out after an update and decide someone hasn't earned any achievements recently. Added name statistics because I can, http://sc2ranks.com/stats/name/all/all/all shows the most popular names everywhere, http://sc2ranks.com/stats/name/kr/1/all shows the most popular in Korea who are also on 1v1 teams. | ||
Shadowed
United States679 Posts
Fixes Fixed sorting not working on the map games played page Fixed sorting not working on another page, but I forgot which Fixed recent achievements sometimes not showing up (I swear this time!) Fixed caching issues with custom divisions, they will no longer mix cache keys with other divisions and will instantly update when characters are added or removed API won't regenerate rankings and will let the cron create them Fixed custom divisions being limited on message length, it can now be as long as you want and the box will just resize Fixed news not including linked links if the message was < 100 characters Changes/additions Added a simple Share on Facebook or Twitter link to character profiles and custom divisions, I'll likely be tweaking these, but they won't be popping up on every single page. Global region is now selected by default for character name searching Redid pagination to use a single method for consistency and sanity, search now supports the go to page X input because of this Custom divisions can be filtered by region now Cleaned up team history generation, should load a little faster now Added RSS/Atom feeds for team history, also fixed the Atom feed being called an RSS feed 1v1 will now show live rankings rather than the the croned 1 - 3 hour cached one Removed shield icon next to achievement rankings, the text saying achievement rankings above it should be plenty Queue refresh is now a javascript link and won't be clicked by spiders anymore (especially the annoying Chinese ones that pull 5000 pages) | ||
DaneKoponen
United States1 Post
It would be interesting to see how many people achievement hack, and who they are. If this has already been added and I missed it, my apologies. | ||
Shadowed
United States679 Posts
I'm not actually aware of any achievement hacks either. | ||
Bibwak
19 Posts
| ||
biskit
Australia355 Posts
Can we have a filter based on race? Like is it possible to find out Top 100 Protoss? Also is there a summary of each race representation in Top 200? | ||
Shadowed
United States679 Posts
On September 28 2010 14:40 biskit wrote: Great website! I use it everyday :D Can we have a filter based on race? Like is it possible to find out Top 100 Protoss? Also is there a summary of each race representation in Top 200? You can already do both Filter race by Protoss -> http://sc2ranks.com/ranks/all/diamond/1/protoss Player group -> http://sc2ranks.com/stats/league/all/1/200/ technically you can't do 200, from the select, but you can just change the /200/ in the URL to anything you want | ||
biskit
Australia355 Posts
| ||
Intricate
Canada127 Posts
| ||
yenta
Poland1142 Posts
Also, that array doesn't include region-rank, so I guess I'll try my luck with a mass base character + team info query t,t Edit: I'm rewriting our cron job so it doesn't hit your server once/character and wanted to use custom divisions to achieve that | ||
Shadowed
United States679 Posts
The bug with custom rankings was cause of a nil cache key, Fixed it, but I'm about to run to class so it'll have to wait about an hour and a half before I can push it live. | ||
yenta
Poland1142 Posts
I think I am doing the POST incorrectly because I am always getting an error of "too_many_characters". I've tried posting with the following formats (key = value): "characters" = [{"region":"us","name":"HuK","code":530},{"region":"us","code" ![]() "characters" = characters[0][region]=us&characters[0][name]=HuK&characters[0][code]=530&characters[1][region]=us&characters[1][name]=dayvie&characters[1][code]=947 "characters" = 0[region]=us&0[name]=HuK&0[code]=530&1[region]=us&1[name]=dayvie&1[code]=947 | ||
BlasiuS
United States2405 Posts
| ||
darmousseh
United States3437 Posts
| ||
Shadowed
United States679 Posts
On September 29 2010 06:32 yenta wrote: Shadowed, could you please be a bit more verbose on how to properly query for mass base + team info? I think I am doing the POST incorrectly because I am always getting an error of "too_many_characters". I've tried posting with the following formats (key = value): "characters" = [{"region":"us","name":"HuK","code":530},{"region":"us","code" ![]() "characters" = characters[0][region]=us&characters[0][name]=HuK&characters[0][code]=530&characters[1][region]=us&characters[1][name]=dayvie&characters[1][code]=947 "characters" = 0[region]=us&0[name]=HuK&0[code]=530&1[region]=us&1[name]=dayvie&1[code]=947 How many characters are you trying to grab data for? I only just upped the limit to 100 about 5 minutes ago. Also what language are you using, the end result is it should look like the middle one, but if I know the language I can double check how you properly call it. On September 29 2010 06:36 BlasiuS wrote: Can you put in a statistic for average # of points in each league? Right now it's kind of a hassle to add up all 4 races and divide by 4. I'll have to tweak the layout a bit, it's not a huge priority but I'll look into it. On September 29 2010 06:44 darmousseh wrote: I just realized that all of the players character code is also listed on this site. Now everyone and their mother can add idra as a friend. You actually always could since it linked to battle.net, which shows character codes. | ||
Shadowed
United States679 Posts
On September 29 2010 06:32 yenta wrote: Shadowed, could you please be a bit more verbose on how to properly query for mass base + team info? I think I am doing the POST incorrectly because I am always getting an error of "too_many_characters". I've tried posting with the following formats (key = value): "characters" = [{"region":"us","name":"HuK","code":530},{"region":"us","code" ![]() "characters" = characters[0][region]=us&characters[0][name]=HuK&characters[0][code]=530&characters[1][region]=us&characters[1][name]=dayvie&characters[1][code]=947 "characters" = 0[region]=us&0[name]=HuK&0[code]=530&1[region]=us&1[name]=dayvie&1[code]=947 Ah I realize the description in the docs was a little confusing. If you're doing a raw post, from curl for example it would look like this: curl -d "characters[0][region]=us&characters[0][name]=SeleCT&characters[0][bnet_id]=789884&characters[1][region]=us&characters[1][name]=Katari&characters[1][bnet_id]=397058" http://sc2ranks.com/api/mass/base/char/?appKey=foobarshadow.com If you are doing an AJAX post from Javascript it would look something like this: {"characters":[{"region":"us","name":"HuK","bnet_id":388538},{"region":"us","code" ![]() Depending on the language, you might be able to do the latter and it will just reformat it into the raw version. | ||
yenta
Poland1142 Posts
Yep, it was a problem with my parameters. I fixed my POST, requests work for http://sc2ranks.com/api/mass/base/char/?appKey but they timeout and fail for http://sc2ranks.com/api/mass/base/teams/?appKey I'm sending the following as the body: team[bracket]=1&team[is_random]=0&characters[0][region]=us&characters[0][name]=DarthThienAn&characters[0][code]=136&characters[1][region]=us&characters[1][name]=hazelynut&characters[1][code]=632&characters[2][region]=us&characters[2][name]=Shi&characters[2][code]=618 | ||
| ||