Skip to content

JamesMarcogliese/slack-api-csharp

Repository files navigation

NuGet NuGet

slack-api-csharp

This repository contains Slack WebAPI and wrapper EventAPI C# classes that have been auto-generated from Slack's own slack-api-specs repo and dev-adjusted to ensure completeness. DotNet 2.0 compatible.

You'll find a copy of the OpenAPI specs for the Slack Web API and a copy of the General Event Wrapper Schema spec for the Events API in the /spec folder.

What's included

  • Web API
    • Readily useable C# classes based off of the OpenAPI 2.0 spec - covers access token usage of public Web API methods
  • Events API
    • A SlackEvent model derived from the JSON Schema that covers the basic event wrapper all event types delivered by Slack
    • A SlackAction model that covers the basic action events returned from user interaction with app attachments, buttons, lists, etc.
    • A SlackAttachment model that covers message attachment items.

Examples

Simply import the nuget package into your project to use. Examples in the wiki.

Installation

You should install Slack.Api.CSharp with NuGet:

Install-Package Slack.Api.CSharp

This command from Package Manager Console will download and install Slack.Api.CSharp and all required dependencies.

About

.Net Implementation of Slack's WebAPI and EventAPI Wrapper - Generated from https://github.com/slackapi/slack-api-specs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages