To add an agent:
POST /agent
{
"method": "console" // See methods below
"methodConfig": {
// See options below
},
"screepsToken": "<TOKEN>",
"screepsPlusToken": "<TOKEN>",
}
To delete an agent:
DELETE /agent/:pk
To get current agents:
GET /agent?token=SCREEPSPLUS_TOKEN
shard
used to filter by shard, defaults to all shards
shard
[shard0
] Shard to pull frompath
[stats
] Path if using Memorysegment
Segment number if using segmentsinterval
[60
] Interval in seconds to pull at, defaults to 60. If pulling from segments, you can set this as low as 15 If pulling from multiple shards, multiply this by the number of shards to stay within rate-limits.