TrustyGorillaDocs
SDK

SDK Overview

OpenFeature-compatible feature flag SDKs for every major language.

The TrustyGorilla SDKs let you evaluate feature flags in your application with a single, consistent API. Every SDK is an OpenFeature provider — you use the standard OpenFeature client to read flag values, and TrustyGorilla supplies them behind the scenes.

How it works

  1. You create a TrustyGorillaConfig with your environment API key.
  2. You register a TrustyGorillaProvider with the OpenFeature SDK.
  3. The provider polls GET /v1/flags on an interval and keeps an in-memory cache, so flag evaluations are local and synchronous — no network call per lookup.
  4. You evaluate flags through the OpenFeature client (getBooleanValue, getStringValue, and so on), passing a targeting key for gradual rollouts and segment targeting.

Because everything is built on OpenFeature, the flag keys, evaluation methods, and targeting semantics are identical across languages.

Supported languages

LanguagePackageRegistry
JavaScript / TypeScript@trustygorilla/js-sdknpm
Pythontrustygorilla-sdkPyPI
Gogithub.com/trustygorilla/go-sdkGo modules
Javacom.trustygorilla:tg-java-sdkMaven Central
Kotlincom.trustygorilla:trustygorilla-kotlin-sdkMaven Central
.NET (C#)TrustyGorilla.SDKNuGet
PHPtrustygorilla/sdkPackagist
Rubytrustygorilla_sdkRubyGems
SwiftTrustyGorillaSDKSwift Package Manager

Each SDK depends on the OpenFeature SDK for its language (for example @openfeature/server-sdk for Node.js or dev.openfeature:sdk for the JVM).

Sections

On this page