Skip to main content

Tistory blogging library using open API

Project description

Tispoon

Version License Platform Code style: black

티스토리 오픈 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,import} ...

positional arguments:
  {info,post,category,comment,import}
    info                자신의 블로그 정보를 가져오는 API
                        입니다.
    post                블로그 글을 관리하는 API 입니다.
    category            블로그 카테고리를 정보를 가져오는 API
                        입니다.
    comment             블로그 댓글을 관리하는 API 입니다.
    import              게시된 게시글을 불러오는
                        명령어입니다.

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         로그의 정보량을 설정합니다. `v`의
                        갯수에 따라 정보량이 달라집니다.
  --version, -V         버전 정보를 출력하고 종료합니다.
                        `xvezda.tistory.com` 의 경우 `xvezda`

블로그 정보

tispoon info

게시글 작성

# 마크다운 파일로 블로그 포스팅하기
cat <<EOD > test.md
---
title: 테스트
visibility: 3
slogan: /안녕하세요
---

테스트 게시글 입니다. :)
EOD

tispoon post test.md

게시글 마크다운 파일로 불러오기

tispoon import

Copyright

MIT License

Reference

Tispoon은 티스토리와 관련이 없는 서드파티 라이브러리 입니다.

티스토리와 티스토리 Open API는 Kakao Corp. 의 상표 또는 등록상표 입니다.

Project details


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.9.tar.gz (14.5 kB view details)

Uploaded Source

Built Distributions

tispoon-1.0.9-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

tispoon-1.0.9-py2-none-any.whl (16.1 kB view details)

Uploaded Python 2

File details

Details for the file tispoon-1.0.9.tar.gz.

File metadata

  • Download URL: tispoon-1.0.9.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for tispoon-1.0.9.tar.gz
Algorithm Hash digest
SHA256 f0f4e6d321130e38bb176cd7e780b13137b71a78cca253722c3df7a4ba0658bb
MD5 46ebf92c7a4cf25abad02b1f7e048902
BLAKE2b-256 87f2db9beebb10a1507e0ae522528a3893db3af51d54e5d7fb53ae208ff050b9

See more details on using hashes here.

File details

Details for the file tispoon-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: tispoon-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for tispoon-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0bead452e4d01684a4819686911b28e652f6dbf4fbc8b6d84e9f8f16888674f4
MD5 9d2b782a8301e9a52783de2c42939837
BLAKE2b-256 b92246ffe4ec0b214a40216a5a1aba29c949a11e4529382bc634abf9379253c8

See more details on using hashes here.

File details

Details for the file tispoon-1.0.9-py2-none-any.whl.

File metadata

  • Download URL: tispoon-1.0.9-py2-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for tispoon-1.0.9-py2-none-any.whl
Algorithm Hash digest
SHA256 0587fafb5d4b2d83f5a336cb45436e1cebbae214fec3707912d5fa0baf5b16db
MD5 0fa9dbbf3da16bcf429bd7165b7bb333
BLAKE2b-256 4be7d71c4098fa072945ae0e4be5b8fd36631b9594aaf1f3321c3ce97165ff45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page