DaFluffyPotato / hitbloq

a competitive beat saber service
MIT License
20 stars 4 forks source link

Mass ID conversion endpoint #23

Closed rithik-b closed 3 years ago

rithik-b commented 3 years ago

Add an endpoint which accepts a list of scoresaber ids and returns the associated hitbloq ids in one request

DaFluffyPotato commented 3 years ago

Done. Here's a usage example:

import request
x = requests.post('https://hitbloq.com/api/tools/mass_ss_to_hitbloq', json={'ids': ['76561198098172449', '76561198350761117']})
print(x.json())