Thanks! I could easily get all data! Only the important thing is how to make an attractive result with those data…
(
var p, l;
~json = "";
p = Pipe.new("curl 'http://www.khoa.go.kr/api/oceangrid/tideObsAirTemp/search.do?ServiceKey=wldhxng34hkddbsgm81lwldhxng34hkddbsgm81l==&ObsCode=DT_0001&Date=20160101&ResultType=json'", "r");
l = p.getLine;
while { l.notNil } {~json = ~json ++ l; l = p.getLine; };
p.close;
~dic = ~json.parseJSON
)
Post <<< ~dic
~dic.keys
~dic["result"].keys
~dic["result"]["meta"].keys
~dic["result"]["data"]
~time = ~dic["result"]["data"].collect { |item| item["record_time"].postln }
~temp = ~dic["result"]["data"].collect { |item| item["air_temp"].asFloat }
~temp.plot