Scripts and notebooks to interact with the SkyPortal API. See the SkyPortal and API documentation for more details on available endpoints and usage.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtCopy the environment template and fill in your API token:
cp .env.default .envEdit .env:
- Set
SKYPORTAL_URLto your SkyPortal instance, e.g.https://fritz.science/,https://skyportal-icare.ijclab.in2p3.fr/,https://orcusgate.org/ - Set
SKYPORTAL_TOKENto your API token (found on the bottom of your SkyPortal /profile page)
jupyter notebook fetch_candidates.ipynb