Skip to content

agentio/translate-googleapis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

translate-googleapis

This repo contains a small example CLI that calls the Google Cloud Translate API using the official Google client libraries.

You'll need a Google Cloud project and Application-Default Credentials, but once you have that, the rest is easy:

$ make
go install ./...

$ translate-googleapis --parent projects/agentio "I just called a Google gRPC API"
{
  "translations":  [
    {
      "translatedText":  "Acabo de llamar a una API gRPC de Google"
    }
  ]
}

In the example above, my project is agentio.

About

Call a Google API with the official Google client library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published