Creating a gist from the command-line

GitHub's Gist API doesn’t yet have an API call for creating a new gist. So to write a command-line utility to create gists, I had to do a little old-fashioned screen scraping with Python and mechanize.

2 thoughts on “Creating a gist from the command-line

  1. Pingback: gisty « Marc Abramowitz

  2. I tried the program but it would now work because of GitHub’s bot policy.
    Here is the error that i got: mechanize._response.httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt

Leave a Reply

Your email address will not be published. Required fields are marked *