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”
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
Pingback: gisty « Marc Abramowitz
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