This extension provides a wrapper for the library OpenWeatherMap-PHP-Api (GitHub)., (*1)
It allows developers to use the library in their TYPO3 extension without much hassle., (*2)
The library uses the TYPO3 caching framework and TYPO3’s own methods to fetch URLs., (*3)
This extension does not have any major requirements, (*4)
Just install the extension from the TER or manually., (*5)
Some basic configuration needs to be done:, (*6)
Get an instance of the service and the actual API class:, (*7)
/** @var \RauchF\OpenweathermapPhpApiService\Service\OpenweathermapPhpApiService $owmService */ $owmService = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstanceService('openweathermap_php_api'); $owmApi = $owmService->getOpenweathermapPhpApi();
Now you can use any API method:, (*8)
$weatherData = $owmApi->getRawWeatherData( $query, 'metric', 'en', $owmService->getApiKey(), 'json' );
Please report any bugs and issues you may encounter on GitHub., (*9)
The source code and usage are covered under the following licenses:, (*10)
(c) 2015 Felix Rauch, (*11)
This product is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version., (*12)
The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html., (*13)
Copyright (c) 2013 Christian Flach, (*14)
MIT — Please see the LICENSE file distributed with the source code for further information regarding copyright and licensing., (*15)
Please check out the following links to read about the usage policies and the license of OpenWeatherMap before using the service. - http://www.OpenWeatherMap.org - http://www.OpenWeatherMap.org/terms - http://www.OpenWeatherMap.org/appid, (*16)