Worlds Collide Wiki

Final Fantasy VI Randomizer

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
api [2022/01/25 10:50]
atmatek
api [2022/01/26 00:44] (current)
atmatek
Line 1: Line 1:
 ====== API ====== ====== API ======
 \\ \\
-The FF6WC API allows developers to generate seeds, query seed/flag information, and download patch/log files. Access requires an API key and an account on [[http://ff6wc.com|ff6wc.com]] to link with. API keys should be kept private and may be requested from AtmaTek on [[Discord|Discord]].+The FF6WC API allows developers to generate seeds, query seed/flag information, and download patch/log files. Access requires an API key and an account on [[https://ff6wc.com|ff6wc.com]] to link with. API keys should be kept private and may be requested from AtmaTek on [[Discord|Discord]].
  
 ===== Generate Seed ===== ===== Generate Seed =====
Line 62: Line 62:
 { {
     "id" : "<SEED ID>",     "id" : "<SEED ID>",
 +    "flags_id" : "<FLAGS ID>",
 +    "version" : "<VERSION>",
 +    "hash" : "<HASH>"
     "url" : "<SEED URL>",     "url" : "<SEED URL>",
 } }
Line 88: Line 91:
 <code> <code>
 $ curl -X POST -d '{"key" : "<API KEY>", "flags" : "-cg -sl"}' https://www.ff6wc.com/api/generate $ curl -X POST -d '{"key" : "<API KEY>", "flags" : "-cg -sl"}' https://www.ff6wc.com/api/generate
-{"id":"24zKw0Vldap6","url":"https://www.ff6wc.com/seed/24zKw0Vldap6"}+{"flags_id":"Wtq78b6JWjly","hash":"Banon, Vargas, Narshe Guard, Fish","id":"24zKw0Vldap6","url":"https://www.ff6wc.com/seed/24zKw0Vldap6","version":"1.0.3"}
 </code> </code>
 <code> <code>
-curl -X POST -d '{"key" : "<API KEY>", "flags" : "-s myseed -cg -sl", "description" : "test description"}' https://www.ff6wc.com/api/generate +curl -X POST -d '{"key" : "<API KEY>", "flags" : "-s myseed -cg -sl", "description" : "test description"}' https://www.ff6wc.com/api/generate 
-{"id":"QoMGQuoS5Dha","url":"https://www.ff6wc.com/seed/QoMGQuoS5Dha"}+{"flags_id":"Wtq78b6JWjly","hash":"Banon, Vargas, Narshe Guard, Fish","id":"QoMGQuoS5Dha","url":"https://www.ff6wc.com/seed/QoMGQuoS5Dha","version":"1.0.3"}
 </code> </code>
 <code> <code>