FarmOps Public API

REST API for alliance data import and export.

Quick start

# 1. Create a key in your alliance settings under "API Access & Security"
# 2. Export power history as CSV:
curl -H "Authorization: Bearer fops_live_<your-key>" \
     "https://lastwar.farm/api/v1/alliance/members/power?format=csv"

# 3. Import power values:
curl -X POST -H "Authorization: Bearer fops_live_<your-key>" \
     -H "Content-Type: application/json" \
     -d '{"entries":[{"name":"PlayerOne","power":12500000}]}' \
     https://lastwar.farm/api/v1/alliance/members/power

To use the Postman collection: download it and import via File → Import in the Postman desktop or web app.