https://github.com/SNflows/tendrils/blob/da578e1eb56b9e75b3e0fd09d9de52fb13748994/tendrils/api/lightcurves.py#L27 Fix: Modify `api.get_lightcurve` to take in target name as well as target id by querying for target id if `target` is not castable to `int`.