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.7.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for medium_crosspost-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3d93e913d70135d2efffaf229cffcb26848c604e3e247e6a5819b0cb8a4e69 |
|
MD5 | 34ed26ba5c2adfc74d3f005358d39d0a |
|
BLAKE2b-256 | 3b9bcfab2fc633d5c5ca9c8cb2e0fcdc7fc9a0e855608c1ad69af51de3157ff0 |