Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youdao-translate

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youdao-translate

  • 0.2.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Youdao::Translate

https://ai.youdao.com/product-fanyi-text.s

translate using youdao API

Installation

Add this line to your application's Gemfile:

gem 'youdao-translate'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install youdao-translate

Usage

Youdao::Translate.get("hello")

Youdao::Translate.get("hello", from: "zh-CHS", to: "ja")

Youdao::Translate.get("hello", to: "ko")

Youdao::Translate.instance.get("hello")

Youdao::Translate.instance.get("hello", from: "zh-CHS", to: "ja")

Test

rspec -f d
bundle exec rubocop .

Contributing

Bug reports and pull requests are welcome on GitHub at https://gitlab.com/suifeng2012/youdao-translate.

FAQs

Package last updated on 09 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc