I'd like to know beatmap's mode on get_beatmaps request.
Isn't it possible?
Isn't it possible?
I ed it for osu!bar, but I also use it for my "Big ugly white signature", they are not on the same webserver, but it works fineDamnae wrote: 6g3n3c
I guess I'll update my bar too when I find some time.
Before I apply and pick a name that cannot be changed, is the API key going to be global to my osu! or is it set up in a way that I can have a second API key if I make another app/tool ?
So that's what the CountX values mean. Thanks for that.Winshley wrote: 5yv25
@Repflez: I tried using your API-powered signature and I get something weird.
Since I only aim for SS, I have 100% Accuracy all the time, and the Accuracy display is weird.
(I now know that despite having all-SS records, the note hit count for getting 50s and 100s are still counted all the time)
Yeah. At first I thought that there was something wrong with the API showing 50s and 100s despite having 100% Accuracy, until I actually calculated all 300s + 100s + 50s = "Total Hits" on our profile.Repflez wrote: 3qn1q
So that's what the CountX values mean. Thanks for that.
I plan to change that to the Total Hit Count once I finish with some things with the API interface that the image uses.Winshley wrote: 5yv25
When you reached 10 millions of 300 hits, the last number is cut off. Cookiezi has 17 millions of 300 hits.
The API says that you "full" stats in osu!mania:Winshley wrote: 5yv25
I'm not sure how the level bar breaking happens though... I was thinking that it probably because I don't have any ranked score on osu!mania?![]()
Array
(
[0] => Array
(
[_id] => 864895
[name] => Winshley
[count300] => 7164
[count100] => 23
[count50] => 12
[playcount] => 338
[ranked_score] => 0
[total_score] => 144063600
[pp_rank] => 0
[level] => 28.0984
[pp_raw] => 0
[accuracy] => 0
[country] => ID
)
)
number_format(substr(unround_number($[level],true),0,3)*0.264,0)
I plan on adding caching, if I ever learn how to.peppy wrote: 1vo5i
@Avail: you are currently doing *no* caching. That means every time that image is displayed, it is consuming huge resources on your server (and doing an underlying API call to osu!). best work on that if you plan on letting many people use it :p.
Say some guys app tracks names primarily (me, it cycles through logs for names not UIDs and editing the name to UID would use way too much in resources and would break logging, unless you want logs like <39283> Hi there greg) it'd make migrating a from the old name to the new much easier/faster. As for the profile, a quick view of source tells me I'm dumb and I need to hover over the name, didn't know that. Whoops.peppy wrote: 1vo5i
what for? and it is still in profiles
Not as easy as that seeing how my stuff comes directly from IRC with no middleman for conversion. If there was a version of Bancho that used UID; I'd use it and create a postprocessor for converting the UID to real name but its a pain creating a preprocessor to convert to UID and a postprocessor to convert from for human readable format especially seeing the quantity people talk in all channels and the amount of API calls that'll be, even with caching it'll still be heavy.peppy wrote: 1vo5i
Logging based on name is horribly wrong. You should be using id from the start..
That is one option. One that I have been thinking about at that. However, to get an API key you have to apply for access. The form on which you do so is quite obviously meant for developers only. Really, what I'd like is to have Peppy's opinion on what to do for this one.XPJ38 wrote: 25405y
Request your s to enter their own API key.
https://osu-ppy-sh.zoneani.me/p/api ^^EMENCII wrote: 5o5p47
So... Can I?
Yes, but... Isn't it too much data?oliebol wrote: 4s592p
https://osu-ppy-sh.zoneani.me/p/api ^^EMENCII wrote: 5o5p47
So... Can I?
Thank you very much, your help was very appreciatedoliebol wrote: 4s592p
the dev-discord server (http://discord.gg/ppy) and ask in the api-channel there
$.post(
"https://osu-ppy-sh.zoneani.me/api/get_scores",
{
k : "my_api_key",
b : '1026729',
u : "Wilchq",
m : 0,
type : "string"
},
function(data) {
console.log(data);
}
);
If you specify the "u" parameter, it will return empty unless that player has an score in that map. Remove that parameter.Vostok Sisters wrote: 5cx39
Hello. I trying to grab information about top 100 scores of a specified beatmap.
But the server receives an empty response. Where error in my query?
Full Tablet wrote: j536v
If you specify the "u" parameter, it will return empty unless that player has an score in that map. Remove that parameter.Vostok Sisters wrote: 5cx39
Hello. I trying to grab information about top 100 scores of a specified beatmap.
But the server receives an empty response. Where error in my query?
Also, try using '0' instead of 0 in the "m" parameter.
Put your api key in the "k" parameter if you haven't already.
k - api key (required).If I specify the name in the query, does the 's top results return or result what in the top 100 best of all time and s?
b - specify a beatmap_id to return score information from (required).
u - specify a _id or a name to return score information for.
XPJ38 wrote: 25405y
Is there a fair use limit? (e.g. no more than XX requests per day)
For get_, I suppose there is a mode parameter for getting information for Taiko, CtB and osu!mania? Or do I have to file an issue in GitHub?Nevermind, I found it, the parameter to add is called "m"I have edited the GitHub wiki.
varn88 wrote: 2c3r59
Hello,
I bumped into an issue trying to get the response from a request, that has more than 500 hits, but it's limited to giving 500. Is there a way to send a new request to get the remaining results that didn't fit in the first response(the next 500, and then the next 500 and so on)?
I'm trying to use the get_beatmaps query to get unranked mania maps, and since they are unranked the 'since' keyword doesn't apply and I can't find any other way to control from which point I want to get the results.
I've also opened an issue about it on the github page of the api wiki, but it didn't see much traffic and I'm hoping I can get an advice here.
peppy wrote: 1vo5i
I've had an API available for a while but until now it has been on a private on-request basis. In order to try and make developing third party services which expand and osu!, I have added an API key setup and started to document the API.