Created
January 10, 2013 02:22
-
-
Save zph/4498847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Variables to replace in urls below | |
username = 'your_username_here_without_at_symbol' | |
key = 'public_key_from_dev' | |
application_token = 'very_long_application_token' | |
# This needs to be parsed as JSON for all of the 'id' fields. These are the board_hashes | |
url_for_board_hashes = "https://api.trello.com/1/members/#{username}/boards?&key=#{key}&token=#{application_token}" | |
# | |
# Loop over each board_hash and call the following url | |
url_for_individual_board_json = "https://api.trello.com/1/boards/#{board_hash}?actions=all&actions_limit=1000&cards=all&lists=all&members=all&member_fields=all&checklists=all&fields=all&key=#{key}&token=#{application_token}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment