Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
Weather.py

README.md

Day two is still simple. Once I know how long my train will take I should find out the weather, right? I use weather underground to do this.

While I'm programming the API's I will go through simple programming techniques needed to work with these systems, today I cover:

  • Nested JSON calls
  • Passing arguments from the command line when starting a python program
  • Concatonating strings, this is handy for placing the arguments passed in (from a program or another function) into a string for the API call.

The writeup is at http://thebedlab.com/2015/12/02/weather-underground/

You can’t perform that action at this time.