PHP code example of alexleotz / necta-results-scraper

1. Go to this page and download the library: Download alexleotz/necta-results-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/ */

    

alexleotz / necta-results-scraper example snippets



NectaResultScraper\NectaResultScraper;

// Retrieve O-Level (CSEE) results:
$result = NectaResultScraper::results('S1832/0036/2024'); // only csee candidate is supported

// Output the results as JSON:
echo json_encode($result);
bash
php index.php