def api_call(self, url, processor, http_method="GET", params={}, optional_params={}):
        for (key, value) in optional_params.items():
            if not params.has_key(key):
                params[key] = value
        
        try:
            json_data = self.raw_api_call(url, parameters=params, http_method=http_method)
        except:
            return False
        
        return processor(json_data)
Return the (git object) SHA1 for the object at a path.
dataset/ETHPy150Open frozenskys/django-github/github/libs/github.py/GithubAPI.api_call--crossover with--dataset/ETHPy150Open natestedman/Observatory/observatory/lib/dulwich/index.py/Index.get_sha1