ppy / osu-api

Public API for accessing osu! related data.
321 stars 16 forks source link

More data for get_user? #10

Closed gdude2002 closed 11 years ago

gdude2002 commented 11 years ago

Hey,

I'm the lead developer for https://github.com/gdude2002/Pippi - an IRC bot that's designed to work with the main Osu! site and provide various integrations with it.

Now, at the moment, all it can do is take a /b/ or /s/ URL and return some info on it. It does this by using a scraper I wrote in Django (Sorry!). Now, your API will make this stuff a lot easier, faster, and more above-board, and for the purposes of grabbing info from URLs, it's plenty for that.

However, we're looking to add some notifications while people are playing - For example, if someone achieves a toprank, or even something akin to the "Recent activity" section on the current player pages; perhaps checking the API every so often and posting a message like "User X earned rank Y on map Z".

Are there any plans to add something like this to the API?

Thanks, Gareth

peppy commented 11 years ago

I've added the last five recent events to the get_user call.

gdude2002 commented 11 years ago

<3! Exactly what we needed.

By the way, what is epicfactor?

peppy commented 11 years ago

Higher means more epic an event.

gdude2002 commented 11 years ago

Alright, so what's the range? 1-3?

peppy commented 11 years ago

No set range. Can get pretty high – maybe about 20 at the moment? I’ll add docs for this soon and declare the current range.

gdude2002 commented 11 years ago

Alright, awesome. Thanks for that.