idunno.AtProto
0.1.1-prerelease
Prefix Reserved
This is a prerelease version of idunno.AtProto.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package idunno.AtProto --version 0.1.1-prerelease
NuGet\Install-Package idunno.AtProto -Version 0.1.1-prerelease
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="idunno.AtProto" Version="0.1.1-prerelease" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add idunno.AtProto --version 0.1.1-prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: idunno.AtProto, 0.1.1-prerelease"
#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 idunno.AtProto as a Cake Addin #addin nuget:?package=idunno.AtProto&version=0.1.1-prerelease&prerelease // Install idunno.AtProto as a Cake Tool #tool nuget:?package=idunno.AtProto&version=0.1.1-prerelease&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
idunno.AtProto
About
.NET class libraries for AT Protocol.
Key Features
- PDS authentication and session management
- List, Create, Get, Put, Delete records
- Blob uploads
- Handle and PDS resolution
How to Use
AtProtoAgent agent = new(new Uri("https://bsky.social"));
var loginResult = await agent.Login(username, password);
if (loginResult.Succeeded)
{
var did = await agent.ResolveHandle("blowdart.me", cancellationToken);
if (did is not null)
{
var pds = await agent.ResolvePds(did);
if (pds is not null)
{
var listRecordsResult = await agent.ListRecords<AtProtoRecord> (
did,
collection: "app.bsky.feed.post",
service : pds);
if (listRecordsResult.Succeeded)
{
// listRecords.Result contains a paged list of bluesky posts for blowdart.me
}
}
}
}
Related Packages
- idunno.Bluesky for interacting with the Bluesky social network.
Documentation
Documentation is available on GitHub.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- DnsClient (>= 1.8.0)
- Microsoft.Extensions.Logging (>= 8.0.1)
- Microsoft.IdentityModel.JsonWebTokens (>= 8.3.0)
- System.Text.Json (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on idunno.AtProto:
Package | Downloads |
---|---|
idunno.Bluesky
.NET client for the Bluesky social network. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.2-prerelease | 0 | 12/19/2024 |
0.1.1-prerelease | 86 | 12/14/2024 |
0.1.0-prerelease | 57 | 12/12/2024 |