forum

Finding the score id of a score using the osu! API v1

posted
Total Posts
4
Topic Starter
Luqman
Problem details: I'm using an Osu API wrapper where I want to get some details about a score but the wrapper requires that I have the score id. I was wondering if anyone could help me in being able to retrieve the score id of a given score.

Here is the link to the wrapper I'm currently using:

https://www.npmjs.com/package/node-osu
abraker
How do you get the score to begin with?
Topic Starter
Luqman
I'm getting the score by using the .getUserRecent() method from node-osu. The method returns an array of the recenty scores from a specific user that u pass in as a parameter.
abraker
You can use the /api/get_scores endpoint to get a user's score given the beatmap, user_id, mode, and mods. The info you get from that should have a score_id field.
Please sign in to reply.

New reply