def get_authorisation_url(self, application_name, token_expire='1day'):
        '''
        Returns a URL that needs to be opened in a browser to retrieve an
        access token.
        '''
        query_params = {
            'name': application_name,
            'expiration': token_expire,
            'response_type': 'token',
            'scope': 'read,write'
        }

        authorisation_url = self.build_uri(
            path='/authorize',
            query_params=self.add_authorisation(query_params)
        )

        print('Please go to the following URL and get the user authorisation '
              'token:\n', authorisation_url)
        return authorisation_url
Returns a URL that needs to be opened in a browser to retrieve an
        access token.