Your script is configured properly! You can now start to develop your API calls, see the example in this script.

Be sure to set $test_email if you are going to use the example