Connectivity Made Simple
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Building sophisticated and modern communications applications is now easier
than ever with the Telnyx API. As a comprehensive suite of telecommunication
technology, the Telnyx API offers a variety of ways to build reliable
cloud-based communications. With the Telnyx API, developers and businesses can
easily build and deploy the following applications:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
telnyx: {
type: "app",
app: "telnyx",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.telnyx.com/v2/available_phone_numbers`,
headers: {
Authorization: `Bearer ${this.telnyx.$auth.api_key}`,
},
})
},
})
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)
}