C#

Get data

var client = new RestClient("https://api.getdatapipe.com/v1/data/<your account ID>/<your endpoint ID>");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("x-api-key", "<you api key>");
request.AddHeader("user", "user@sample.com");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Transform a file

var client = new RestClient("https://api.getdatapipe.com/v1/data/<your account ID>/<your endpoint ID>/file");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("x-api-key", "<your api key>");
request.AddHeader("user", "user@sample.com");
request.AddFile("file", "/path/to/demo-01.csv");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Transform a Google Sheet

var client = new RestClient("https://api.getdatapipe.com/v1/data/<your account ID>/<your endpoint ID>/sheet");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddHeader("x-api-key", "<your api key>");
request.AddHeader("user", "user@sample.com");
request.AddParameter("spreadsheetId", "Google Sheet ID");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);