From cd24891765e09c50f7ff3a6fd6d68e0010b3f84a Mon Sep 17 00:00:00 2001 From: Jacob Kelly Date: Thu, 9 Mar 2017 13:33:06 -0700 Subject: [PATCH 1/3] Update Endpoints.md Added endpoints for market stats and world size --- docs/Endpoints.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/Endpoints.md b/docs/Endpoints.md index de6f91b..2276f57 100644 --- a/docs/Endpoints.md +++ b/docs/Endpoints.md @@ -70,6 +70,10 @@ are the ones listed below. - `{ ok, list: [ { _id, created, user, active, type, amount, remainingAmount, resourceType, price, totalAmount, roomName } ] }` - `resourceType` is one of the RESOURCE_* constants. + - `https://screeps.com/api/game/market/stats?resourceType=Z` + - `{ ok, stats: [ { _id, resourceType, date, transactions, volume, avgPrice, stddevPrice } ] }` + - `resourceType` is one of the RESOURCE_* constants. + - `https://screeps.com/api/user/money-history` - `{"ok":1,"page":0,"list":[ { _id, date, tick, user, type, balance, change, market: {} } ] }` - `page` used for pagination. @@ -220,6 +224,9 @@ are the ones listed below. - `status` and `novice` are as per the `room-status` call - `level` can be 0 to indicate a reserved room +- `https://screeps.com/api/game/world-size` + - `{ ok, width, height }` + - `https://screeps.com/room-history/E1N8/12340.json` - `{ timestamp, room, base, ticks: {