You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: justoneapi/generated/resources/amazon.py
+8-34Lines changed: 8 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,9 @@ def get_product_detail_v1(
16
16
country: str|None="US",
17
17
) ->ApiResponse[Any]:
18
18
"""
19
-
Product Details (V1)
19
+
Product Details
20
20
21
-
Retrieves detailed product information from Amazon based on the provided ASIN.
22
-
It returns core product data such as title, brand, price, availability, rating,
23
-
review count, product images, category information, and other publicly available details.
24
-
25
-
Typical use cases:
26
-
- Building product catalogs and enriching item content (e.g., images)
27
-
- Price monitoring and availability tracking
28
-
- E-commerce analytics and competitor tracking
21
+
Get Amazon product Details data, including title, brand, and price, for building product catalogs and enriching item content (e.g., images), price monitoring and availability tracking, and e-commerce analytics and competitor tracking.
29
22
30
23
Args:
31
24
asin: ASIN (Amazon Standard Identification Number).
Retrieves top (most relevant or most helpful) public reviews for an Amazon product based on the provided ASIN.
52
-
It returns review details such as review ID, reviewer name, rating score,
53
-
review title, review content, publish time, and helpful vote count (if available).
42
+
Product Top Reviews
54
43
55
-
Typical use cases:
56
-
- Sentiment analysis and consumer feedback tracking
57
-
- Product research and quality assessment
58
-
- Monitoring competitor customer experience
44
+
Get Amazon product Top Reviews data, including most helpful) public reviews, for sentiment analysis and consumer feedback tracking, product research and quality assessment, and monitoring competitor customer experience.
59
45
60
46
Args:
61
47
asin: ASIN (Amazon Standard Identification Number).
@@ -77,15 +63,9 @@ def get_best_sellers_v1(
77
63
page: int|None=1,
78
64
) ->ApiResponse[Any]:
79
65
"""
80
-
Best Sellers (V1)
66
+
Best Sellers
81
67
82
-
Retrieves top performing products for a given category on Amazon.
83
-
Supports top level best sellers categories (e.g. software). In addition, subcategories / category path can be specified.
84
-
85
-
Typical use cases:
86
-
- Identifying trending products in specific categories
87
-
- Market share analysis and category research
88
-
- Tracking sales rank and popularity over time
68
+
Get Amazon best Sellers data, including rank positions, product metadata, and pricing, for identifying trending products in specific categories, market share analysis and category research, and tracking sales rank and popularity over time.
89
69
90
70
Args:
91
71
category: Best sellers category to return products for (e.g. 'software' or 'software/229535').
Retrieves products under a specified Amazon category.
116
-
Supports category-based product discovery and returns product information such as title, price, rating, review count, and other available marketplace fields.
93
+
Products By Category
117
94
118
-
Typical use cases:
119
-
- Discovering products within a specific category
120
-
- Category research and competitor analysis
121
-
- Monitoring product assortment, pricing, and popularity trends
95
+
Get Amazon products By Category data, including title, price, and rating, for category-based product discovery and returns product information such as title, price, and rating.
122
96
123
97
Args:
124
98
category_id: For example: https://amazon.com/s?node=172282 - the Amazon Category ID is 172282
- Detailed price comparison between specific listings.
21
+
Get Beike resale Housing Details data, including - Pricing (total and unit price), Physical attributes (area, and layout, for displaying a full property profile to users and detailed price comparison between specific listings.
32
22
33
23
Args:
34
24
city_id: The ID of the city (e.g., '110000' for Beijing).
@@ -50,18 +40,9 @@ def get_ershoufang_list_v1(
50
40
offset: int|None=0,
51
41
) ->ApiResponse[Any]:
52
42
"""
53
-
Resale Housing List (V1)
54
-
55
-
Fetches a list of second-hand property listings from Beike (Lianjia) based on specified filters.
43
+
Resale Housing List
56
44
57
-
Key features:
58
-
- Supports filtering by city/region, price range, layout, and area.
59
-
- Returns core listing details such as title, total price, unit price, and community info.
60
-
- Provides house codes for fetching full details via the detail API.
61
-
62
-
Typical use cases:
63
-
- Building search result pages for property portals.
64
-
- Aggregating market data for regional housing trends.
45
+
Get Beike resale Housing List data, including - Supports filtering by city/region, price range, and layout, for building search result pages for property portals and aggregating market data for regional housing trends.
65
46
66
47
Args:
67
48
city_id: The ID of the city (e.g., '110000' for Beijing).
@@ -85,20 +66,9 @@ def community_list_v1(
85
66
limit_offset: int|None=0,
86
67
) ->ApiResponse[Any]:
87
68
"""
88
-
Community List (V1)
89
-
90
-
Retrieves a list of residential communities (Xiaoqu) from Beike (Lianjia) within a specified city.
91
-
92
-
The data includes:
93
-
- Community name and unique ID.
94
-
- Average listing price and historical price trends.
95
-
- Build year and architectural details.
96
-
- Geographical coordinates and location information.
69
+
Community List
97
70
98
-
Typical use cases:
99
-
- Identifying popular residential areas in a city.
100
-
- Comparing average housing prices across different communities.
101
-
- Spatial analysis of property development patterns.
71
+
Get Beike community List data, including - Community name and unique ID and Average listing price and historical price trends, for identifying popular residential areas in a city and comparing average housing prices across different communities.
102
72
103
73
Args:
104
74
city_id: The ID of the city (e.g., '110000' for Beijing).
Copy file name to clipboardExpand all lines: justoneapi/generated/resources/bilibili.py
+18-57Lines changed: 18 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,9 @@ def get_video_detail_v2(
15
15
bvid: str,
16
16
) ->ApiResponse[Any]:
17
17
"""
18
-
Video Details (V2)
18
+
Video Details
19
19
20
-
Retrieve comprehensive details about a specific Bilibili video, including metadata (title, tags, publishing time), statistics (views, likes, danmaku count), and uploader profile information.
21
-
22
-
Typical use cases:
23
-
- Tracking video performance and engagement metrics.
24
-
- Analyzing content metadata and uploader information.
20
+
Get Bilibili video Details data, including metadata (title, tags, and publishing time), for tracking video performance and engagement metrics and analyzing content metadata and uploader information.
25
21
26
22
Args:
27
23
bvid: Bilibili Video ID (BVID).
@@ -40,13 +36,9 @@ def get_user_video_list_v2(
40
36
param: str|None=None,
41
37
) ->ApiResponse[Any]:
42
38
"""
43
-
User Published Videos (V2)
44
-
45
-
Retrieve a list of videos published by a specific Bilibili user, including video metadata, cover images, and engagement metrics.
39
+
User Published Videos
46
40
47
-
Typical use cases:
48
-
- Monitoring creator's content updates and publishing patterns.
49
-
- Building user-specific video catalogs for analysis.
41
+
Get Bilibili user Published Videos data, including titles, covers, and publish times, for creator monitoring and content performance analysis.
50
42
51
43
Args:
52
44
uid: Bilibili User ID (UID).
@@ -66,13 +58,9 @@ def get_user_detail_v2(
66
58
uid: str,
67
59
) ->ApiResponse[Any]:
68
60
"""
69
-
User Profile (V2)
70
-
71
-
Retrieve detailed profile information of a specific Bilibili user, including username, avatar, level, and verification status.
61
+
User Profile
72
62
73
-
Typical use cases:
74
-
- Analyzing creator's profile, level, and verification status.
75
-
- Verifying user identity and social presence on Bilibili.
63
+
Get Bilibili user Profile data, including account metadata, audience metrics, and verification-related fields, for analyzing creator's profile, level, and verification status and verifying user identity and social presence on bilibili.
76
64
77
65
Args:
78
66
uid: Bilibili User ID (UID).
@@ -92,13 +80,9 @@ def get_video_danmu_v2(
92
80
page: str|None=None,
93
81
) ->ApiResponse[Any]:
94
82
"""
95
-
Video Danmaku (V2)
83
+
Video Danmaku
96
84
97
-
Retrieve danmaku (rolling comments) for a specific Bilibili video.
98
-
99
-
Typical use cases:
100
-
- Analyzing real-time viewer reactions and community trends.
101
-
- Sentiment analysis based on rolling comments.
85
+
Get Bilibili video Danmaku data, including timeline positions and comment text, for audience reaction analysis and subtitle-style comment review.
102
86
103
87
Args:
104
88
aid: Bilibili Archive ID (AID).
@@ -121,13 +105,9 @@ def get_video_comment_v2(
121
105
cursor: str|None=None,
122
106
) ->ApiResponse[Any]:
123
107
"""
124
-
Video Comments (V2)
125
-
126
-
Retrieve top-level comments for a specific Bilibili video, including commenter info, text, likes, and timestamps.
108
+
Video Comments
127
109
128
-
Typical use cases:
129
-
- Gathering detailed viewer feedback and community discussions.
130
-
- Sentiment analysis and public opinion monitoring.
110
+
Get Bilibili video Comments data, including commenter profiles, text, and likes, for sentiment analysis and comment moderation workflows.
131
111
132
112
Args:
133
113
aid: Bilibili Archive ID (AID).
@@ -149,13 +129,9 @@ def search_video_v2(
149
129
order: str|None="general",
150
130
) ->ApiResponse[Any]:
151
131
"""
152
-
Video Search (V2)
132
+
Video Search
153
133
154
-
Search for Bilibili videos based on keywords, returning matched videos with metadata, author information, and engagement stats.
155
-
156
-
Typical use cases:
157
-
- Discovering trending videos or creators by specific keywords.
158
-
- Competitive analysis and market research on Bilibili.
134
+
Get Bilibili video Search data, including matched videos, creators, and engagement metrics, for topic research and content discovery.
159
135
160
136
Args:
161
137
keyword: Search keyword.
@@ -177,16 +153,9 @@ def share_url_transfer_v1(
177
153
share_url: str,
178
154
) ->ApiResponse[Any]:
179
155
"""
180
-
Share Link Resolution (V1)
181
-
182
-
Resolve Bilibili share URLs (e.g., https://b23.tv/...) to get the original content metadata.
183
-
184
-
Typical use cases:
185
-
- Converting shortened mobile share links to standard BVID/metadata.
186
-
- Automating content extraction from shared social media links.
156
+
Share Link Resolution
187
157
188
-
Highlights
189
-
- Only supports share URLs starting with 'https://b23.tv/'.
158
+
Get Bilibili share Link Resolution data, including resolved video and page identifier, for converting shortened mobile share links to standard bvid/metadata and automating content extraction from shared social media links.
190
159
191
160
Args:
192
161
share_url: Bilibili share URL (must start with https://b23.tv/).
@@ -204,13 +173,9 @@ def get_user_relation_stat(
204
173
wmid: str,
205
174
) ->ApiResponse[Any]:
206
175
"""
207
-
User Relation Stats (V1)
176
+
User Relation Stats
208
177
209
-
Retrieve follower count and following count for a specific Bilibili user.
210
-
211
-
Typical use cases:
212
-
- Tracking creator's follower growth and audience reach.
213
-
- Analyzing social influence and account popularity.
178
+
Get Bilibili user Relation Stats data, including following counts, for creator benchmarking and audience growth tracking.
214
179
215
180
Args:
216
181
wmid: Bilibili User ID (WMID).
@@ -230,13 +195,9 @@ def get_video_caption_v1(
230
195
cid: str,
231
196
) ->ApiResponse[Any]:
232
197
"""
233
-
Video Captions (V2)
234
-
235
-
Retrieve subtitle/caption information for a specific Bilibili video.
198
+
Video Captions
236
199
237
-
Typical use cases:
238
-
- Extracting textual content from video subtitles for indexing or analysis.
239
-
- Multi-language content processing and accessibility analysis.
200
+
Get Bilibili video Captions data, including caption data, for transcript extraction and multilingual content analysis.
0 commit comments