https://github.com/jacoblincool/taipower-api
https://github.com/jacoblincool/taipower-api
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacoblincool/taipower-api
- Owner: JacobLinCool
- License: mit
- Created: 2021-05-24T05:37:09.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T20:27:21.000Z (over 2 years ago)
- Last Synced: 2025-01-24T23:41:19.307Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://taipower-api.jacob.workers.dev
- Size: 84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Taipower API
A Simple API for Getting Taipower Plants Data.
To reduce the server load of the Taipower's server.
Related: [Taipower Dashboard](https://github.com/JacobLinCool/taipower-dashboard)
## Features
- ⚡️ Fast
- The data are cached every 5 minutes from the origin server.
- The average response time is around 300 ms.
- 🚦 CORS
- The API can be accessed from any domain.
- 📬 WebSocket
- Connect once, continuously receive.
- Data are pushed to the client every minute.
- 🔐 Secure
- HTTPS and WSS are supported.
- 📖 Open Source
- Feel free to fork and deploy your own.
## Endpoints
### JSON API
```md
https://taipower-api.jacob.workers.dev/
```
### WebSocket API
```md
wss://taipower-api.jacob.workers.dev/ws
```
## License
MIT License, see [LICENSE](./LICENSE)
## Contributing
All contributions are welcome.