You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provides a simple interface towards the public Tado Thermostat System API. It wraps the web methods available for authenticating users and retrieve information from the local devices.
10
+
This package provides a simple interface towards the public Tado Thermostat System API. It wraps the web methods available for authenticating users and retrieve information from the local devices.
11
11
12
12
The package is also integrated within Laravel.
13
13
@@ -20,74 +20,78 @@ Since the API is currently officially undocumented, if you are aware of methods
20
20
4.[Usage](#4-usage)
21
21
5.[Supported Methods](#5-supported-methods)
22
22
6.[Issues, Questions and Pull Requests](#6-issues-questions-and-pull-requests)
23
-
23
+
24
24
## 1. Installation
25
-
25
+
26
26
1. Require the package using composer:
27
-
27
+
28
28
```
29
29
composer require robertogallea/restado
30
30
```
31
-
31
+
32
32
2. Add the service provider to the `providers` in `config/app.php`:
33
33
34
34
> Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider
4. Use a method to get the related information, for example:
87
+
84
88
```php
85
89
$me = Restado::me($access_token);
86
-
```
87
-
90
+
```
91
+
88
92
each method returns an object containing the data from the server. Currently the API is not officially documented, the only reference I found is at this page: http://blog.scphillips.com/posts/2017/01/the-tado-api-v2/
0 commit comments