Update docs

This commit is contained in:
2026-03-13 16:39:37 +04:00
parent ccc865741c
commit ba01a579b6
4 changed files with 155 additions and 0 deletions

View File

@@ -41,6 +41,12 @@ console.log(allPlaces);
// List places for specific geohash prefixes (e.g. for a map view)
const areaPlaces = await places.getPlaces(['u33d', 'u33e']);
console.log(areaPlaces);
// Create a list
await places.lists.create('favorites', 'My Favorites');
// Add a place to a list (requires list ID, place ID, and place geohash)
await places.lists.addPlace('favorites', 'place-id-123', 'u33dc0');
```
## API Reference
@@ -52,3 +58,4 @@ console.log(areaPlaces);
### Type Aliases
- [Place](docs/type-aliases/Place.md)
- [List](docs/type-aliases/List.md)