Merge pull request #1 from nunofmaia/develop

Implement private methods and add example
Fix auth url
Fix API method for getting the auth URL
Merge with master