Update API.php

* reduce Gift public methods