Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Easily crosspost articles to Medium

Project description


DUB Dependabot Status Build Status Test Coverage Maintainability

A Python script to crosspost articles to Medium.

Accompanies this blog post, which goes into depth on crossposting between Ghost and Medium.


pip install medium-crosspost

Basic Usage:

from medium_crosspost import MediumCrosspost

input_data = {
    "title": "Fantastic Article Name!",
    "canonicalUrl": "",
    "integrationToken": "super-secret-medium-integration-token",
    "content": "<html><head></head><body>Content is all about actual HTML-encoded article content.</body></html>",
    "tags": "can,be,a,list,or,comma,separated,string",

crosspost = MediumCrosspost(input_data)
result =

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for medium-crosspost, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size medium_crosspost-0.1.9-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size medium-crosspost-0.1.9.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page