## <font color="#FFD700"><i class="fa fa-trophy" aria-hidden="true"></i></font> ### 2022 iThome鐵人賽 ### 小題大作的 30 個 HackMD技巧 <font color="#FFD700">#26</font> # HackMD API ## 來用 Python 串接吧 ---- ## [HackMD API](https://hackmd.io/@docs/HackMD_API_Book) ---- ## 注意!! ## HackMD API ## ~~目前為付費功能~~ (更正影片說法,目前免費可用) ---- ### [HackMD User API](https://hackmd.io/@hackmd-api/user-api) ``` { "id": "00c437e8-9d79-4200-997f-8e9384415a76", "name": "James", "email": null, "userPath": "AMQ36J15QgCZf46ThEFadg", "photo": "https://avatars.githubusercontent.com/u/26138990?s=96", "teams": [ { "id": "e9ed1dcd-830f-435c-9fe2-d53d5f191666", "ownerId": "00c437e8-9d79-4200-997f-8e9384415a76", "path": "CAT", "name": "API client testing team", "logo": "data:image/svg+xml;base64,...", "description": "This is for testing client API", "visibility": "public", "createdAt": 1644371278721 } ] } ``` ---- ### [User Notes API](https://hackmd.io/@hackmd-api/user-notes-api) ``` [ { "id": "ehgwc6a8RXSmcSaRwIQ2jw", "title": "Personal note title", "tags": ["personal", "test"], "createdAt": 1643270371245, "publishType": "view", "publishedAt": null, "permalink": null, "shortId": "SysJb0yAY", "lastChangedAt": 1643270452413, "lastChangeUser": { "name": "James", "photo": "https://avatars.githubusercontent.com/u/26138990?s=96", "biography": null, "userPath": "AMQ36J15QgCZf46ThEFadg" }, "userPath": "AMQ36J15QgCZf46ThEFadg", "teamPath": null, "readPermission": "guest", "writePermission": "signed_in", "publishLink": "https://hackmd.io/@username/permalink" } ] ``` ---- ### [Teams API](https://hackmd.io/@hackmd-api/teams-api) ### [Team Notes API](https://hackmd.io/@hackmd-api/team-notes-api) (略) ---- ## [Try on Postman](https://documenter.getpostman.com/view/68277/UVeNmhpT) ---- ## [PyHackMD](https://github.com/GoatWang/PyHackMD) ---- {%gist eefb5ebe70b4e2c24ba6a6780e49fd62 %} ---- <h2 class="r-fit-text">THANK YOU</h2>
{"metaMigratedAt":"2023-06-17T11:05:48.777Z","metaMigratedFrom":"Content","title":"HackMD API","breaks":false,"contributors":"[{\"id\":\"16a0caa2-a39b-4d8d-b3f1-bac2f0b61a6d\",\"add\":2206,\"del\":0}]"}
    451 views