Download a file from a remote server (e.g. JSON file)

Specify the URL to download and get the content as a return value.
Automatically parses JSON into a Ruby data structure.
For more advanced networking code, use the Ruby functions instead:

Supported platforms ios, android, mac
Author @KrauseFx

1 Example

data = download(url: "")


Key Description Default
url The URL that should be downloaded

* = default value is dependent on the user's system

To show the documentation in your terminal, run

fastlane action download

View source code

Back to actions