Skip to content

Benature/flomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flomo 浮墨

PyPI PyPI - Python Version GitHub stars

一个非官方的 API python 玩具盒 👀

prefer python3.7+
欢迎 Star 🌟、Fork 🍴、Issue 💬、PR. 一起让 flomo 用的更加得心应手

最新版在 dev 分支

Usage 使用

pip install -U flomo
from flomo import Flomo, Parser
authorization = "Bearer xxxxxxxxxxx"
flomo = Flomo(authorization)
memos = flomo.get_all_memos()

memo = Parser(memos[-1])
print(memo.text) # memo 纯文本
print(memo.url)  # memo 链接
print(memo.tags)

authorization 是用户 flomo 登录后获取的 token,可在浏览器的开发者工具中查看。

如有疑问,欢迎 issue。

Local Install 本地安装

git clone https://github.com/Benature/flomo.git
make all

Relative Project 相关项目