jongotlin/arbetsformedlingen-ws-taxonomi

1.0.0 2019-12-10 12:27 UTC

This package is auto-updated.

Last update: 2024-10-10 23:51:58 UTC


README

This package includes (php)-classes for Arbetsförmedlingen's Soap-api.

The classes are generated with Wsdl2phpgenerator. If api is updated classes can be re-generated with php generate.php http://api.arbetsformedlingen.se/taxonomi/v0/TaxonomiService.asmx?wsdl.

Install with composer

composer require jongotlin/arbetsformedlingen-ws-taxonomi

Example

$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();