This is a sample code for using spark authentication api.
Sign up to Spark developer portal and create a new application here.
Set you Callback URL to http://localhost:8089/callback.
Open the SparkOAuth.py file:
-
Replace CONSUMER_KEY with your App Key.
-
Replace CONSUMER_SECRET with your App Secret.
To start using this sample you just have to browse http://localhost:8089/signin