def url(self, key):
        """Creates a full URL to the API using urls dict
        """
        return urlunparse((self.protocol, '%s:%s' % (self.domain, self.port),
                           '%s/api/v1%s' % (self.prefix, URLS[key]),
                           '', '', ''))
def url ( self , key ) : return urlunparse ( ( self . protocol , '%s:%s' % ( self . domain , self . port ) , '%s/api/v1%s' % ( self . prefix , URLS [ key ] ) , '' , '' , '' ) )
Creates a full URL to the API using urls dict