GetEC.php
This PHP script grabs data for any Environment Canada site and formats it to roughly match the MesoWest data from GetMesoWest.php and the SNOTEL data from GetSNOTEL.php.
Data provided by Environment Canada   https://weather.gc.ca
PHP script by Amar Andalkar, January 2016   (current version 1.1 of 12 Mar 2016)   http://www.skimountaineer.com/

Search for a Site by Station ID:   (Enter a full Station ID, 4 characters only, case-insensitive)        
Number of Days: (Limit: 365 if logged in, or only 1 if not logged in)     End Date: (Format: yyyy-mm-dd, or current date/time if blank)     Show hidden data columns    
Plain Version (just the data table)     Smaller Font     Fixed-Width Font     Table Border     Table Dividers (between days or months)     Table Cell Padding: (if blank, then 0 if plain, 1 otherwise)            
Site Info, Location:
Site Location Info Page:
Full URL for Data Shown Below:
Lillooet  (CWKF)  243 m (798 ft)     50.684° N, 121.934° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CWKF?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=wkf

Lillooet  (CWKF)
243 m (798 ft)
50.684° N, 121.934° W
Data provided by: Environment Canada
(As of: 7:27:54 PDT, Mon, Aug 20, 2018)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
19 August 2018    08:00     57.4    60    30.3
19 August 2018    09:00     59.2    53    30.2
19 August 2018    10:00     61.3    48    30.2
19 August 2018    11:00     64.2    43    30.2
19 August 2018    12:00     67.5    37    30.2
19 August 2018    13:00     70.9    33    30.2
19 August 2018    14:00     73.8    31    30.1
19 August 2018    15:00     76.5    30    30.1
19 August 2018    16:00     77.9    27    30.1
19 August 2018    17:00     79.0    29    30.0
19 August 2018    18:00     77.2    34    30.0
19 August 2018    19:00     72.7    44    30.0
19 August 2018    20:00     68.4    49    30.0
19 August 2018    21:00     64.4    53    30.1
19 August 2018    22:00     62.4    57    30.1
19 August 2018    23:00     60.6    62    30.1
20 August 2018    00:00     60.3    61    30.1
20 August 2018    01:00     63.5    52    30.1
20 August 2018    02:00     60.3    57    30.2
20 August 2018    03:00     61.3    52    30.2
20 August 2018    04:00     62.1    49    30.2
20 August 2018    05:00     58.8    56    30.2
20 August 2018    06:00     56.8    61    30.2
20 August 2018    07:00     57.7    60    30.2

Run time: 0.624 seconds
Requested data: 24 rows, columns, values
Received data: rows