API FOR SAVING WQARG ARRANGEMENTS https://tjl.co/wqarg/arrange.html is a page which allows people to view and arrange the various shredded "strips." The page has an API which allows people to save those arrangements and save them for later. To use this API, send an HTTP POST request to https://tjl.co/wqarg/arrange-save.php?source=yourname. The source value should be consistent across all of your requests, but is not used for anything other than manual accounting. The body of the POST request should be a JSON-formatted dictionary mapping images to x-coordinates. The keys of this dictionary must be "compressed" versions of the strip filenames, using the UUID mapping found in https://tjl.co/wqarg/mapping.json. The endpoint will return a JSON object. If the input is invalid, the response will contain an "error" field. Otherwise, it will contain the following fields: id: number identifier for the saved arrangement url: string link to the arranging tool to view the saved data. created: boolean whether or not the arrangement was newly-saved, or if this was detected as a duplicate. PYTHON EXAMPLE import requests strip_names = {'0-1': 0, '7q-2': 1, '3q-1': 2} url = 'https://tjl.co/wqarg/arrange-save.php?source=example' response = requests.post(url, json=strip_names) data = json.loads(response.text) if 'error' in data: raise Exception('Error from save API: ' + data.error) print(data['url'])