Giter VIP home page Giter VIP logo

node-unbabel's Introduction

Unbabel API for Node

This Node.js module provides access to the Unbabel API for ordering translations.

Installation

Install via npm

npm install unbabel --save

Initialize Unbabel with your username and API key. If querying the Unbabel sandbox, set sandbox to true.

var unbabel = require('unbabel')(username, apiKey, sandbox);

Endpoints

  • All callbacks are passed an error and response: callback(err, res).
  • Supports camelCase and underscore naming conventions for option fields.
  • Please refer to Unbabel's API Docs for endpoint details.

unbabel.translation

unbabel.translation.get(uid, callback);

unbabel.translation.getAll(status, callback);

unbabel.translation.request({text: text_to_translate, target_language: target_language, callback_url: callback_url}, callback);

unbabel.translation.bulkRequest([{text: text_to_translate, target_language: target_language}], callback);

unbabel

unbabel.languagePair(callback);

unbabel.tone(callback);

unbabel.topic(callback);

Contribute

Forks and pull requests welcome!

TODO

  • Add tests

Author

Roger Graham. Email me if you have any questions: [email protected]. Supported by Localize.js.

node-unbabel's People

Contributors

paton avatar rdgthree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.