fetchRemote() - SadeceNicat/Hybrid-Engine GitHub Wiki
fetchRemote()
Syntax
fetchRemote(string url)
Allows you to use API with lua.
Example
fetchRemote("exampletag","https://raw.githubusercontent.com/SadeceNicat/Hybrid-Engine/Sad/gitVersion.txt")
function onFetchCompleted(tag,data)
if tag == "exampletag" then
debugPrint(data) -- return 0.1 string
end
end