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.8.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for medium_crosspost-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f075d718ddbe139ab77bc99da04bee6153bbc5c5303f39ba6c8595dfb5cd72 |
|
MD5 | 4313a72361c463144460d2511a2b12a4 |
|
BLAKE2b-256 | bed4a0f08b24d80a956424dc99c459aee27ea4af2e1a3ffbda568f3cb02c6531 |