Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Making HTTP Requests With Python The requests library is the de facto standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a beautiful, simple API so that you can focus on interacting with servi
「HTTP for Humans」でおなじみの requests モジュールが 0.12.0 で OAuth に対応し、0.12.1 では HTTP レスポンスが JSON だった場合、オブジェクトへ自動変換できるようになりました。かなり手軽に Web サービスの API をたたけるようになりました。 そこで、試しに Zaim と連携してみたいと思います。 requests のインストール pip install requests または easy_install requests アプリケーションを登録 Zaim Developers にアクセスし、「アプリケーションを登録」してください。 Consumer Key や Consumer Secret が発行されるのでそれらをメモしておきます。 Access Token を発行する Python スクリプトから OAuth 認証を要求し、
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く