Get Task Progress
get
https://api.bountyblok.io
/v1/get_task_progress
Get Task Progress
cURL
C#
Javascript
Python
PHP
curl --request GET
--url 'https://api.bountyblok.io/v1/get_task_progress?task_id=1606DC72-A915-4975-95BA-64CAE14800E0&account_name=dimitest1111'
--header 'authorization: Bearer <<YOUR_API_KEY>>'
--data '{}'
var client = new RestClient("https://api.bountyblok.io/v1/get_task_progress?task_id=1606DC72-A915-4975-95BA-64CAE14800E0&account_name=dimitest1111");
var request = new RestRequest(Method.GET);
request.AddHeader("authorization", "Bearer <<YOUR_API_KEY>>");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
var data = "{}";
var xhr = new XMLHttpRequest();
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://api.bountyblok.io/v1/get_task_progress?task_id=1606DC72-A915-4975-95BA-64CAE14800E0&account_name=dimitest1111");
xhr.setRequestHeader("authorization", "Bearer <<YOUR_API_KEY_HERE>>");
xhr.send(data);
import http.client
conn = http.client.HTTPSConnection("api.bountyblok.io")
payload = "{}"
headers = { 'authorization': "Bearer <<YOUR_API_KEY>>" }
conn.request("GET", "/v1/get_task_progress?task_id=1606DC72-A915-4975-95BA-64CAE14800E0&account_name=dimitest1111", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.bountyblok.io/v1/get_task_progress?task_id=1606DC72-A915-4975-95BA-64CAE14800E0&account_name=dimitest1111",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => "{}",
CURLOPT_HTTPHEADER => array(
"authorization: Bearer <<YOUR_API_KEY_HERE>>"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
Copy link