bennetgallein/basic-sevdesk-api

Basic PHP REST API client for sevDesk accounting software

0.1.4 2023-06-05 16:44 UTC

This package is auto-updated.

Last update: 2024-11-05 19:38:06 UTC


README

A simple API wrapper for sevDesk using Guzzle.

Installation

Note: this is a fork.

The recommended way to install is through composer.

composer require bennetgallein/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');