PHPackages                             primaryflorian/lemon-markets-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. primaryflorian/lemon-markets-php-sdk

ActiveLibrary[API Development](/categories/api)

primaryflorian/lemon-markets-php-sdk
====================================

Inofficial PHP-SDK for Lemon Markets

214PHP

Since Sep 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PrimaryFlorian/lemon-markets-php-sdk)[ Packagist](https://packagist.org/packages/primaryflorian/lemon-markets-php-sdk)[ RSS](/packages/primaryflorian-lemon-markets-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK for Lemon Markets
=========================

[](#php-sdk-for-lemon-markets)

This Repository contains an inofficial SDK for Lemon Markets. All current features (as of early April 2022) are supported.

The SDK was only tested in paper mode and is used live at your own risk. Any liability is explicitly excluded.

Installation
------------

[](#installation)

You can install the SDK with the following command.

```
composer require primaryflorian/lemon-markets-php-sdk:dev-main

```

Usage
-----

[](#usage)

```
require_once 'vendor/autoload.php';
```

Use the autoloader to load all classes.

```
use LemonMarketsSDK\LemonMarkets;
$LemonMarkets = new LemonMarkets('API-KEY', 'STATUS');
$LemonMarkets->data->getInstruments();
$LemonMarkets->trading->getAccount();
```

Status Available at the moment:

"paper-" and "live"

When using the paper- status, make sure you include the hyphen.

### Examples

[](#examples)

#### Retrieve your Account

[](#retrieve-your-account)

```
