Skip to content

Instantly share code, notes, and snippets.

View joefozmans's full-sized avatar

Joe Foster joefozmans

View GitHub Profile

Keybase proof

I hereby claim:

  • I am joefozmans on github.
  • I am joefozmans (https://keybase.io/joefozmans) on keybase.
  • I have a public key whose fingerprint is E23B FBBA 6535 E31A F3B4 02AA 6A27 0D56 F97B 5B31

To claim this, I am signing this object:

@joefozmans
joefozmans / post_to_ghost.py
Created February 12, 2015 23:40
post and authenticate to ghost
# Posts to Ghost via its API, given a piece of Markdown
# Markdown attachments are not yet supported
# (i.e: images must be linked to, not added inline)
# Import dependencies
import urllib2
import json
# Global constants