Flomo API (third party)
Project description
flomo 浮墨
一个非官方的 API python 玩具盒 👀
prefer python3.7+
欢迎 Star 🌟、Fork 🍴、Issue 💬、PR. 一起让 flomo 用的更加得心应手
最新版在 dev 分支
Usage 使用
pip install -U flomo
Python 封装
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)
或参考 main_simple.py (by MarkShawn2020)
authorization 是用户 flomo 登录后获取的 token,可在浏览器的开发者工具中查看。
CLI 命令行
# 配置token
flomo config --token 'your_token'
# 列出前5条备忘录,表格格式
flomo list -l 5 -f table
# 搜索包含关键词的备忘录
flomo search "知识管理" -f markdown
credit to MarkShawn2020
Local Install 本地安装
git clone https://github.com/Benature/flomo.git
make all
Relative Project 相关项目
- workflow: Benature/flomo workflow
- npm: geekdada/flomo api helper
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flomo-1.0.0a0.tar.gz.
File metadata
- Download URL: flomo-1.0.0a0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
552d8c866ef1125dc876ae3d333c2946e9a792b8356c6ba9d250f51ff61b5094
|
|
| MD5 |
588223f5052470fdaeb54e12f66f1843
|
|
| BLAKE2b-256 |
bda80bea07a232f15d18120c4e189ef42f553be184ff3ab728fd0fc06d0bbedc
|
Provenance
The following attestation bundles were made for flomo-1.0.0a0.tar.gz:
Publisher:
ci-cd.yml on Benature/flomo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flomo-1.0.0a0.tar.gz -
Subject digest:
552d8c866ef1125dc876ae3d333c2946e9a792b8356c6ba9d250f51ff61b5094 - Sigstore transparency entry: 271879724
- Sigstore integration time:
-
Permalink:
Benature/flomo@e88a70e97b342670f9beeefa3893823abdb5346a -
Branch / Tag:
refs/tags/v1.0.0-alpha - Owner: https://github.com/Benature
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@e88a70e97b342670f9beeefa3893823abdb5346a -
Trigger Event:
push
-
Statement type:
File details
Details for the file flomo-1.0.0a0-py3-none-any.whl.
File metadata
- Download URL: flomo-1.0.0a0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2166a21c1a8f3508fd60a607726c831f8e6b8877d23c84465cb19ad0671cbe35
|
|
| MD5 |
436c0a184d6dbdee224a0f039e91f3ed
|
|
| BLAKE2b-256 |
6f9d57cdda27c0fb283e006abfe7507ff127922d596785f49fd4f57bc6616594
|
Provenance
The following attestation bundles were made for flomo-1.0.0a0-py3-none-any.whl:
Publisher:
ci-cd.yml on Benature/flomo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flomo-1.0.0a0-py3-none-any.whl -
Subject digest:
2166a21c1a8f3508fd60a607726c831f8e6b8877d23c84465cb19ad0671cbe35 - Sigstore transparency entry: 271879727
- Sigstore integration time:
-
Permalink:
Benature/flomo@e88a70e97b342670f9beeefa3893823abdb5346a -
Branch / Tag:
refs/tags/v1.0.0-alpha - Owner: https://github.com/Benature
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@e88a70e97b342670f9beeefa3893823abdb5346a -
Trigger Event:
push
-
Statement type: