scoopy.oauth¶
-
exception
scoopy.oauth.OAuthException(value)¶ Basic exception for OAuth related errors.
-
exception
scoopy.oauth.OAuthRequestFailure(value)¶ Exception raised when a request fails.
-
exception
scoopy.oauth.OAuthTokenError(value)¶ Exception raised when a token isn’t set and an operation requiring one is performed.
-
class
scoopy.oauth.OAuth(consumer_key, consumer_secret)¶ Helper class for all OAuth related actions.
-
generate_request_params(params)¶ Given a dict of parameters, add the needed oauth_* parameters to it and return an url-encoded string.
-
get_access_token(token_verifier)¶ Request the server for an access token and return it.
-
get_access_token_url(callback_url)¶ Generate the URL needed for the user to accept the application and return it.
-
get_request_token()¶ Request the server for a request_token and return it.
-