Publish Articles on Blogger in Just one Second

Setting up

easyblogger --blogid <yourblogid> get

Usage

$ easyblogger --help
usage: easyblogger [-h] [-i CLIENTID] [-s SECRET]
[-v {INFO,DEBUG,WARNING,ERROR,CRITICAL}]
[--blogid BLOGID | --url URL]
{get,post,delete,update,file} ...
Easily manage posts on Blogger blogspositional arguments:
{get,post,delete,update,file}
sub-command help
get list posts
post create a new post
delete delete a post
update update a post
file Figure out what to do from the input file
optional arguments:
-h, --help show this help message and exit
-i CLIENTID, --clientid CLIENTID
Your API Client id
-s SECRET, --secret SECRET
Your API Client secret
-v {INFO,DEBUG,WARNING,ERROR,CRITICAL}, --verbose {INFO,DEBUG,WARNING,ERROR,CRITICAL}
verbosity(log level) - default CRITICAL
--blogid BLOGID Your blog id
--url URL Your blog url

Fetch posts

easyblogger --blogid <blogid> get
easyblogger --blogid <blogid> get --labels programming --count 5
437344021642199000,Datasets in Apache Spark | Part 1,http://www.freblogg.com/2017/12/apache-spark-datasets-1.html
226912361219823323,Tweeting with Python and Tweepy,http://www.freblogg.com/2017/12/tweeting-with-python-and-tweepy.html
345235372397413038,How to recover from 'git reset --hard" | Git,http://www.freblogg.com/2017/09/how-to-recover-from-git-reset-hard-git.html
63494528537546270,Functions in C Programming | Part 1,http://www.freblogg.com/2017/08/functions-in-c-programming-part-1.html
304802860468725657,Understanding Git Octopus Merge,http://www.freblogg.com/2016/12/git-octopus-merge.html
easyblogger.exe --blogid <blogid> get -p 437344021642199000 -d markdown

Publish posts

usage: easyblogger post [-h] [-t TITLE] [-l LABELS] [--publish]
(-c CONTENT | -f FILE)
[--filters FILTERS [FILTERS ...]]
[--format {commonmark,creole,docbook,docx,epub,gfm,haddock,html,json,latex,markdown,markdown_github,markdown_mmd,markdown_phpextra,markdown_strict,mediawiki,muse,native,odt,opml,org,rst,t2t,textile,tikiwiki,twiki,vimwiki}]
optional arguments:
-h, --help show this help message and exit
-t TITLE, --title TITLE
Post title
-l LABELS, --labels LABELS
comma separated list of labels
--publish Publish to the blog [default: false]
-c CONTENT, --content CONTENT
Post content
-f FILE, --file FILE Post content - input file
--filters FILTERS [FILTERS ...]
pandoc filters
easyblogger.exe --blogid <blogid> post -t "Posted from CL using EasyBlogger" -l "blogging, easyblogger" --publish -f test.html

Updating a Post

easyblogger update -t 'A new title' -l "new,labels" 3295765957555899963

Deleting a Post

easyblogger delete 234546720561632959

--

--

--

Does a lot of coding

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Upgrade To Windows 11 Or Kick The Can

Django migrations, how to solve a nightmare!

SSH connection in cPanel

5 reasons why you should learn to code. (Yes, you.)

Technical Interviews Part II: Divide and Conquer your Binary Search Anxiety

Install Jenkins on Amazon Linux EC2 Instance using Terraform

READ/DOWNLOAD@> Chemistry: Structure and Propertie

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Swaroop

Swaroop

Does a lot of coding

More from Medium

GitHub Student Pack Is Your Ultimate Goal To Get Started

Let’s Make a Small Trivia Game, It Will Be Easy, Right?

Collaborate with Peers on GitHub

How to build a weather app using vanilla javascript