PHP code example of jongotlin / arbetsformedlingen-ws-taxonomi

1. Go to this page and download the library: Download jongotlin/arbetsformedlingen-ws-taxonomi 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/ */

    

jongotlin / arbetsformedlingen-ws-taxonomi example snippets


$options = [
    'location' => 'http://api.arbetsformedlingen.se/taxonomi/v0/TaxonomiService.asmx?wsdl',
];

$service = new \ArbetsformedlingenWsTaxonomi\TaxonomiServiceCustom($options);
$data = $service->GetAllWageTypes(new ArbetsformedlingenWsTaxonomi\GetAllWageTypesCustom(502))->getGetAllWageTypesResult();
echo $data->getWageType()[0]->getTerm();