Update gsAPI.php

Wrong use of $song, Change of function call and parameters