Misharp 2024.7.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Misharp --version 2024.7.0.3
NuGet\Install-Package Misharp -Version 2024.7.0.3
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="Misharp" Version="2024.7.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Misharp --version 2024.7.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Misharp, 2024.7.0.3"
#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 Misharp as a Cake Addin #addin nuget:?package=Misharp&version=2024.7.0.3 // Install Misharp as a Cake Tool #tool nuget:?package=Misharp&version=2024.7.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Misharp
Yet Another Misskey Library For C#
This library of Models and Controlers are made from MisskeyAPIGenCode
Dependedencies Library
- System.Text.Json
Supported Environment
- Net6.0+
Supported Endpoints
status | meaning |
---|---|
〇 | working |
△ | not working check |
× | not support(yet) |
name | supported |
---|---|
Admin | △ |
Announcements | △ |
Antennas | △ |
Ap | × |
App | △ |
Auth | △ |
Blocking | △ |
Channels | △ |
Charts | × |
Clips | △ |
Drive | △ |
Email-Address | △ |
Emoji | 〇 |
Emojis | 〇 |
Endpoint | × |
Endpoints | △ |
Federation | △ |
Fetch-External-Resources | × |
Fetch-Rss | △ |
Flash | △ |
Following | △ |
Gallery | △ |
Get-Avatar-Decoration | △ |
Get-Online-Users-Count | × |
Hashtags | △ |
I | △ |
Invite | △ |
Meta | △ |
Mute | △ |
My | △ |
Notes | △ |
Notifications | × |
Pages | △ |
Ping | 〇 |
Pinned-Users | △ |
Promo | △ |
Renote-Mute | △ |
Request-Reset-Password | × |
Reset-Password | × |
Retention | × |
Roles | △ |
Server-Info | × |
Stats | △ |
Sw | △ |
Test | × |
Username | △ |
Users | △ |
Example
Tips: Get token with browser option will be add.
How to get Token?
https://misskey-hub.net/en/docs/api#getting-an-access-token
Post note
var app = new App("misskey.04.si", "abcdef123...");
var note = await app.NotesApi.Create(text: "Hello world");
Console.WriteLine(note.ToString());
Post note with file
var app = new App("misskey.04.si", "abcdef123...");
var file = await app.DriveApi.FilesApi.Create(File.OpenRead(@"img.png"));
var note = await app.NotesApi.Create(text: "hello world", fileIds: new List<string> { file.Id });
Console.WriteLine(note.ToString());
Get my user info
var app = new App("misskey.04.si", "abcdef123...");
var user = await app.IApi.I();
Console.WriteLine(user.ToString());
Get note info
var app = new App("misskey.04.si", "abcdef123...");
var note = await app.NotesApi.Show("zyxwv987...");
Console.WriteLine(note.ToString());
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
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 |
---|---|---|
2024.11.0.2 | 117 | 12/14/2024 |
2024.11.0.1 | 98 | 12/11/2024 |
2024.11.0 | 98 | 12/10/2024 |
2024.10.1.5 | 111 | 11/9/2024 |
2024.10.1.4 | 97 | 11/9/2024 |
2024.10.1.3 | 97 | 11/9/2024 |
2024.10.1.2 | 96 | 11/4/2024 |
2024.10.1.1 | 98 | 11/4/2024 |
2024.10.1 | 101 | 11/4/2024 |
2024.8.0.2 | 105 | 9/28/2024 |
2024.8.0.1 | 125 | 9/13/2024 |
2024.8.0 | 113 | 9/10/2024 |
2024.7.0.3 | 119 | 8/12/2024 |
2024.7.0.2 | 113 | 8/10/2024 |
2024.7.0.1 | 66 | 8/3/2024 |
2024.7.0 | 68 | 8/3/2024 |
2024.5.1 | 91 | 7/30/2024 |
2024.5.0 | 109 | 7/28/2024 |
2024.3.1 | 133 | 3/2/2024 |
2024.2.0 | 137 | 3/1/2024 |
2024.2.0-beta.11 | 72 | 2/28/2024 |
1.0.0 | 144 | 2/3/2024 |