PHP code example of cpavs / inpc
1. Go to this page and download the library: Download cpavs/inpc 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/ */
cpavs / inpc example snippets
use Cpavs\Scraping\Inpc;
$inpcs = (new Inpc)
->setYears(range(2000,2010))
->execute()
->get();
foreach($inpcs as $ejercicio => $values)
{
foreach($values as $mes => $inpc)
{
$ejercicio //$ejercicio
$mes //mes
$inpc //inpc
}
}