PHPackages                             genesis-global/optimove - 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. genesis-global/optimove

ActiveLibrary[API Development](/categories/api)

genesis-global/optimove
=======================

Optimove API Client

0.1(9y ago)151MITPHPPHP &gt;=7.0.0

Since Jan 2Pushed 9y ago6 watchersCompare

[ Source](https://github.com/genesis-global/Optimove)[ Packagist](https://packagist.org/packages/genesis-global/optimove)[ RSS](/packages/genesis-global-optimove/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Optimove
========

[](#optimove)

PHP Optimove API client.

Requirements
------------

[](#requirements)

- PHP 7
- Curl

Implemented API calls:
----------------------

[](#implemented-api-calls)

- general/login
- integrations/AddPromotions
- integrations/GetPromotions
- integrations/DeletePromotions

Example
-------

[](#example)

```

```

Reference
---------

[](#reference)

`Client` object has methods which returns objects for specific API parts. `Client`'s available methods:

- `general()` - returns object for `general/*` calls
- `promotions()` - returns object for `promotions/*` calls

### Client

[](#client)

This is main object which contains all methods which you need to use Optimove API.

#### \_\_construct(string $username, string $password)

[](#__constructstring-username-string-password)

Client constructor require following arguments:

- string `$username` - Optimove account username
- string `$password` - Optimove account password

##### Example:

[](#example-1)

```
