You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SadeceNicat edited this page Dec 27, 2024
·
1 revision
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