jongotlin/arbetsformedlingen-ads

1.2.1 2024-05-05 04:44 UTC

This package is auto-updated.

Last update: 2024-11-05 05:51:52 UTC


README

Build Status

ArbetsformedlingenAds

Api wrapper for publishing ads on Arbetsförmedlingen (Swedish public employment service)

Install with composer

composer require jongotlin/arbetsformedlingen-ads

Example

$client = new \JGI\ArbetsformedlingenAds\Client();
$client->setHttpClient($httpClient); // $httpClient is a \Http\Client\HttpClient

$arbetsformedlingenJob = new ArbetsformedlingenJob(...);
$transaction = new Transaction($senderId, 'some@email.com', $transactionID, [$arbetsformedlingenJob]);

$result = $client->publish($transaction);