Syncano scales and syncs your data across devices in real-time. Get your data when you need it, where you need it, in the form you need it.
Syncano gives you the flexibility to run your code and define your data structures the way you want to - so you can focus on building powerful user experiences.
syn:createUser("username_here","password_here",function ( e )
-- RESPONSE HERE
print(e)
end)
syn:login("username_here","password_here",function ( e )
-- RESPONSE HERE
print(e)
end)
syn:createDataObject("class_name",{
name="Arthur",
country="Sealand"
},function ( e )
-- RESPONSE HERE
print(e)
end)
syn:filterDataObjects("class_name",{
system=499
},function ( e )
-- RESPONSE HERE
print(e)
end)
-- PASS CLASS NAME AND OBJECT ID
syn:listDataObjects("class_name",12,function ( e )
-- RESPONSE HERE
print(e)
end)
syn:updateDataObject("class_name",12,{
country="Zimbabwe"
},function ( e )
-- RESPONSE HERE
print(e)
end)
-- PASS CLASS NAME AND OBJECT ID
syn:listDataObjects("class_name",12,function ( e )
-- RESPONSE HERE
print(e)
end)
syn:listDataObjects("class_name",function ( e )
-- RESPONSE HERE
print(e)
end)
params = {
user:23
}
syn:runWebhook("webhook_name",params,function ( e )
-- RESPONSE HERE
print(e)
end)