forked from typhained/Hack_avril
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test3.php
30 lines (30 loc) · 842 Bytes
/
test3.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
require_once 'ApiClass.php';
$cam = new WindyApi();
$result = $cam->getweather(48.58,7.75);
echo $result['0'];
echo $result['1']. '<br>';
$photo1 = $cam->getweather(64.68,97.74);
$photo2 = $cam->getweather(48.85,2.35);
$photo3 = $cam->getWeather(25.34,51.52);
$photo4 = $cam->getweather(41.91,12.48);
$photo5 = $cam->getweather(31.26,121.47);
$photo6 = $cam->getweather(64.13,-21.94);
$photo7 = $cam->getweather(-1.29,36.81);
$photo8 = $cam->getweather(46.21,-63.26);
echo $photo1['0'];
echo $photo1['1']. '<br>';
echo $photo2['0'];
echo $photo2['1']. '<br>';
echo $photo3['0'];
echo $photo3['1']. '<br>';
echo $photo4['0'];
echo $photo4['1']. '<br>';
echo $photo5['0'];
echo $photo5['1']. '<br>';
echo $photo6['0'];
echo $photo6['1']. '<br>';
echo $photo7['0'];
echo $photo7['1']. '<br>';
echo $photo8['0'];
echo $photo8['1']. '<br>';