Socket
Socket
Sign inDemoInstall

github.com/bborn2/go-baidu-fanyi-api

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/bborn2/go-baidu-fanyi-api


Version published

Readme

Source

go-baidu-fanyi-api

百度通用翻译api接口的golang实现

参照官网的python实现 https://fanyi-api.baidu.com/doc/21

暂时未考虑参数检查,返回判断等健壮性问题

使用方法:

import baidufanyiapi "github.com/bborn2/go-baidu-fanyi-api"

ret := baidufanyiapi.Translate("yourappid", "yourappkey", "en", "zh", "Hello")

FAQs

Last updated on 13 Mar 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc