ChangelogHQ API

Only takes you a couple of minutes to get started.

Retrieving Changelogs


To retrieve all changelogs from a single project, you will only need to access the link below with cURL or any browser:

https://api.changeloghq.com/api/changelogs/<PROJECT_ID>

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.

NOTE: Replace PROJECT_ID with your project id.


PHP Example:
<?php
// Create the curl resource
$resource	= curl_init();

// Set the url to changeloghq's api url
curl_setopt( $resource , CURLOPT_URL, "https://api.changeloghq.com/api/changelogs/<PROJECT_ID>");

// Ensure that the content is returned string rather than output on the screen
curl_setopt( $resource , CURLOPT_RETURNTRANSFER, 1 );

// Finally, execute it.
$contents	= curl_exec( $resource );

// Free up system resource.
curl_close( $resource );

// Convert the JSON data into a proper object.
$obj 		= json_decode( $contents );
?>


Retrieving Single Changelog


With our API, you will also be able to retrieve a single version changelog by accessing the link below:

https://api.changeloghq.com/api/changelogs/<PROJECT_ID>?version=<VERSION>
NOTE: Replace PROJECT_ID with your project id and VERSION with the version that you like to retrieve.


PHP Example:
<?php
// Create the curl resource
$resource	= curl_init();

// Set the url to changeloghq's api url
curl_setopt( $resource , CURLOPT_URL, "https://api.changeloghq.com/api/changelogs/<PROJECT_ID>/?version=<VERSION>");

// Ensure that the content is returned string rather than output on the screen
curl_setopt( $resource , CURLOPT_RETURNTRANSFER, 1 );

// Finally, execute it.
$contents	= curl_exec( $resource );

// Free up system resource.
curl_close( $resource );

// Convert the JSON data into a proper object.
$obj 		= json_decode( $contents );
?>