67 posts jump | 1, 2, 3, 4, 5  next
User avatar
19,085 posts
Offline
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 support osu!, I have added an API key setup and started to document the API.

Reference:

osu!api wiki: http://github.com/peppy/osu-api/wiki
osu!api key management: http://osu.ppy.sh/p/api

Documentation will be expanded as I find time to do so! If anyone currently using the API is able to help expand the documentation then please do.
User avatar
Cymbal Sounder
35 posts
Offline
Before I spam it with requests that might not exist, is there anything to get user's information?
(Also, is there anything to login users from this page in other places?)
User avatar
osu!dev
742 posts
Offline
comentarinformal wrote:
Before I spam it with requests that might not exist, is there anything to get user's information?
(Also, is there anything to login users from this page in other places?)


There is /api/get_user

Gonna write an entry with the information I have about it.

EDIT: Done.
User avatar
osu! Alumni
3,571 posts
Offline
Is there a fair use limit? (e.g. no more than XX requests per day)

For get_user, I suppose there is a mode parameter for getting user 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" :D I have edited the GitHub wiki.
Image
Click image for full resolution (8960 x 800)
User avatar
Global Moderator
341 posts
Offline
So is out...

Oh well. I have some questions:

Are only the beatmap and user endpoints available?
The parameter "since" in /get_beatmap how I need to pass the time on it? UTC or unix timestamp?
Do I need to pass the key on the wiki's API too?
Edit: What the countX values mean? Number of beatmaps?
Image
User avatar
19,085 posts
Offline
@XPJ38: see doc.

@Repflez:
since = mysql date
wiki api = ?
everything else you asked is in the doc.
User avatar
19,085 posts
Offline
comentarinformal wrote:
Before I spam it with requests that might not exist, is there anything to get user's information?
(Also, is there anything to login users from this page in other places?)


"spamming" with requests is considered "evil" use. you may be banned from the api and/or osu! for doing so. the api is not provided to retrieve a full set of information. it is provided to do lookups when necessary.
User avatar
Whistle Blower
19 posts
Offline
I'd like to know beatmap's mode on get_beatmaps request.
Isn't it possible?
User avatar
Beat Clicker
68 posts
Offline
Minor gripe: Please return integers as such.
User avatar
19,085 posts
Offline
All requests and bugs should be filed on github: https://github.com/peppy/osu-api/issues
User avatar
Beat Clicker
68 posts
Offline
Any rate limits?
User avatar
19,085 posts
Offline
User avatar
Rhythm Incarnate
1,478 posts
Offline
With this now open, is getting data from http://osu.ppy.sh/pages/include/profile ... id&m=$mode will be still possible or it may becaume unavaillable ?
(Lazy to change my PHP code *o*)
ImageImage
User avatar
19,085 posts
Offline
Please switch to using the API. Please please please. That page you are using will no doubt change in the future and cause you more grief than if you spend a bit of time and make your code use the new API.
User avatar
Elite Storyboarder
584 posts
Offline
I guess I'll update my userbar 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! account or is it set up in a way that I can have a second API key if I make another app/tool ?
Reply 67 posts jump | 1, 2, 3, 4, 5  next

Users browsing this forum: None


Jump to: