A favicon of Liblab Translation SDK

Liblab Translation SDK

Provide seamless integration with a wide range of translation APIs including Morse code, Braille, Star Wars dialects, Pirate Speak, and more. Enable your applications to translate text into various fun and unique languages effortlessly. Simplify adding diverse language translation capabilities to your projects with easy-to-use SDK methods.

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install davidrojasliblab/test -c claude

This command will automatically install and configure the Liblab Translation SDK MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "Liblab Translation SDK": {
      "command": "npx",
      "args": [
        "-y",
        "liblab"
      ],
      "env": {
        "YOUR_TOKEN": "${input:your_token}"
      }
    }
  }
}

Liblab TypeScript SDK 1.0.0

Welcome to the Liblab SDK documentation. This guide will help you get started with integrating and using the Liblab SDK in your project.

This SDK was generated by liblab

Versions

  • API version: 1.0.0
  • SDK version: 1.0.0

About the API

Funtranslations API gives access to the full set of translations available at funtranslations.com so that you can integrate them in your workflow or an app. Click here to get details and subscribe . Here are the individual API links:

Morse code API

Morse code conversion API on the cloud. Translate to and from Morse Code.Click here to subscribe

Braille API

Braille conversion API on the cloud. Translate to Braille and get Braille results suitable for many display types.Click here to subscribe

Starwars Translation API

Ever wonder how to talk like Yoda? Well, use our API and let your APP/webpage speak like Yoda too.Click here to subscribe

Sith Translator API. Click here to subscribe

Cheunh Translator API. Click here to subscribe

Huttese Translator API. Click here to subscribe

Mandalorian Translator API. Click here to subscribe

Gungan Translator API. Click here to subscribe

Pirate Speak Translation API

Ahoy, matey. Let's get those land lubbers speak our tounge too! Our evergreen pirate speak tranlsator API.Click here to subscribe

Valley Speak Translation API

Our throwback Valspeak translations API.Click here to subscribe

Minion Speak Translation API

Our evil master following minion speak translations API.Click here to subscribe

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: TypeScript >= 4.8.4

Installation

To get started with the SDK, we recommend installing using npm:

npm install liblab

Authentication

Access Token Authentication

The Liblab API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

Setting the Access Token

When you initialize the SDK, you can set the access token as follows:

const sdk = new Liblab({ token: 'YOUR_TOKEN' });

If you need to set or update the access token after initializing the SDK, you can use:

const sdk = new Liblab();
sdk.token = 'YOUR_TOKEN';

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

const liblab = new Liblab({ timeout: 10000 });

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

import { Liblab } from 'liblab';

(async () => {
  const liblab = new Liblab({
    token: 'YOUR_TOKEN',
  });

  const { data } = await liblab.morse.getTranslateMorse({
    text: 'text',
  });

  console.log(data);
})();

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation:
Name
MorseService
BrailleService
StarwarsService
StartrekService
ElvishService
CharactersService
DialectService
PigLatinService
GameOfThronesService
EnglishService
InternetFadService
Share:
Details:
  • Stars


    0
  • Forks


    0
  • Last commit


    2 months ago
  • Repository age


    3 months
View Repository

Auto-fetched from GitHub .

MCP servers similar to Liblab Translation SDK:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit