Skip to content

Commit

Permalink
update api readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nonnontrivial committed Jun 30, 2024
1 parent 1e23519 commit b6c2f7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6c2f7a

Please sign in to comment.