diff options
author | catindog/nardtree <gim.kobayashi@gmail.com> | 2017-08-14 17:04:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 17:04:30 +0900 |
commit | 3bb420d32a4ecb3590bde402aafe73848e4d20de (patch) | |
tree | f2b33b40c83543f18cda28a9c9c2e57eeded2b3f | |
parent | 6182952650e61f17c7cf0316dfcf274c2dab543a (diff) | |
download | kawaii-term-3bb420d32a4ecb3590bde402aafe73848e4d20de.tar.gz |
Update README.md
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -107,7 +107,8 @@ $ explosion target/* [openweathermap.org](https://openweathermap.org/)の無料プランを用いています サンプルに私のAPIキーがバンドルされていますが、無料で利用できるので、適切にご自身のAPIキーに書き換えてください(私がバンされてしまいます) kawaii-term/weather.pyを編集して、中のAPIキーを変えてください -また、お住いの都市にURLを書き換えるので、予想する都市部を便利な箇所に変えてご利用ください +また、お住いの都市にURLを書き換えて、予想する都市部を便利な箇所に変えてご利用ください + これを、 ```python raw = os.popen('curl -s "http://api.openweathermap.org/data/2.5/weather?q=Tokoy,jp&appid=1e240e732347c23472274dc188cd39d6"').read() |