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
An easy to use wrapper for the [Forecast.io](https://forecast.io) API v2.
10
+
An easy to use wrapper for the [Dark Sky](https://darksky.net/) API (formerly [Forecast.io](https://forecast.io)).
11
11
12
-
Overcast will query the Forecast.io API for weather information for the longitude and latitude you specify. Additionally
13
-
you may specify the specific time, past or present.
12
+
Overcast will query the Dark Sky API for weather information for the longitude and latitude you specify. Additionally
13
+
you may specify the specific time, past or present.
14
14
15
-
See the [Forecast.io API documentation](https://developer.forecast.io/docs/v2) for more information.
15
+
See the [Dark Sky API documentation](https://darksky.net/dev/docs) for more information.
16
16
17
17
## Installation
18
18
Installation is as simple as using [Composer](http://getcomposer.org/):
@@ -26,7 +26,7 @@ Installation is as simple as using [Composer](http://getcomposer.org/):
26
26
```
27
27
28
28
## Client Adapters
29
-
Overcast uses client adapters to connect to the Forecast.io API. This gives you the ability to create your own adapter for whatever HTTP client you'd like to use. This is especially useful for people who have special needs when dealing with retrieving data from third parties (firewalls, proxies, etc)
29
+
Overcast uses client adapters to connect to the Dark Sky API. This gives you the ability to create your own adapter for whatever HTTP client you'd like to use. This is especially useful for people who have special needs when dealing with retrieving data from third parties (firewalls, proxies, etc)
30
30
31
31
Overcast comes with two client adapters ready for use, FileGetContentsClientAdapter and GuzzleClientAdapter. You can also create your own by simply implementing the ClientAdapterInterface
32
32
@@ -41,10 +41,10 @@ $overcast = new \VertigoLabs\Overcast\Overcast('YOUR API KEY', new MyAwesomeClie
41
41
```
42
42
43
43
## Example
44
-
Since the Forecast.io API is simple, Overcast is equally easy to use.
44
+
Since the Dark Sky API is simple, Overcast is equally easy to use.
45
45
Simply create an instance of the Overcast class, then call the getForecast() method.
46
46
47
-
Overcast::getForecast() returns a nicely structured Forecast object which contains other data structures for handy access to all of the response data from Forecast.io.
47
+
Overcast::getForecast() returns a nicely structured Forecast object which contains other data structures for handy access to all of the response data from Dark Sky.
48
48
49
49
```php
50
50
$overcast = new \VertigoLabs\Overcast\Overcast('YOUR API KEY');
0 commit comments