jongotlin/arbetsformedlingen-ws-taxonomi

1.0.0 2019-12-10 12:27 UTC

This package is auto-updated.

Last update: 2024-12-11 00:08:06 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();