MX.InvisionCommunity.Api.Client
1.0.18
dotnet add package MX.InvisionCommunity.Api.Client --version 1.0.18
NuGet\Install-Package MX.InvisionCommunity.Api.Client -Version 1.0.18
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="MX.InvisionCommunity.Api.Client" Version="1.0.18" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MX.InvisionCommunity.Api.Client" Version="1.0.18" />
<PackageReference Include="MX.InvisionCommunity.Api.Client" />
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 MX.InvisionCommunity.Api.Client --version 1.0.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MX.InvisionCommunity.Api.Client, 1.0.18"
#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.
#:package MX.InvisionCommunity.Api.Client@1.0.18
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MX.InvisionCommunity.Api.Client&version=1.0.18
#tool nuget:?package=MX.InvisionCommunity.Api.Client&version=1.0.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MX.InvisionCommunity.Api.Client
REST API client for Invision Community forums. Provides typed access to core member operations, downloads, and forum topic management.
Installation
dotnet add package MX.InvisionCommunity.Api.Client
Quick Start
Register Services
builder.Services.AddInvisionApiClient(options =>
{
options.BaseUrl = "https://your-forum.example.com";
options.ApiKey = "your-api-key";
});
Inject and Use
public class ForumService
{
private readonly IInvisionApiClient _client;
public ForumService(IInvisionApiClient client)
{
_client = client;
}
public async Task<Member?> GetMember(string memberId)
{
return await _client.Core.GetMember(memberId);
}
public async Task CreateForumPost(int forumId, int authorId, string title, string content)
{
await _client.Forums.PostTopic(forumId, authorId, title, content, prefix: "");
}
public async Task<DownloadFile?> GetFile(int fileId)
{
return await _client.Downloads.GetDownloadFile(fileId);
}
}
API Surface
The IInvisionApiClient exposes:
| Property | Methods |
|---|---|
Core |
GetMember(id), GetCoreHello() |
Forums |
PostTopic(...), UpdateTopic(...) |
Downloads |
GetDownloadFile(fileId) |
Configuration
InvisionApiClientOptions:
| Property | Description |
|---|---|
BaseUrl |
Base URL of the Invision Community instance |
ApiKey |
API key for authentication |
ApiPathPrefix |
Optional path prefix for API endpoints |
License
This project is licensed under the GPL-3.0-only license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Azure.Identity (>= 1.17.1)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Options (>= 10.0.3)
- MX.Api.Abstractions (>= 2.3.25)
- MX.Api.Client (>= 2.3.25)
- MX.InvisionCommunity.Api.Abstractions (>= 1.0.18)
- Newtonsoft.Json (>= 13.0.4)
- RestSharp (>= 113.1.0)
-
net9.0
- Azure.Identity (>= 1.17.1)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Options (>= 10.0.3)
- MX.Api.Abstractions (>= 2.3.25)
- MX.Api.Client (>= 2.3.25)
- MX.InvisionCommunity.Api.Abstractions (>= 1.0.18)
- Newtonsoft.Json (>= 13.0.4)
- RestSharp (>= 113.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MX.InvisionCommunity.Api.Client:
| Package | Downloads |
|---|---|
|
MX.InvisionCommunity.Api.Client.Testing
Test helpers for consumer apps: in-memory fakes of IInvisionApiClient, DTO factory methods, and DI extensions for integration tests. |
GitHub repositories
This package is not used by any popular GitHub repositories.