Phrase

Leanest, Fastest, and Most Reliable Localization Platform

Integrate the Phrase API with the Go API

Setup the Phrase API trigger to run a workflow which integrates with the Go API. Pipedream's integration platform allows you to integrate Phrase and Go remarkably fast. Free for developers.

Run Go Code with Go API on New Job Completed (Instant) from Phrase API
Phrase + Go
 
Try it
Run Go Code with Go API on New Job Created (Instant) from Phrase API
Phrase + Go
 
Try it
Run Go Code with Go API on New Job Started (Instant) from Phrase API
Phrase + Go
 
Try it
New Job Completed (Instant) from the Phrase API

Emit new event when each job is completed.

 
Try it
New Job Created (Instant) from the Phrase API

Emit new event when each job is created.

 
Try it
New Job Started (Instant) from the Phrase API

Emit new event when each job is started.

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it

Overview of Phrase

Using the Phrase API, you can build a range of applications for local and
international businesses. With the Phrase API, you can do things like:

  • Create powerful multilingual websites, apps and content
  • Speed up the development of new software, websites and apps
  • Dynamic internationalization of websites, apps and content
  • Simplify localization workflow and processes
  • Automate delivery of translated pages and content

Here are a few examples of what you can build with the Phrase API:

  • Software localization platforms
  • Translated websites
  • Custom multilingual content services
  • Machine-translated content delivery networks
  • Localized mobile apps
  • Globalized translation workflows
  • Internationalizing data entry forms

Connect Phrase

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    phrase: {
      type: "app",
      app: "phrase",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.phrase.com/v2/projects`,
      headers: {
        "Authorization": `token ${this.phrase.$auth.access_token}`,
      },
    })
  },
})

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}