iron1902/basic-sevdesk-api

Basic PHP REST API client for sevDesk accounting software

0.1.2 2020-12-27 20:57 UTC

This package is auto-updated.

Last update: 2024-04-05 17:50:29 UTC


README

A simple API wrapper for sevDesk using Guzzle.

Installation

The recommended way to install is through composer.

composer require iron1902/basic-sevdesk-api

Using the api

For REST calls the api-key is required.

use Iron1902\BasicSevdeskAPI\BasicSevdeskAPI;
use Iron1902\BasicSevdeskAPI\Options;

// Create options for the API
$options = new Options();
$options->setApiKey('YOUR_API_KEY_HERE');

// Create the client
$api = new BasicSevdeskAPI($options);

//perform your requests
$result = $api->rest('GET', 'Invoice');