- Install rauth
-
Use the Oauth 2 service from rauth
-
Set up the Oauth 2 service for the nation you want to access
-
Get token from code client passes to you from the redirect (see API authentication docs)
-
Get API session using token
-
Get API data using session