fix: encoding

This commit is contained in:
2026-01-23 17:36:19 +01:00
parent 4ee0424815
commit 0290a750e1
5 changed files with 56 additions and 52 deletions

View File

@@ -1,47 +1,12 @@
# aemet
# Aemet
Endpoint to get forecast summary to use with battery heater.
## 🧰 Usage
https://697361d50005d83da5ca.functions.app.fosil.eu/
### GET /ping
# Deployment
- Returns a "Pong" message.
Login:
appwrite login --endpoint "https://app.fosil.eu/v1"
**Response**
Sample `200` Response:
```text
Pong
```
### GET, POST, PUT, PATCH, DELETE /
- Returns a "Learn More" JSON response.
**Response**
Sample `200` Response:
```json
{
"motto": "Build like a team of hundreds_",
"learn": "https://appwrite.io/docs",
"connect": "https://appwrite.io/discord",
"getInspired": "https://builtwith.appwrite.io"
}
```
## ⚙️ Configuration
| Setting | Value |
| ----------------- | ------------- |
| Runtime | Bun (1.0) |
| Entrypoint | `src/main.ts` |
| Build Commands | `bun install` |
| Permissions | `any` |
| Timeout (Seconds) | 15 |
| Scopes | `users.read` |
## 🔒 Environment Variables
No environment variables required.
Deploy:
appwrite client --project-id="696bbb680032fc5192c9" && appwrite functions create-deployment --function-id=69736073000fadb92a9f --code="." --activate=true