Created
September 4, 2015 13:53
-
-
Save rupertbates/36a2b373889255c588c9 to your computer and use it in GitHub Desktop.
Use jq to return only football matches scheduled for Feb 2016
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s "http://football.mobile-apps.guardianapis.com/football/competitions/100/matches" | jq '.[]|select(.kickOff|strptime("%Y-%m-%dT%H:%M:%SZ")|.[0] == 2016 and .[1] == 1)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment