Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/h/e/HearPlanetAPI-0.1.1/hearplanet/api.py   HearPlanetAPI(Download)
    def _build_base_url(self, path):
        return 'http://' + config.HEARPLANET_HOST + config.BASE_URL + path + '/?'
 
    def _handle_request(self, path, params):
        url = self.build_url(path, params)
        url = u'%s?%s' % (url, urllib.urlencode(signed))
 
        self.url = "http://%s:%d%s" % (config.HEARPLANET_HOST, config.HEARPLANET_PORT, url)
 
        return self.url