def make_url(namespace, max_age):
 signer = MessageSigner(g.secrets['websocket'])
 signature = signer.make_signature(namespace, max_age=datetime.timedelta(seconds=max_age))
 query_string = urllib.urlencode({'m': signature})
 return urlparse.urlunparse(('wss', g.websocket_host, namespace, None, query_string, None))

def make_url ( namespace , max_age ) : signer = MessageSigner ( g . secrets [ 'websocket' ] ) signature = signer . make_signature ( namespace , max_age = datetime . timedelta ( seconds = max_age ) ) query_string = urllib . urlencode ( { 'm' : signature } ) return urlparse . urlunparse ( ( 'wss' , g . websocket_host , namespace , None , query_string , None ) )
build an appveyor api url .