gosumemory
gosumemory copied to clipboard
Get player information
I want to get the player's detailed information (such as userid, region, PP, level), but static JavaScript cannot makeCross-Origin Resource Sharing requests. cannot use osuapi,can you support it in the future?
u can already get all that with axios.
like
axios.get('https://osu.ppy.sh/api/get_user?k={API_KEY}&u=' + tempName)
We already support that information but only in the tourney client. The signature needs improving. Might support this at some point
u can already get all that with axios.
like axios.get('https://osu.ppy.sh/api/get_user?k={API_KEY}&u=' + tempName)
I am not proficient with javascript ,how to use axios ? I tried to replicate this code but it doesn't work Uncaught ReferenceError: axios is not defined
u can already get all that with axios. like axios.get('https://osu.ppy.sh/api/get_user?k={API_KEY}&u=' + tempName)
I am not proficient with javascript ,how to use axios ? I tried to replicate this code but it doesn't work Uncaught ReferenceError: axios is not defined
https://github.com/axios/axios#note-commonjs-usage