This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7a1660
commit 5bacbb8
Showing
4 changed files
with
74 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Secret Key | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The secret key which grants you access to the Dark Sky API. | ||
| The free account allows up to 1000 calls per day to API. | ||
| Keep it secret, do not embed it to the response body. | ||
| | ||
| @link https://darksky.net/dev/register | ||
| | ||
*/ | ||
|
||
'key' => 'testing-secret-key', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Language | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Specify the language for the human-readable text summaries here. | ||
| Check the documentation for the list of the supported values. | ||
| Null means the usage of the default Dark Sky API settings. | ||
| | ||
| @see https://darksky.net/dev/docs#request-parameters | ||
| | ||
*/ | ||
|
||
'language' => 'en', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Units | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may specify the unit system for the weather conditions. | ||
| Check the documentation for the list of the supported values. | ||
| Null means the usage of the default Dark Sky API settings. | ||
| | ||
| @see https://darksky.net/dev/docs#request-parameters | ||
| | ||
*/ | ||
|
||
'units' => 'si', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Extend | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here specify the weather blocks, which should have the extended data. | ||
| For now, it affects only the forecast requests, the hourly blocks. | ||
| When present, the block extends from the 48 hours to 168 hours. | ||
| | ||
| @see https://darksky.net/dev/docs#request-parameters | ||
| | ||
*/ | ||
|
||
'extend' => null, | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters