PHPackages                             laulamanapps/nest-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. laulamanapps/nest-api

ActiveLibrary

laulamanapps/nest-api
=====================

PHP Nest API client

0.9(7y ago)047MITPHPPHP &gt;=7.1

Since Oct 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/LauLamanApps/NestApi)[ Packagist](https://packagist.org/packages/laulamanapps/nest-api)[ RSS](/packages/laulamanapps-nest-api/feed)WikiDiscussions master Synced yesterday

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

Nest Api
========

[](#nest-api)

This package provides a simple integration of the [Official Nest Api](https://developers.nest.com/documentation) for your PHP project.

[![Build Status](https://camo.githubusercontent.com/6e1fc6b769e0d8666324355b867c9e4814d714f0740d51aa0e8ff0f0fa0e0ba8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61754c616d616e417070732f4e6573744170692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LauLamanApps/NestApi/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/690e3955e5908a9c73a509ae7f6ede478e1c187fca779d41ae027e68d349a2d4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61754c616d616e417070732f4e6573744170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LauLamanApps/NestApi/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/4a084fbb19678e55b7a4094ac5363318c0d18c8466867a8c91233bec61bc8a8d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61754c616d616e417070732f4e6573744170692f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LauLamanApps/NestApi/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/ff00dc4afd8ad3fdadc63456c203fbb01b99ea3b2a601a3bd7308bf61e295d14/68747470733a2f2f706f7365722e707567782e6f72672f4c61754c616d616e417070732f6e6573742d6170692f762f737461626c65)](https://packagist.org/packages/LauLamanApps/nest-api)[![License](https://camo.githubusercontent.com/fff8fabd058a1ab2ccb06f55fad6d87ae3bb87207c80fc0659734460dd4a6d89/68747470733a2f2f706f7365722e707567782e6f72672f4c61754c616d616e417070732f6e6573742d6170692f6c6963656e7365)](https://packagist.org/packages/LauLamanApps/nest-api)

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

[](#installation)

With [composer](http://packagist.org), add:

```
$ composer require laulamanapps/nest-api
```

if you want to make use of the provided Guzzle adapter, require guzzlehttp in your composer:

```
$ composer require guzzlehttp/guzzle
```

Get Access Token
----------------

[](#get-access-token)

Sign up at Nest as a Developer and get yourself an `ClientID` and `ClientSecret`

Run the `get-oauth-token` in the terminal and follow the instructions

```
$ ./bin/get-oauth-token
```

Usage
-----

[](#usage)

```
use LauLamanApps\NestApi\NestClientFactory;
use LauLamanApps\NestApi\Client\Device\Thermostat\Temperature;

$client = NestClientFactory::create('');

$thermostat = $client->getThermostat('');

// Get current Temperature
echo 'The current temperature is:';
echo $thermostat->getAmbientTemperature();

// Set Target Temperature
$newTemperature = Temperature::celsius(21.5);
$thermostat->setTargetTemperature($newTemperature);
```

Tests
-----

[](#tests)

This package comes with 2 types of tests: Unit and Integration. To run them you can use the make commands in the projects root.

```
$ make tests # Runs all tests
$ make tests-unit # Runs only unit tests
$ make tests-integration # Runs only integration tests
```

Author
------

[](#author)

Nest API has been developed by [LauLaman](https://github.com/LauLaman).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/930ca3b1756d00a63c8ff3363e81f16f961cf3ef79ff0c9d362670c36d97e456?d=identicon)[LauLaman](/maintainers/LauLaman)

---

Top Contributors

[![LauLaman](https://avatars.githubusercontent.com/u/8283992?v=4)](https://github.com/LauLaman "LauLaman (8 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/laulamanapps-nest-api/health.svg)

```
[![Health](https://phpackages.com/badges/laulamanapps-nest-api/health.svg)](https://phpackages.com/packages/laulamanapps-nest-api)
```

###  Alternatives

[laulamanapps/izettle-api

Zettle by PayPal API PHP Client

113.0k](/packages/laulamanapps-izettle-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
