def usage()

in python/topsites.py [0:0]


def usage( ):
    sys.stderr.write ( """
Usage: topsites.py [options]

  Make a signed request to Alexa Top Sites API service

  Options:
     -a, --action            Service Action
     -k, --key               API Key
     -c, --country           2-letter Country Code (ie. US, CN, BR)
     -o, --options           Service Options
     -?, --help       Print this help message and exit.

  Examples:
     TopSites by country: topsites.py -k 98hu7.... --action TopSites --country=US --options "&Count=100&Output=json"
""" )