Update init.php

Cleaned up the parser function.
Added my API Token
Switched to using cURL instead of file contents