{"openapi":"3.1.0","info":{"title":"The FLAMES Game API","version":"1.0.0","description":"The FLAMES name game, plus a love calculator and a friendship calculator by name. Cross out shared letters, count the rest around F-L-A-M-E-S. A game, not a prediction. Free, no login. No key. Fair use. Please cite the source URL returned in each response."},"servers":[{"url":"https://theflamesgame.com"}],"paths":{"/api/flames":{"get":{"operationId":"get_flames","summary":"Play the FLAMES game for two names and get the relationship word (Friends, Lovers, Affection, Marriage, Enemies or Siblings) with the struck letters and each round.","parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string","maxLength":80},"example":"Rahul"},{"name":"b","in":"query","required":true,"schema":{"type":"string","maxLength":80},"example":"Priya"}],"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"tool":{"type":"string"},"inputs":{"type":"object"},"result":{"type":"object"},"source":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":false},"issues":{"type":"array","items":{"type":"object"}}}}}}}}},"post":{"operationId":"post_flames","summary":"Play the FLAMES game for two names and get the relationship word (Friends, Lovers, Affection, Marriage, Enemies or Siblings) with the struck letters and each round.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"a":{"type":"string","maxLength":80},"b":{"type":"string","maxLength":80}},"required":["a","b"]},"example":{"a":"Rahul","b":"Priya"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"tool":{"type":"string"},"inputs":{"type":"object"},"result":{"type":"object"},"source":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":false},"issues":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/love-score":{"get":{"operationId":"get_loveScore","summary":"Compute the LOVES letter-count love percentage for two names, with the counts and the adding trail.","parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string","maxLength":80},"example":"Rahul"},{"name":"b","in":"query","required":true,"schema":{"type":"string","maxLength":80},"example":"Priya"}],"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"tool":{"type":"string"},"inputs":{"type":"object"},"result":{"type":"object"},"source":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":false},"issues":{"type":"array","items":{"type":"object"}}}}}}}}},"post":{"operationId":"post_loveScore","summary":"Compute the LOVES letter-count love percentage for two names, with the counts and the adding trail.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"a":{"type":"string","maxLength":80},"b":{"type":"string","maxLength":80}},"required":["a","b"]},"example":{"a":"Rahul","b":"Priya"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"tool":{"type":"string"},"inputs":{"type":"object"},"result":{"type":"object"},"source":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":false},"issues":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/friendship-score":{"get":{"operationId":"get_friendshipScore","summary":"Compute the FRIENDS letter-count friendship percentage for two names, with the counts and the adding trail.","parameters":[{"name":"a","in":"query","required":true,"schema":{"type":"string","maxLength":80},"example":"Rahul"},{"name":"b","in":"query","required":true,"schema":{"type":"string","maxLength":80},"example":"Priya"}],"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"tool":{"type":"string"},"inputs":{"type":"object"},"result":{"type":"object"},"source":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":false},"issues":{"type":"array","items":{"type":"object"}}}}}}}}},"post":{"operationId":"post_friendshipScore","summary":"Compute the FRIENDS letter-count friendship percentage for two names, with the counts and the adding trail.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"a":{"type":"string","maxLength":80},"b":{"type":"string","maxLength":80}},"required":["a","b"]},"example":{"a":"Rahul","b":"Priya"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"tool":{"type":"string"},"inputs":{"type":"object"},"result":{"type":"object"},"source":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":false},"issues":{"type":"array","items":{"type":"object"}}}}}}}}}}}}