Please access /api/calc to calculate pp, usage:
Sample
WITH MD5: /api/calc?md5=ccb1f31b5eeaf26d40f8c905293efc03
WITH BID: /api/calc?bid=2848898
WITH SID + FILENAME: /api/calc?sid=1378720&file_name=Tanchiky%20-%20Bridge%20(NyarkoO)%20[Extension].osu
Optional:
md5 (Get beatmap with md5) *Recommend
bid (Get beatmap with bid)
sid (Get beatmap with sid and file_name)
file_name ({artist} - {title} ({mapper}) [{diff_name}].osu)
mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania).
mods (See osu-api/wiki)
n50 (Count of 50)
n100 (Count of 100)
n300 (Count of 300)
acc (float: 0-100)
miss (Count of miss)
combo (Your combo)
katu (Count of katu)
passed_obj (If failed, use count of passed objects)
simple (0 or 1; if 1, returns simple info)
acc_list (0 or 1; if 1, calculate and returns pp results of acc 95, 98, 99, 100.
no_miss (0 or 1; if 1, calculate pp if no miss.