Semantic Text Analytics as a service
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The Dandelion API is a text analysis toolkit that allows for understanding and extracting information from texts in various languages. On Pipedream, you can leverage this API to automate workflows that involve natural language processing tasks like sentiment analysis, entity recognition, and language detection. These capabilities enable developers to create applications that can interpret user input, analyze social media sentiment, categorize content, and more, all within a serverless platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dandelion: {
type: "app",
app: "dandelion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dandelion.eu/datagraph/wikisearch/v1`,
params: {
text: `brightroll`,
lang: `en`,
token: `${this.dandelion.$auth.token}`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
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)
}