def createDAsession():
'''Create a DeviantArt session using The Client Credentials access by Backend Application Flow and OAuth2Session from oauthlib.oauth2 / Requests-OAuthlib '''
global deviantart_client, deviantart_session, token
deviantart_session = OAuth2Session(client = deviantart_client)
token=get_token()
deviantart_session = OAuth2Session(client_id, token=token)
评论列表
文章目录