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" />
                    
Directory.Packages.props
<PackageReference Include="MX.InvisionCommunity.Api.Client" />
                    
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 MX.InvisionCommunity.Api.Client --version 1.0.18
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=MX.InvisionCommunity.Api.Client&version=1.0.18
                    
Install as a Cake Tool

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 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.

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.

Version Downloads Last Updated
1.0.18 1,553 2/19/2026
1.0.17 119 2/19/2026
1.0.0 111 2/5/2026