Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jongotlin/arbetsformedlingen-ws-taxonomi

PHP classes for Arbetsförmedlingen SOAP API
https://github.com/jongotlin/arbetsformedlingen-ws-taxonomi

Last synced: 15 days ago
JSON representation

PHP classes for Arbetsförmedlingen SOAP API

Awesome Lists containing this project

README

        

# Arbetsformedlingen WS-Taxonomi

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

The classes are generated with [Wsdl2phpgenerator](https://github.com/wsdl2phpgenerator/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
```php
$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();
```