PHP code example of hametuha / backilog-scraper

1. Go to this page and download the library: Download hametuha/backilog-scraper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hametuha / backilog-scraper example snippets


// Include auto loader.
l JSON file.
$request = new Hametuha\Backlog\Request( './config.json' );
// Get all milestones
$response = $request->get( "/api/v2/projects/MYPROJECT/versions" );
// Do something.
foreach( $response as $milestone ){
   // Do stuff.
}