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
#!/usr/bin/env python3 | |
# usage: json2csv url | |
# requirements: requests, flatten_json | |
# ie use pip or pip2 and install them: | |
# sudo pip (or sudo pip2) install requests flatten_json | |
import sys |