Moddingflow Public API SDK

Use the generated clients directly from source until npm, PyPI, and NuGet packages are published.

Package policy

The SDK is a repo-only source artifact until package registry publishing is wired. Treat sdk/ as the source of truth: download the source archive, vendor the needed language folder, and update it when openapi/moddingflow-public-api.v1.json changes.

Source archive

The archive contains sdk/README.md plus the generated TypeScript, Python, and C# clients from the current website build.

Use /api/sdk/source.tar.gz as the direct archive link for CI, local experiments, or external developers who cannot access the private repository.

Connect from source

Pick the language folder, keep it beside your integration, and use these imports until package registry publishing is available.

TypeScript

ts
import { ModdingflowPublicApiClient } from "./sdk/typescript/src/moddingflow-public-api";

const client = new ModdingflowPublicApiClient({ accessToken });
const plan = await client.resolveInstallPlan({
  body: { game_slug: "skyrim-se", game_version: "1.6.1170" },
});

Python

py
from moddingflow_public_api import ModdingflowPublicApiClient

client = ModdingflowPublicApiClient(access_token=access_token)
plan = client.resolve_install_plan(
    body={"game_slug": "skyrim-se", "game_version": "1.6.1170"}
)

C#

xml
<ProjectReference Include="..\sdk\csharp\Moddingflow.PublicApi\Moddingflow.PublicApi.csproj" />