{"id":25564,"date":"2024-10-26T13:50:56","date_gmt":"2024-10-26T13:50:56","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25564"},"modified":"2024-11-26T08:01:21","modified_gmt":"2024-11-26T08:01:21","slug":"%ed%94%8c%eb%9f%ac%ed%84%b0-%ea%b0%95%ec%a2%8c-15-2-openweathermap-%ec%82%ac%ec%9a%a9%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25564\/","title":{"rendered":"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30"},"content":{"rendered":"<p>\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 <strong>OpenWeatherMap API<\/strong>\ub97c Flutter \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ud1b5\ud569\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. OpenWeatherMap\uc740 \uc2e4\uc2dc\uac04 \ub0a0\uc528 \ub370\uc774\ud130, \uae30\uc628, \uc2b5\ub3c4, \ubc14\ub78c \uc18d\ub3c4 \ub4f1 \uc5ec\ub7ec \uac00\uc9c0 \uc720\uc6a9\ud55c \ub0a0\uc528 \uc815\ubcf4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 API\ub294 \ubb34\ub8cc \ubc0f \uc720\ub8cc \ud50c\ub79c\uc744 \uc81c\uacf5\ud558\uba70, \uc624\ub298\uc740 \ubb34\ub8cc \ud50c\ub79c\uc744 \uae30\uc900\uc73c\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. OpenWeatherMap API \uac00\uc785 \ubc0f API \ud0a4 \uc5bb\uae30<\/h2>\n<p>\uccab \ubc88\uc9f8 \ub2e8\uacc4\ub294 OpenWeatherMap \uc6f9\uc0ac\uc774\ud2b8\uc5d0 \uac00\uc785\ud558\uc5ec API \ud0a4\ub97c \uc5bb\ub294 \uac83\uc785\ub2c8\ub2e4. \uc544\ub798\uc758 \ub2e8\uacc4\ub97c \ub530\ub77c\uc8fc\uc138\uc694:<\/p>\n<ol>\n<li><a href=\"https:\/\/openweathermap.org\/\" target=\"_blank\" rel=\"noopener\">OpenWeatherMap \uc6f9\uc0ac\uc774\ud2b8<\/a>\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc0c1\ub2e8 \uba54\ub274\uc758 &#8220;Sign Up&#8221;\uc744 \ud074\ub9ad\ud558\uc5ec \uacc4\uc815\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc774\uba54\uc77c \uc8fc\uc18c\uc640 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud55c \ud6c4 \uac00\uc785 \uc808\ucc28\ub97c \uc644\ub8cc\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub85c\uadf8\uc778 \ud6c4 &#8220;API keys&#8221; \uba54\ub274\ub85c \uc774\ub3d9\ud558\uc5ec \uc790\ub3d9 \uc0dd\uc131\ub41c \uae30\ubcf8 API \ud0a4\ub97c \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud544\uc694\uc5d0 \ub530\ub77c \uc0c8 API \ud0a4\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>2. Flutter \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\uc774\uc81c Flutter \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc0c8\ub85c\uc6b4 Flutter \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc0dd\uc131\ud558\uac70\ub098 \uae30\uc874 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>flutter create weather_app<\/code><\/pre>\n<p>\ud504\ub85c\uc81d\ud2b8 \ub514\ub809\ud130\ub9ac\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>cd weather_app<\/code><\/pre>\n<p>\ub2e4\uc74c\uc73c\ub85c, HTTP \uc694\uccad\uc744 \ubcf4\ub0b4\uae30 \uc704\ud574 \ud544\uc694\ud55c \ud328\ud0a4\uc9c0\ub97c pubspec.yaml \ud30c\uc77c\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>dependencies:\n  flutter:\n    sdk: flutter\n  http: ^0.13.3\n<\/code><\/pre>\n<p>\ubaa8\ub4e0 \uc758\uc874\uc131\uc744 \uc124\uce58\ud558\uae30 \uc704\ud574 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>flutter pub get<\/code><\/pre>\n<h2>3. \ub0a0\uc528 \ub370\uc774\ud130 \ubaa8\ub378 \uc0dd\uc131<\/h2>\n<p>OpenWeatherMap API\uc5d0\uc11c \uc218\uc2e0\ubc1b\uc740 JSON \ub370\uc774\ud130\ub97c \ud559\uc2b5\ud558\uae30 \uc704\ud574 Dart \ubaa8\ub378 \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub0a0\uc528 \ub370\uc774\ud130\ub97c \uc704\ud55c \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>class Weather {\n  final String city;\n  final double temperature;\n  final String description;\n\n  Weather({required this.city, required this.temperature, required this.description});\n\n  factory Weather.fromJson(Map<string, dynamic=\"\"> json) {\n    return Weather(\n      city: json['name'],\n      temperature: json['main']['temp'] - 273.15, \/\/ \ucf08\ube48\uc744 \uc12d\uc528\ub85c \ubcc0\ud658\n      description: json['weather'][0]['description'],\n    );\n  }\n}\n<\/string,><\/code><\/pre>\n<h2>4. HTTP \uc694\uccad\uc73c\ub85c \ub0a0\uc528 \ub370\uc774\ud130 \uac00\uc838\uc624\uae30<\/h2>\n<p>\uc774\uc81c \ub0a0\uc528 \uc815\ubcf4\ub97c \uac00\uc838\uc624\uae30 \uc704\ud574 HTTP \uc694\uccad\uc744 \uc791\uc131\ud560 \ucc28\ub840\uc785\ub2c8\ub2e4. <strong>http<\/strong> \ud328\ud0a4\uc9c0\ub97c \uc0ac\uc6a9\ud558\uc5ec OpenWeatherMap API\uc5d0 GET \uc694\uccad\uc744 \ubcf4\ub0c5\ub2c8\ub2e4.<\/p>\n<p>\ub2e4\uc74c\uc740 \ub0a0\uc528 \uc815\ubcf4\ub97c \uac00\uc838\uc624\ub294 \ud568\uc218\ub97c \uc791\uc131\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import 'dart:convert';\nimport 'package:http\/http.dart' as http;\n\nFuture<weather> fetchWeather(String city) async {\n  final apiKey = 'YOUR_API_KEY_HERE'; \/\/ \uc5ec\uae30\uc5d0 \uadc0\ud558\uc758 API \ud0a4\ub97c \uc785\ub825\ud558\uc138\uc694\n  final response = await http.get(Uri.parse('https:\/\/api.openweathermap.org\/data\/2.5\/weather?q=$city&amp;appid=$apiKey'));\n\n  if (response.statusCode == 200) {\n    return Weather.fromJson(json.decode(response.body));\n  } else {\n    throw Exception('Failed to load weather data');\n  }\n}\n<\/weather><\/code><\/pre>\n<h2>5. \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4 \uc791\uc131<\/h2>\n<p>\uc774\uc81c \ub0a0\uc528 \uc815\ubcf4\ub97c \ud45c\uc2dc\ud558\uae30 \uc704\ud55c \uac04\ub2e8\ud55c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc791\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. Flutter\uc758 \uad6c\uc131 \uc694\uc18c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c \ub3c4\uc2dc \uc774\ub984\uc5d0 \ub530\ub77c \ub0a0\uc528 \uc815\ubcf4\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4.<\/p>\n<p>\ub2e4\uc74c\uc740 \uae30\ubcf8 UI \ucf54\ub4dc \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import 'package:flutter\/material.dart';\n\nclass WeatherApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      title: 'Weather App',\n      home: Scaffold(\n        appBar: AppBar(\n          title: Text('\ub0a0\uc528 \uc815\ubcf4'),\n        ),\n        body: WeatherInfo(),\n      ),\n    );\n  }\n}\n\nclass WeatherInfo extends StatefulWidget {\n  @override\n  _WeatherInfoState createState() =&gt; _WeatherInfoState();\n}\n\nclass _WeatherInfoState extends State<weatherinfo> {\n  String city = '';\n  Weather? weather;\n\n  final TextEditingController controller = TextEditingController();\n\n  @override\n  Widget build(BuildContext context) {\n    return Column(\n      children: [\n        Padding(\n          padding: const EdgeInsets.all(16.0),\n          child: TextField(\n            controller: controller,\n            decoration: InputDecoration(labelText: '\ub3c4\uc2dc \uc774\ub984 \uc785\ub825'),\n          ),\n        ),\n        ElevatedButton(\n          onPressed: () {\n            setState(() {\n              city = controller.text.trim();\n            });\n            fetchWeather(city).then((value) {\n              setState(() {\n                weather = value;\n              });\n            }).catchError((error) {\n              showDialog(\n                context: context,\n                builder: (_) =&gt; AlertDialog(\n                  title: Text('\uc624\ub958'),\n                  content: Text(error.toString()),\n                  actions: [\n                    TextButton(\n                      onPressed: () {\n                        Navigator.of(context).pop();\n                      },\n                      child: Text('\ud655\uc778'),\n                    ),\n                  ],\n                ),\n              );\n            });\n          },\n          child: Text('\ub0a0\uc528 \uc870\ud68c'),\n        ),\n        if (weather != null)\n          Padding(\n            padding: const EdgeInsets.all(16.0),\n            child: Text(\n              '\ub3c4\uc2dc: ${weather!.city}\\n\uc628\ub3c4: ${weather!.temperature.toStringAsFixed(1)}\u00b0C\\n\uc0c1\ud0dc: ${weather!.description}',\n              style: TextStyle(fontSize: 20),\n            ),\n          ),\n      ],\n    );\n  }\n}\n\nvoid main() {\n  runApp(WeatherApp());\n}\n<\/weatherinfo><\/code><\/pre>\n<h2>6. \uc571 \uc2e4\ud589 \ubc0f \uacb0\uacfc \ud655\uc778<\/h2>\n<p>\uc704\uc5d0\uc11c \uc791\uc131\ud55c \ucf54\ub4dc\ub97c \ub514\ubc14\uc774\uc2a4 \ub610\ub294 \uc5d0\ubbac\ub808\uc774\ud130\uc5d0\uc11c \uc2e4\ud589\ud558\uc5ec \uacb0\uacfc\ub97c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uc81c \uc785\ub825\ub780\uc5d0 \ub3c4\uc2dc \uc774\ub984\uc744 \uc785\ub825\ud558\uace0 &#8220;\ub0a0\uc528 \uc870\ud68c&#8221; \ubc84\ud2bc\uc744 \ub204\ub974\uba74 API \uc694\uccad\uc744 \ud1b5\ud574 \uac00\uc838\uc628 \ub0a0\uc528 \uc815\ubcf4\ub97c \ud654\uba74\uc5d0 \ud45c\uc2dc\ud569\ub2c8\ub2e4.<\/p>\n<h2>7. \uc5d0\ub7ec \ucc98\ub9ac \ubc0f \uac1c\uc120 \uc0ac\ud56d<\/h2>\n<p>\ud604\uc7ac \uad6c\ud604\ub41c \uc608\uc2dc\ub294 \uae30\ubcf8\uc801\uc778 \uae30\ub2a5\ub9cc \uc81c\uacf5\ud558\ubbc0\ub85c, \uc5ec\ub7ec \uac00\uc9c0 \uac1c\uc120 \uc0ac\ud56d\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<ul>\n<li>\uc704\uce58 \uae30\ubc18 \ub0a0\uc528 \uc815\ubcf4 \uc81c\uacf5: \uc0ac\uc6a9\uc790\uc758 \ud604\uc7ac \uc704\uce58\ub97c \uae30\ubc18\uc73c\ub85c \uc790\ub3d9\uc73c\ub85c \ub0a0\uc528 \uc815\ubcf4\ub97c \uac00\uc838\uc624\ub294 \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>\ub0a0\uc528 \uc815\ubcf4 \uce90\uc2f1: \ub3d9\uc77c\ud55c \uc694\uccad\uc5d0 \ub300\ud55c \uc751\ub2f5 \uc2dc\uac04\uc744 \uc904\uc774\uae30 \uc704\ud574 \uce90\uc2f1 \uba54\ucee4\ub2c8\uc998 \ucd94\uac00<\/li>\n<li>\uc0c9\uc0c1 \ubc0f \ub514\uc790\uc778 \uac1c\uc120: \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ub192\uc774\uae30 \uc704\ud574 UI \ub514\uc790\uc778\uc744 \ub2e4\ub4ec\uae30<\/li>\n<li>\ub2e4\uc591\ud55c \ub0a0\uc528 \uc815\ubcf4 \uc81c\uacf5: \uc628\ub3c4 \uc678\uc5d0\ub3c4 \uc2b5\ub3c4, \ubc14\ub78c\uc758 \uc18d\ub3c4 \ub4f1\uc758 \ucd94\uac00 \uc815\ubcf4 \ud45c\uc2dc<\/li>\n<\/ul>\n<h2>8. \ub9c8\ubb34\ub9ac<\/h2>\n<p>\uc774\ubc88 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 Flutter\uc640 OpenWeatherMap API\ub97c \ud65c\uc6a9\ud558\uc5ec \uc2e4\uc2dc\uac04 \ub0a0\uc528 \uc815\ubcf4\ub97c \uac00\uc838\uc624\ub294 \ubc29\ubc95\uc744 \uc0c1\uc138\ud558\uac8c \uc124\uba85\ud588\uc2b5\ub2c8\ub2e4. \uc2e4\uc2b5\uc744 \ud1b5\ud574 API \uc0ac\uc6a9\ubc95\uc744 \uc775\ud788\uace0 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \ucd94\uac00\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub418\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \uc55e\uc73c\ub85c\ub3c4 Flutter\ub97c \uc774\uc6a9\ud558\uc5ec \ub9ce\uc740 \ud601\uc2e0\uc801\uc778 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4!<\/p>\n<footer>\n<p>\u00a9 2023 \ud50c\ub7ec\ud130 \uac15\uc88c. \ubaa8\ub4e0 \uad8c\ub9ac \ubcf4\uc720.<\/p>\n<\/footer>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 OpenWeatherMap API\ub97c Flutter \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ud1b5\ud569\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. OpenWeatherMap\uc740 \uc2e4\uc2dc\uac04 \ub0a0\uc528 \ub370\uc774\ud130, \uae30\uc628, \uc2b5\ub3c4, \ubc14\ub78c \uc18d\ub3c4 \ub4f1 \uc5ec\ub7ec \uac00\uc9c0 \uc720\uc6a9\ud55c \ub0a0\uc528 \uc815\ubcf4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 API\ub294 \ubb34\ub8cc \ubc0f \uc720\ub8cc \ud50c\ub79c\uc744 \uc81c\uacf5\ud558\uba70, \uc624\ub298\uc740 \ubb34\ub8cc \ud50c\ub79c\uc744 \uae30\uc900\uc73c\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. OpenWeatherMap API \uac00\uc785 \ubc0f API \ud0a4 \uc5bb\uae30 \uccab \ubc88\uc9f8 \ub2e8\uacc4\ub294 OpenWeatherMap \uc6f9\uc0ac\uc774\ud2b8\uc5d0 \uac00\uc785\ud558\uc5ec API \ud0a4\ub97c \uc5bb\ub294 \uac83\uc785\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25564\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-25564","post","type-post","status-publish","format-standard","hentry","category-17"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/25564\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 OpenWeatherMap API\ub97c Flutter \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ud1b5\ud569\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. OpenWeatherMap\uc740 \uc2e4\uc2dc\uac04 \ub0a0\uc528 \ub370\uc774\ud130, \uae30\uc628, \uc2b5\ub3c4, \ubc14\ub78c \uc18d\ub3c4 \ub4f1 \uc5ec\ub7ec \uac00\uc9c0 \uc720\uc6a9\ud55c \ub0a0\uc528 \uc815\ubcf4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 API\ub294 \ubb34\ub8cc \ubc0f \uc720\ub8cc \ud50c\ub79c\uc744 \uc81c\uacf5\ud558\uba70, \uc624\ub298\uc740 \ubb34\ub8cc \ud50c\ub79c\uc744 \uae30\uc900\uc73c\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. OpenWeatherMap API \uac00\uc785 \ubc0f API \ud0a4 \uc5bb\uae30 \uccab \ubc88\uc9f8 \ub2e8\uacc4\ub294 OpenWeatherMap \uc6f9\uc0ac\uc774\ud2b8\uc5d0 \uac00\uc785\ud558\uc5ec API \ud0a4\ub97c \uc5bb\ub294 \uac83\uc785\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25564\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-26T13:50:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T08:01:21+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/25564\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25564\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30\",\"datePublished\":\"2024-10-26T13:50:56+00:00\",\"dateModified\":\"2024-11-26T08:01:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25564\/\"},\"wordCount\":43,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud50c\ub7ec\ud130 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/25564\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25564\/\",\"name\":\"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-26T13:50:56+00:00\",\"dateModified\":\"2024-11-26T08:01:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25564\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25564\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25564\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/25564\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 OpenWeatherMap API\ub97c Flutter \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ud1b5\ud569\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. OpenWeatherMap\uc740 \uc2e4\uc2dc\uac04 \ub0a0\uc528 \ub370\uc774\ud130, \uae30\uc628, \uc2b5\ub3c4, \ubc14\ub78c \uc18d\ub3c4 \ub4f1 \uc5ec\ub7ec \uac00\uc9c0 \uc720\uc6a9\ud55c \ub0a0\uc528 \uc815\ubcf4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 API\ub294 \ubb34\ub8cc \ubc0f \uc720\ub8cc \ud50c\ub79c\uc744 \uc81c\uacf5\ud558\uba70, \uc624\ub298\uc740 \ubb34\ub8cc \ud50c\ub79c\uc744 \uae30\uc900\uc73c\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. OpenWeatherMap API \uac00\uc785 \ubc0f API \ud0a4 \uc5bb\uae30 \uccab \ubc88\uc9f8 \ub2e8\uacc4\ub294 OpenWeatherMap \uc6f9\uc0ac\uc774\ud2b8\uc5d0 \uac00\uc785\ud558\uc5ec API \ud0a4\ub97c \uc5bb\ub294 \uac83\uc785\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/25564\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-26T13:50:56+00:00","article_modified_time":"2024-11-26T08:01:21+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/25564\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25564\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30","datePublished":"2024-10-26T13:50:56+00:00","dateModified":"2024-11-26T08:01:21+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25564\/"},"wordCount":43,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud50c\ub7ec\ud130 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/25564\/","url":"https:\/\/atmokpo.com\/w\/25564\/","name":"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-26T13:50:56+00:00","dateModified":"2024-11-26T08:01:21+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25564\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25564\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25564\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud50c\ub7ec\ud130 \uac15\uc88c, 15.2 OpenWeatherMap \uc0ac\uc6a9\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=25564"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25564\/revisions"}],"predecessor-version":[{"id":25565,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25564\/revisions\/25565"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}