Tistory blogging library using open API
Project description
Tispoon
티스토리 오픈 API를 활용한 파이썬 라이브러리 입니다.
Installation
pip install tispoon
Usage
usage: tispoon [-h] [--token TOKEN] [--client-id CLIENT_ID]
[--client-secret CLIENT_SECRET] [--blog BLOG] [--verbose]
[--version]
{info,post,category,comment} ...
positional arguments:
{info,post,category,comment}
info 자신의 블로그 정보를 가져오는 API
입니다.
optional arguments:
-h, --help show this help message and exit
--token TOKEN, -t TOKEN
인증 토큰을 설정합니다.
--client-id CLIENT_ID, -u CLIENT_ID
Open API의 client id값을 설정합니다.
--client-secret CLIENT_SECRET, -p CLIENT_SECRET
Open API의 client secret값을 설정합니다.
--blog BLOG, -b BLOG 블로그 이름을 설정합니다. 예)
`xvezda.tistory.com` 의 경우 `xvezda`
--verbose, -v
--version, -V show program's version number and exit
블로그 정보
tispoon info
게시글 작성
# 마크다운 파일로 블로그 포스팅하기
cat << EOD > test.md
---
title: 테스트
visibility: 3
slogan: /안녕하세요
---
테스트 게시글 입니다. :)
EOD
tispoon post test.md
Copyright
Reference
Tispoon은 티스토리와 관련이 없는 서드파티 라이브러리 입니다.
티스토리와 티스토리 Open API는 Kakao Corp. 의 상표 또는 등록상표 입니다.
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
tispoon-1.0.6.tar.gz
(12.5 kB
view hashes)
Built Distributions
tispoon-1.0.6-py3-none-any.whl
(18.2 kB
view hashes)
tispoon-1.0.6-py2-none-any.whl
(18.2 kB
view hashes)