def get_component(id):
    """
    Gets a Cachet component by id
    """
    components = cachet.Components(endpoint=ENDPOINT)
    component = json.loads(components.get(id=id))
    return component['data']