chore: Also format scripts and skills.

This commit is contained in:
cpojer
2026-01-31 21:21:09 +09:00
parent a767c584c7
commit 76b5208b11
95 changed files with 2250 additions and 1239 deletions

View File

@@ -2,12 +2,20 @@
name: local-places
description: Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
homepage: https://github.com/Hyaxia/local_places
metadata: {"openclaw":{"emoji":"📍","requires":{"bins":["uv"],"env":["GOOGLE_PLACES_API_KEY"]},"primaryEnv":"GOOGLE_PLACES_API_KEY"}}
metadata:
{
"openclaw":
{
"emoji": "📍",
"requires": { "bins": ["uv"], "env": ["GOOGLE_PLACES_API_KEY"] },
"primaryEnv": "GOOGLE_PLACES_API_KEY",
},
}
---
# 📍 Local Places
*Find places, Go fast*
_Find places, Go fast_
Search for nearby places using a local Google Places API proxy. Two-step flow: resolve location first, then search.
@@ -27,6 +35,7 @@ Requires `GOOGLE_PLACES_API_KEY` in `.env` or environment.
1. **Check server:** `curl http://127.0.0.1:8000/ping`
2. **Resolve location:**
```bash
curl -X POST http://127.0.0.1:8000/locations/resolve \
-H "Content-Type: application/json" \
@@ -34,6 +43,7 @@ curl -X POST http://127.0.0.1:8000/locations/resolve \
```
3. **Search places:**
```bash
curl -X POST http://127.0.0.1:8000/places/search \
-H "Content-Type: application/json" \
@@ -46,6 +56,7 @@ curl -X POST http://127.0.0.1:8000/places/search \
```
4. **Get details:**
```bash
curl http://127.0.0.1:8000/places/{place_id}
```
@@ -77,7 +88,7 @@ curl http://127.0.0.1:8000/places/{place_id}
"place_id": "ChIJ...",
"name": "Coffee Shop",
"address": "123 Main St",
"location": {"lat": 51.5, "lng": -0.1},
"location": { "lat": 51.5, "lng": -0.1 },
"rating": 4.6,
"price_level": 2,
"types": ["cafe", "food"],

View File

@@ -4,16 +4,10 @@ version = "0.1.0"
description = "FastAPI server"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.110.0",
"httpx>=0.27.0",
"uvicorn[standard]>=0.29.0",
]
dependencies = ["fastapi>=0.110.0", "httpx>=0.27.0", "uvicorn[standard]>=0.29.0"]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
]
dev = ["pytest>=8.0.0"]
[build-system]
requires = ["hatchling"]