Tistory API Wrapper
Overview
Tistory API Wrapper
Install
$ pip install tech-ninja-tistory-api
Usage
from tech_ninja_tistory_api import TistoryAPI
blog_name = 'yscho03'
tistory_api = TistoryAPI(blog_name)
tistory_client_id = 'xxxxxxxxxx'
tistory_redirect_uri = 'http://localhost/tistory/auth/callback'
oauth_url = tistory_api.authorize(tistory_client_id, tistory_redirect_uri)
print('>>> Generated Oauth URL')
print(oauth_url)
"""
https://www.tistory.com/oauth/authorize?client_id=xxxxxxxxxx&redirect_uri=http://localhost/tistory/auth/callback&response_type=code&state=
"""
# access_token
tistory.access_token = '<YOUR_ACCESS_TOKEN>'
Metadata
Release files for tech-ninja-tistory-api 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tech-ninja-tistory-api-1.0.4.tar.gz | 3.0 kB | Details |
Release files / tech-ninja-tistory-api-1.0.4.tar.gz
| Download URL | tech-ninja-tistory-api-1.0.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b15436843591fef4f4bf5a1e3ee3a25e34e335286e2b6a3a992d90c1efe8478b
|
|
BLAKE2b-256 checksum How to use checksums |
fa2d02952741e36275ee9f57789433dd05ce3d06db21a872cd81b93c0df2b60c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
|