Outschool
通貨、タイムゾーン、言語の設定を開く
ログイン

Python プログラミング | 上級 | 天気 API による接続データ

このクラスでは、天気 API に接続し、場所を指定して、リアルタイムの天気データをダウンロードする Python プログラムを作成します。
Sidney - KidsSpeakCode
平均評価:
4.8
レビュー数:
(1,187)
クラス

含まれるもの

1 ライブミーティング
1 授業時間
宿題:
週1時間. Students will receive a copy of the code following the class and are encouraged to work with, and expand what it can do. This is a first step into the world of connected data, but there are practically endless API sources to explore.
この文章は自動翻訳されています

このクラスで学べること

In this course, we will continue on in python and write a program that connects to the Open Weather API. This is a great first step into the world of expanding python beyond your computer and connecting to the practically endless sources of API data. We will talk about different connected data applications, and how to take the JSON data the API endpoint returns and transform it into something we can use in our program. Connected applications are how most apps and programs work, taking data from one source, transforming it, and making it do something (in our case, displaying the weather). The end goal is a program that asks the user where they are, and we send that information to the API, and retrieve the temperature in Kelvin. We will then take that variable and convert it to Celsius and Fahrenheit and display it back to the user. Students will learn about passing strings, and working with data that is returned from the server in their python programs. The exciting thing about this program is that by working with live data, it can be customized to show results from any location in the API, and teaches students how to work with live server-based data in their programs. 

In the class, we will code the program collaboratively, and build the user interface. Students will be provided with the code we work on following the class for them to continue working on and expanding. We will write, test, and build the code in an iterative fashion, focusing on each element before we move forward. Students should have previously had exposure to python and understand how lists and dictionaries in python work.
学習到達目標
In this class, we will be talking about variables, strings, lists, dictionaries, APIs, JSON, and a number of other topics. Students will learn how to explore data from an API, and customize the requests sent to the endpoint. We will also explore how to use the data once it is locally saved.
学習目標

その他の情報

外部リソース
このクラスでは、Outschool内のクラスルームに加えて、以下を使用します。
参加しました October, 2020
4.8
1187レビュー
プロフィール
教師の専門知識と資格
I love teaching programming using fun and interesting examples because it helps students go farther than learning hard to contextualize concepts. Understanding what we are doing and why means that students will be able to apply algebraic concepts (like x+y) having understood examples like (red bike + blue bike) in a way that has context and meaning. 

レビュー

ライブワンタイムクラス
共有

$18

クラス毎
一度のみの受講
60 分

1 人がクラスを受けました
オンラインライブ授業
年齢: 13-18
クラス人数: 1 人-10 人

About
サポート
安全性についてプライバシーCAでのプライバシー保護学習者のプライバシーデータ設定の管理利用規約
アプリを入手
App StoreでダウンロードGoogle Playで入手する
© 2024 Outschool