var el = new Everlive('your-api-key-here');
EverliveApp myApp = new EverliveApp("your-api-key-here");
public async Task GetSingleItem(EverliveApp app, Guid activityId)
{
var activity = await app.WorkWith().Data<Activity>().GetById(activityId)
.ExecuteAsync();
Debug.WriteLine("Activity: " + activity.Text);
}
public async Task GetMultipleItems(EverliveApp app)
{
var activities = await app.WorkWith().Data<Activity>().GetAll().ExecuteAsync();
foreach(var activity in activities)
{
Debug.WriteLine("Activity: " + activity.Text);
}
}
public async Task UpdateActivityById(EverliveApp app, Guid activityId,
Activity updatedActivity)
{
await app.WorkWith().Data<Activity>().Update(activityId, updatedActivity)
.ExecuteAsync();
}
public async Task DeleteById(EverliveApp app, Guid id)
{
await app.WorkWith().Data<Activity>().Delete(id).ExecuteAsync();
}
await app.WorkWith().Push().CurrentDevice.Initialize(PushSettings).ExecuteAsync();
var result = await app.WorkWith().Push().CurrentDevice.
Register(DeviceParameters customParameters).ExecuteAsync();
var el = new Everlive('your-api-key-here');
el.push.register(
pushSettings,
function successCallback(data) {},
function errorCallback(error) {}
);
https://bs1.cdn.telerik.com/image/v1/your-api-key-here/
resize=rezise-options-here/URI-to-image-here