If you really have no idea how to do caching then I highly recommend that you at least use this: t/141331
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.