Misharp 2024.8.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Misharp --version 2024.8.0.2
                    
NuGet\Install-Package Misharp -Version 2024.8.0.2
                    
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.8.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Misharp" Version="2024.8.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Misharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Misharp --version 2024.8.0.2
                    
#r "nuget: Misharp, 2024.8.0.2"
                    
#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.
#addin nuget:?package=Misharp&version=2024.8.0.2
                    
Install Misharp as a Cake Addin
#tool nuget:?package=Misharp&version=2024.8.0.2
                    
Install Misharp as a Cake Tool

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 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
2025.2.1 208 a month ago
2024.11.0.2 144 4 months ago
2024.11.0.1 106 4 months ago
2024.11.0 104 4 months ago
2024.10.1.5 113 5 months ago
2024.10.1.4 99 5 months ago
2024.10.1.3 101 5 months ago
2024.10.1.2 98 5 months ago
2024.10.1.1 100 5 months ago
2024.10.1 103 5 months ago
2024.8.0.2 108 6 months ago
2024.8.0.1 127 7 months ago
2024.8.0 118 7 months ago
2024.7.0.3 121 8 months ago
2024.7.0.2 116 8 months ago
2024.7.0.1 68 8 months ago
2024.7.0 70 8 months ago
2024.5.1 96 8 months ago
2024.5.0 112 8 months ago
2024.3.1 134 3/2/2024
2024.2.1 211 a month ago
2024.2.0 139 3/1/2024
2024.2.0-beta.11 73 2/28/2024
1.0.0 146 2/3/2024