Background
Given a URL to a Trello board, as listed at the users main Trello page, it used to be possible to deduce the URL for the corresponding "Export JSON" link.
I wrote up the way I did this in this answer:
You can also just add .json (or /somename.json) to the end of a board or card URL, to get the prompt to save the downloaded file (e.g. https://trello.com/board/welcome-board/4e6a8095efa69909ba007382/somename.json)
One really nice thing about this was that the default name for the saved file was then somename.json
, which was useful when you had lots of files to download.
I put all this together in a JavaScript bookmarklet, that allowed me to download all my Trello boards with just a few clicks (and the aid of a Browser add-on.) The README in that project has more info on how to use it.
Recent Change
However, some time since my last backup on 6th July 2013, the URLs on the Trello main page have changed, so now:
- Link to board:
- Link to "Export JSON" for this board:
- And when you add .json to the end of the board URL, it just redirects to the board itself.
There is text in the Export link (4d5ea62fd76aa1136000000c
) that is not present in the board link, meaning the above deduction no longer works.
Question
Without using the Trello API, given a link to board on Trello.com, how can I deduce a link to download the JSON export, ensuring that the output filename is of the same human-readable form as given in the url (hyphen-separated, lower case)
The reason I say "without using the Trello API" is that the API adds an extra step for users, namely the need to get a Developer Key, which seems to me to be an unnecessary hurdle, for just exporting data - and I'd like to avoid that, if at all possible.