Start building
Updates

C# library for LiveChat API

Krzysztof Górski in Developer Console on Dec 10, 2015


We have just published the C# library for the LiveChat API. With only two lines of code you can add an agent, create a ticket, start a chat or get the availability report.

Here is an example of how to get the list of all agents:

public class ApiExample
{
    LiveChatApi.Api Api;

    public ApiExample()
    {
        Api = new LiveChatApi.Api("username@mycompany.com", "API_KEY");
        GetAgents().Wait();
    }

    public async Task GetAgents()
    {
        string result = await Api.Agents.List();
        Console.WriteLine(result);
    }
}

Visit the project website at GitHub, where you can find installation guidelines and more usage examples.

If you are interested in evaluating the LiveChat API using PHP, node.js or Ruby check out the LiveChat REST API website for more information.


Latest articles

May 7, 2024

Software Designer Guide: What They Do & How to Become One

Apr 19, 2024

Finding Your Ideal App Development Platform: 2024's Top Pick...

Apr 9, 2024

Marketing for Developers: Strategies to Promote Your Softwar...