Update

You can now register the package on: https://packagist.org/ as "gumer/gumer-psn-php"

The code it now updated to be more friendly to work with and maintain.

Composer is required, Guzzle is now being used instead of CURL directly.

Unit tests and update to your example will be on there way shortly.