PHPackages                             giannisftaras/ge-api - 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. giannisftaras/ge-api

ActiveLibrary[API Development](/categories/api)

giannisftaras/ge-api
====================

A PHP wrapper for the General Electric - SmartHQ API

1.0.0(4y ago)391Apache-2.0PHPPHP &gt;=7.1.0

Since Jan 1Pushed 4y ago2 watchersCompare

[ Source](https://github.com/giannisftaras/ge-api)[ Packagist](https://packagist.org/packages/giannisftaras/ge-api)[ Docs](https://github.com/giannisftaras/ge-api)[ RSS](/packages/giannisftaras-ge-api/feed)WikiDiscussions main Synced 3d ago

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

PHP - General Electric / SmartHQ API
====================================

[](#php---general-electric--smarthq-api)

This library is a simple PHP wrapper for the General Electric / SmartHQ API. At the moment the library utilizes only a single endpoint from the API since I don't have all the devices listed to test it with. If you want support for more devices you can implement your own calls &amp; functions and create a pull request to merge it to the main branch.

Additional required libraries (included in the main package):

- [GuzzleHTTP](https://github.com/guzzle/guzzle): for the API calls
- [SimpleHTMLDOM](https://github.com/voku/simple_html_dom): for the login process

#### Supported devices:

[](#supported-devices)

- Split Air Conditioner

#### Installation:

[](#installation)

You can install the library using `composer` or by simply downloading this repository and including it in your project. Installation using `composer`:

```
composer require giannisftaras/ge-api

```

#### Usage:

[](#usage)

Make sure you implement a storage object in order to store the Bearer / Access token generated during the login flow which will help in loading times and when quering the API in order to avoid logging in all the time.

```
