CSChatworkAPI 2.0.6483.4660
dotnet add package CSChatworkAPI --version 2.0.6483.4660
NuGet\Install-Package CSChatworkAPI -Version 2.0.6483.4660
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CSChatworkAPI" Version="2.0.6483.4660" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CSChatworkAPI --version 2.0.6483.4660
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CSChatworkAPI, 2.0.6483.4660"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CSChatworkAPI as a Cake Addin #addin nuget:?package=CSChatworkAPI&version=2.0.6483.4660 // Install CSChatworkAPI as a Cake Tool #tool nuget:?package=CSChatworkAPI&version=2.0.6483.4660
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CSChatworkAPI
Chatwork API library written in C#
how to use
see and build Example project and run! 🔥
Example
get my info
var client = new ChatworkClient(ApiToken);
var me = client.GetMe();
Console.WriteLine(me);
get rooms
foreach (var room in client.GetRooms())
Console.WriteLine(room);
get my contacts
foreach (var contacts in client.GetContacts())
Console.WriteLine(contacts);
send message
var roomId = me.RoomId; // my chat
var messageBody = "Hello Chatwork!";
var responseMessage = client.SendMessage(roomId, messageBody);
Console.WriteLine($"{responseMessage} as \"{messageBody}\"");
get message
var message = client.GetMessage(me.RoomId, responseMessage.MessageId);
Console.WriteLine(message);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Newtonsoft.Json (>= 10.0.3)
- RestSharp (>= 105.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.6483.4660 | 1,277 | 9/30/2017 |
1.0.0 | 1,460 | 5/1/2015 |
# Supports v2 api
## destructive change
- Changed property type indicating all id to string
- Changed property name of model class to Camel case
## changes
- Room description can now be acquired
- End-to-end test rewritten