@classmethod<EOL><INDENT>def get_credentials(cls, consumer_key, code):<DEDENT>
headers = {<EOL>'<STR_LIT>': '<STR_LIT:application/json>',<EOL>}<EOL>url = '<STR_LIT>'<EOL>payload = {<EOL>'<STR_LIT>': consumer_key,<EOL>'<STR_LIT:code>': code,<EOL>}<EOL>return cls._make_request(url, payload, headers)[<NUM_LIT:0>]<EOL>
Fetches access token from using the request token and consumer key