Merge pull request #1 from weshays/master

Added missing ?> at the end.  Added check to see if the API key and toke...
support for specifying the key and token via the constructor.