戻り値
スター数に関するデータを格納したpd.DataFrame。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
クラウドソースされたスター数・関心カウントを取得する
client.star_counts() -> pd.DataFrame
pd.DataFrame。
from jmail import JmailClient
client = JmailClient()
stars = client.star_counts()
# エンティティタイプ別のスター
print(stars.groupby("entity_type")["count"].sum().sort_values(ascending=False))
# スターが最も多いメール
email_stars = stars[stars.entity_type == "email_message"]
top = email_stars.sort_values("count", ascending=False).head(20)
| Column | Type | Description |
|---|---|---|
entity_type | string | エンティティ種別(email_message、email_thread、photo、document、imessage) |
entity_id | int | エンティティ ID(対応するテーブルの外部キー) |
count | int | スター数 |
https://data.jmail.world/v1/star_counts.parquet
https://data.jmail.world/v1/star_counts.ndjson.gz
