From b6c2f7a67e0b703581d9171797925f872c3980de Mon Sep 17 00:00:00 2001 From: Kevin Donahue Date: Sun, 30 Jun 2024 17:23:31 -0400 Subject: [PATCH] update api readme --- api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/README.md b/api/README.md index 6814e39..0a8769e 100644 --- a/api/README.md +++ b/api/README.md @@ -20,13 +20,13 @@ python -m api.main ### endpoints -#### `/api/v1/pollution` +#### `/api/v1/lp` Gets the approximate artificial sky brightness map [RGBA pixel value](https://djlorenz.github.io/astronomy/lp2022/colors.html) for a lat and lon (for the year 2022). ```sh -curl "localhost:8000/api/v1/pollution?lat=40.7277478&lon=-74.0000374" +curl "localhost:8000/api/v1/lp?lat=40.7277478&lon=-74.0000374" ``` ```json