Module ImportFrom alias Import alias Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict NameLoad body Expr Str Assign NameStore Dict Str Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str BinOpAdd Str IfExp NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Raise Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict Str body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict Str body Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import N/A urllib N/A urllib2 N/A json WePayError N/A Exception N/A __init__ N/A N/A self type message N/A N/A N/A N/A N/A Exception __init__ self message N/A N/A self type type N/A N/A WePayAPI N/A object N/A N/A A client for the WePay API __init__ N/A N/A self production access_token N/A True None N/A N/A If production is False, then stage.wepay.com will be used.
        If access_token is set then all calls will use that token for
        the Authorization header N/A N/A self access_token access_token N/A production N/A N/A N/A self wepay_url https://www.wepay.com/v2 N/A N/A N/A self wepay_url https://stage.wepay.com/v2 N/A call N/A N/A self uri params token N/A N/A None N/A N/A Calls wepay.com/v2/{uri} with {params} and returns the json
        response as a python dict. The optional token parameter will override
        the instance's access_token if it is set. N/A headers N/A Content-Type application/json N/A url N/A N/A self wepay_url uri N/A N/A N/A self access_token token N/A N/A N/A headers N/A Authorization N/A Bearer  N/A token token N/A self access_token N/A params N/A N/A json dumps params N/A request N/A N/A urllib2 Request url params headers N/A N/A N/A response N/A N/A N/A N/A urllib2 urlopen request read N/A N/A N/A json loads response N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A response N/A N/A json loads N/A N/A e read N/A N/A WePayError N/A response N/A error N/A response N/A error_description N/A get_authorization_url N/A N/A self redirect_uri client_id options scope N/A N/A manage_accounts,collect_payments,view_balance,view_user,refund_payments,send_money N/A N/A Returns a URL to send the user to in order to get authorization.
        After getting authorization the user will return to redirect_uri.
        Optionally, scope can be set to limit permissions, and the options
        dict can be loaded with any combination of state, user_name or user_email. N/A N/A options N/A scope scope N/A N/A options N/A redirect_uri redirect_uri N/A N/A options N/A client_id client_id N/A N/A N/A N/A self wepay_url /oauth2/authorize? N/A N/A urllib urlencode options N/A get_token N/A N/A self redirect_uri client_id client_secret code N/A N/A N/A Calls wepay.com/v2/oauth2/token to get an access token. Sets the access_token
        for the WePay instance and returns the entire response as a dict. Should only be
        called after the user returns from being sent to get_authorization_url. N/A params N/A redirect_uri client_id client_secret code redirect_uri client_id client_secret code N/A response N/A N/A self call /oauth2/token params N/A N/A self access_token N/A response N/A access_token N/A response N/A N/A WePay N/A object N/A __init__ N/A N/A self app N/A N/A N/A N/A self consumer_key N/A N/A N/A app config get WEPAY_CONSUMER_KEY N/A N/A self consumer_secret N/A N/A N/A app config get WEPAY_CONSUMER_SECRET N/A N/A self production N/A N/A N/A app config get WEPAY_IN_PRODUCTION False N/A N/A self access_token N/A N/A N/A app config get WEPAY_ACCESS_TOKEN N/A N/A self wepay N/A WePayAPI production N/A self production access_token N/A self access_token N/A call N/A N/A self uri params token N/A N/A None N/A N/A N/A N/A N/A self wepay call uri params token N/A get_authorization_urls N/A N/A self redirect_uri options scope N/A N/A manage_accounts,collect_payments,view_balance,view_user,refund_payments N/A N/A client_id N/A self consumer_key N/A N/A N/A N/A self wepay get_authorization_url redirect_uri client_id options N/A scope scope N/A get_token N/A N/A self redirect_uri code N/A N/A N/A client_id N/A self consumer_key N/A client_secret N/A self consumer_secret N/A code code N/A N/A N/A N/A self wepay get_token redirect_uri client_id client_secret code N/A N/A