There is a built-in command to download a file download. You can download the following three possible release numbers from GitHub:
for version in [v"0.4.1", v"0.5.0", v"1.0.0"]
filename = download("https://github.com/JuliaFinance/Currencies.jl/releases/tag/v$version")
data = readstring(filename)
if data != """{"error":"Not Found"}"""
println("Version v$version is available!")
end
end
, , GitHub. , try... catch , .