README.md

This commit is contained in:
41666 2022-12-20 20:09:47 -05:00
parent f362adf991
commit 83b3ad01c4

31
README.md Normal file
View file

@ -0,0 +1,31 @@
# https://agg.ps2.live/population
A Planetside 2 population aggreggation API between
- https://ps2.fisu.pw
- https://wt.honu.pw
- https://saerro.ps2.live
- https://voidwell.com
Has some jank filters and will average between all 4 sources with as much data as can be used.
If you have a population API to add to this aggreggator, open an issue with your API details. The more sources, the merrier, but we usually need to make some performance considerations.
This API is hosted on Cloudflare Workers, and makes use of aggressive caching with a 3 minute TTL.
Need help? Talk to us on the [Planetside Community Developers Discord](https://discord.gg/yVzGEg3RKV) in `#ps2live`
## API
- [/$worldID](https://agg.ps2.live/population/1) - Single world
- [/all](https://agg.ps2.live/population/all) - All worlds at once
- [~/flags](https://agg.ps2.live/population~/flags) - Feature flags that help limit useless requests and add speed.
- [~/health](https://agg.ps2.live/population~/health) - Tests reachability
## Developing
```
npm install
npm run dev
```