Create User
string[] tags = new String[]{"tag1", "tag2"};
var result = await client.User.Create("username", "password", "email@email.com", tags);
if (result.IsSuccess) {
User user = result.Data;
}
Get User
By Id
var result = await client.User.GetById("5db0acbc46d06a0089c1f06b");
if (result.IsSuccess) {
User user = result.Data;
}
By Name
var result = await client.User.GetByUsername("Username");
if (result.IsSuccess) {
User user = result.Data;
}
Subscribing and Unsubscribing
var result = await client.User.Subscribe("5db0acbc46d06a0089c1f06b");
if (result.IsSuccess) {...}
var result = await client.User.Unsubscribe("5db0acbc46d06a0089c1f06b");
if (result.IsSuccess) {...}