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
Diego Jancic edited this page Apr 21, 2015
·
1 revision
Example: Listing the Classrooms in AccuClass
Below you can see a simple example where we connect the AccuClass server, then list the classrooms and show them to the user using a Console.WriteLine.
var loginRes = EngineericaApi.AccuClass.Login.Execute(domain, email, password, "token");
var res = EngineericaApi.AccuClass.Classroom.List(0, 100);
foreach (var cl in res.Response.results)
{
Console.WriteLine (" - " + cl.Name);
}
You can find the full API under the EngineericaApi namespace.