Updated api.php

Updated api.php in accordance to
[6725b50](https://github.com/viion/XIVPads-LodestoneAPI/commit/6725b502db9ded58ebecd5b452569c62a0fde185)