def __init__(self, app_key, app_secret):
        """Create a SinchSMS client with the provided app_key and app_secret.

           Visit your dashboard at sinch.com to locate your application key and secret.
           These can be found under apps/credentials section.
        """
        b64bytes = base64.b64encode(('application:%s:%s' % (app_key, app_secret)).encode())
        self._auth = 'basic %s' % b64bytes.decode('ascii')
def __init__ ( self , app_key , app_secret ) : b64bytes = base64 . b64encode ( ( 'application:%s:%s' % ( app_key , app_secret ) ) . encode ( ) ) self . _auth = 'basic %s' % b64bytes . decode ( 'ascii' )
Create a SinchSMS client with the provided app_key and app_secret.

           Visit your dashboard at sinch.com to locate your application key and secret.
           These can be found under apps/credentials section.