API usage example

Login and get API token

Discover how to get your unique API key 

curl -X POST 'https://app.boostramp.com/api/login.php' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'key=%your-api-key%'


Get the account projects list


cURL

curl --location 'https://app.boostramp.com/api/project.php?token=Hvmx1o6NKPeNalPA43KXhCHwnPVWmcno&func=listProjects'


php CURL

<?php
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://app.boostramp.com/api/project.php?token=Hvmx1o6NKPeNalPA43KXhCHwnPVWmcno&func=listProjects',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;


Python

import requests
url = "https://app.boostramp.com/api/project.php?token=Hvmx1o6NKPeNalPA43KXhCHwnPVWmcno&func=listProjects"
payload = {}
headers = {
  'Cookie': 'PHPSESSID=tmd4so8iqcueopnvuiipe0292d'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)


If everything is done correctly, you will receive a JSON response containing all your projects.