User:Khuxkm/API function