Update docs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user