matteoredaelli / talendcloud-go

Talend cloud API wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

talendcloud-go

Minimal talendcloud API wrapper

Usage

package main

import (
	"fmt"
	"github.com/matteoredaelli/talendcloud-go"
)

func main() {
	client := talendcloud.NewClient("https://api.eu.cloud.talend.com/tmc/v2.6", "MY_SILLY_TALEND_TOKEN")
	conn := &client

	message, err := conn.Get("runtimes/remote-engine-clusters?_s=workspace.environment.name==PRD", nil)

	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(message)
}

About

Talend cloud API wrapper

License:GNU General Public License v3.0


Languages

Language:Go 100.0%