def METHOD_NAME(self, video_id, service):
    hash = hashlib.sha256(video_id.encode('ascii')).hexdigest()
    # SponsorBlock API recommends using first 4 hash characters.
    url = f'{self._API_URL}/api/skipSegments/{hash[:4]}?' + urllib.parse.urlencode({
        'service': service,
        'categories': json.dumps(self._categories),
        'actionTypes': json.dumps(['skip', 'poi', 'chapter'])
    })
    for d in self._download_json(url) or []:
        if d['videoID'] == video_id:
            return d['segments']
    return []