Updated api.php

Updated api.php in accordance with
[52aebfd](https://github.com/viion/XIVPads-LodestoneAPI/commit/52aebfd49524a4f5160414ed99d13c3e913b49d0)