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.
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.0.2.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for medium_crosspost-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9e6aabecd78622a72898f4fcc5c868fd2710a255880510d762dec872cdd643 |
|
MD5 | 396ee3d2f4360affed29ff780baa09a3 |
|
BLAKE2b-256 | 08295ef9379743049da81f3eb4615948edb98986cc7e62201983cbe16656a070 |