I got the following error while I was trying to "get the list of Najva's account clients":
'authorization' : "Token %s" % token,
NameError: name 'token' is not defined
I called the following lines of code for "get the list of Najva's account clients" with my apiKey and token.
client = Najva()
client.apikey = "166a59c9-ab5e-4835-9637-fa1277436406"
client.token = "b32aefa32fd46b2b413990792be0bbc0391e45c3"
accounts_str = client.get_onesignal_accounts()
print(accounts_str)
Even I got a new token from my panel, but still I encounter the same error.
Thanks