Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C# Client for the apigee usergrid
C#
branch: master

minor tweaks

latest commit 8e49297c75
Daniel Lewis authored
Failed to load latest commit information.
Apigee.Net.Tests minor tweaks
Apigee.Net minor tweaks
packages initial commit
Apigee.Net.sln initial commit
Apigee.Net.v11.suo minor tweaks
README.md updated readme

README.md

Apigee.Net

C# Client for the Apigee Usergrid : https://apigee.com/usergrid/

Client is in early Alpha - only works with basic User functionality Results May Vary

Usage is as follows :

        ApigeeClient apiClient = new ApigeeClient("http://api.usergrid.com/xxx/sandbox/");

        //Get a collection of all users 
        var allUsers = apiClient.GetUsers();

        string un = "apigee_" + Guid.NewGuid();

        //Create a new Account
        apiClient.CreateAccount(new UserModel
        {
            Username = un,
            Password = "abc123",
            Email = un + "@sympletech.com"
        });

        //Update an Existing Account
        apiClient.UpdateAccount(new UserModel
        {
            Username = un,
            Password = "abc123456",
            Email = un + "@sympletech.com"
        });

        //Login User - Get Token 
        var token = apiClient.GetToken(un, "abc123456");

        //Lookup a user by token ID
        var username = apiClient.LookUpToken(token);
Something went wrong with that request. Please try again.