Easily crosspost articles to Medium
Project description
medium-crosspost
A Python script to crosspost articles to Medium.
Accompanies this blog post, which goes into depth on crossposting between Ghost and Medium.
Installation:
pip install medium-crosspost
Basic Usage:
from medium_crosspost import MediumCrosspost
input_data = {
"title": "Fantastic Article Name!",
"canonicalUrl": "https://www.example.com/fantastic-article-name",
"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 = crosspost.post()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
medium-crosspost-0.1.9.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for medium_crosspost-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45df166798eedc5ea646d09b63b7404aaac735f83850fa11444f385d998821f3 |
|
MD5 | 90821d296fdfc503052ab5b15f917689 |
|
BLAKE2b-256 | b576ba679747e37c4e41a94383d5979fb142b374372809b5b5838b1b559dfb4a |