/frontsharp

C# wrapper for FrontApp Api

Primary LanguageC#MIT LicenseMIT

FrontSharp Build Status Deployement Status

FrontSharp is a C# Wrapper that simplifies the ability to interface with the FrontApp API

Installation

Nuget

Install the NuGet package from the package manager console:

Install-Package FrontSharp

Getting Started

var client = new FrontSharpClient("FRONTAPI_ENDPOINT", "FRONTAPI_TOKEN");
var conversation = client.Conversations.Get("cnv_52c7c1");

If you are looking for a more succinct setup of your client you can store your connection details in your web.config file's AppSettings tag.

<configuration>
    <appSettings>
        <add key="FrontAPIEndpoint" value="ENDPOINT"/>
        <add key="FrontAPIToken" value="FRONTAPITOKEN"/>
      </appSettings>
</configuration>
var client = new FrontSharpClient();

Supported Methods

  • FrontSharpClient
    • Attachments
      • Download
    • Channels
      • GetByAddress
      • GetById
    • Comments
      • Create
    • Contacts
      • Get
    • Conversations
      • Get
      • List
      • ListInboxes
      • ListMessages
      • Update
    • Events
      • Get
      • List
    • Inboxes
      • Get
      • List
      • ListConversations
    • Messages
      • SendReply
      • ImportMessage
    • Tags
      • CreateTag
      • DeleteTag
      • ListTags
    • Teammates
      • Get
      • List
      • ListConversations
      • ListInboxes
      • Update

License

FrontSharp is licensed under the MIT license.