티스토리 뷰
def Test_Tistory01(): # 2021.08.08
titleString = "Test023-210808"
contentString1 = 'test023-content'
filePathname = "./20210604_133628.png"
#filePathname = "./CodeList_Street11.xlsx" # Only IMAGE
param1 = {
'title': titleString,
'content': contentString1,
'output': "json",
'FilePathname': filePathname
}
ti1 = cTistoryAPI()
responseText = ti1.UploadFile(param1)
resJson = json.loads(responseText)
resStatus = resJson['tistory']['status']
resURL = resJson['tistory']['url']
resReplacer = resJson['tistory']['replacer']
param1['content'] = resReplacer
ti1.UploadArticle(param1)
수동으로하면 아래와 같다.
<"HTML" 선택>

<HTML 편집 화면>

<'Replacer' 입력>

<게시된 글>

반응형
'SWDesk > Web' 카테고리의 다른 글
| [PHP] Data Table from DB (0) | 2023.02.21 |
|---|---|
| [BDIY] Update DataTable (0) | 2021.10.04 |
| [PHP] Send Email with Attachment (0) | 2021.07.18 |
| [PHP] 데이터를 표로 정리하기 위한 Style (0) | 2021.06.21 |
| PHP Mail Example (0) | 2021.06.15 |
반응형
250x250
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- image
- Hurdles
- DYOV
- 전압
- Innovation&Hurdles
- 전류
- 치매
- 아두이노
- 둎
- 허들
- 배프
- Video
- ServantClock
- 오블완
- arduino
- Decorator
- bilient
- 혁신과허들
- Innovations
- 치매방지
- 혁신
- 심심풀이
- 티스토리챌린지
- BSC
- Innovations&Hurdles
- 절연형
- 심심풀이치매방지기
- 빌리칠드
- BiliChild
- 빌리언트
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함

