handlesapi 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- handlesapi/__init__.py +22 -0
- handlesapi/_core.py +194 -0
- handlesapi/_methods.py +4162 -0
- handlesapi/_operations.py +133 -0
- handlesapi/_types.py +5192 -0
- handlesapi/client.py +256 -0
- handlesapi/errors.py +63 -0
- handlesapi/py.typed +0 -0
- handlesapi-0.1.0.dist-info/METADATA +188 -0
- handlesapi-0.1.0.dist-info/RECORD +13 -0
- handlesapi-0.1.0.dist-info/WHEEL +5 -0
- handlesapi-0.1.0.dist-info/licenses/LICENSE +21 -0
- handlesapi-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"""Generated by scripts/generate.py from the Handles API OpenAPI spec (v1.0.0). Do not edit by hand."""
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
from typing import Dict, NamedTuple, Optional, Tuple
|
|
4
|
+
|
|
5
|
+
class Operation(NamedTuple):
|
|
6
|
+
method: str
|
|
7
|
+
path: str
|
|
8
|
+
tag: str
|
|
9
|
+
summary: str
|
|
10
|
+
credits: Optional[int]
|
|
11
|
+
live: bool
|
|
12
|
+
scope: Optional[str]
|
|
13
|
+
path_params: Tuple[str, ...]
|
|
14
|
+
query_params: Tuple[str, ...]
|
|
15
|
+
body_params: Tuple[str, ...]
|
|
16
|
+
paginated: bool
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
OPERATIONS: Dict[str, Operation] = {
|
|
20
|
+
"accounts_platforms": Operation('GET', '/accounts/platforms', 'Accounts', 'What a check can answer, per platform', 1, False, 'directory:read', (), (), (), False),
|
|
21
|
+
"accounts_check": Operation('GET', '/accounts/{platform}/{handle}', 'Accounts', 'Check one account against our catalog', 1, False, 'directory:read', ('platform', 'handle'), (), (), False),
|
|
22
|
+
"accounts_live": Operation('GET', '/accounts/{platform}/{handle}/live', 'Accounts', 'Check one account live, at the source', 2, True, 'scrape:live', ('platform', 'handle'), ('catalog',), (), False),
|
|
23
|
+
"accounts_bulk": Operation('POST', '/accounts/check', 'Accounts', 'Check up to 50 accounts at once', 1, False, 'directory:read', (), (), ('targets',), False),
|
|
24
|
+
"accounts_resolve": Operation('GET', '/accounts/resolve', 'Accounts', 'Find one handle on every platform at once', 1, False, 'directory:read', (), ('handle', 'platforms'), (), False),
|
|
25
|
+
"directory_index": Operation('GET', '/directory', 'Directory', 'Catalog capability map', 1, False, 'directory:read', (), (), (), False),
|
|
26
|
+
"directory_list": Operation('GET', '/directory/{platform}', 'Directory', 'List and filter a catalog', 1, False, 'directory:read', ('platform',), ('limit', 'cursor', 'sort', 'order', 'q', 'search', 'fields', 'scope', 'min_followers', 'country', 'language', 'category'), (), True),
|
|
27
|
+
"directory_get": Operation('GET', '/directory/{platform}/{id}', 'Directory', 'One account or channel', 1, False, 'directory:read', ('platform', 'id'), ('include',), (), False),
|
|
28
|
+
"directory_growth": Operation('GET', '/directory/{platform}/{id}/growth', 'Directory', 'Daily audience history', 1, False, 'directory:read', ('platform', 'id'), ('days',), (), False),
|
|
29
|
+
"directory_followers": Operation('GET', '/directory/{platform}/{id}/followers', 'Directory', 'Inbound graph edges', 1, False, 'directory:read', ('platform', 'id'), ('limit', 'cursor'), (), True),
|
|
30
|
+
"directory_following": Operation('GET', '/directory/{platform}/{id}/following', 'Directory', 'Outbound graph edges', 1, False, 'directory:read', ('platform', 'id'), ('limit', 'cursor'), (), True),
|
|
31
|
+
"directory_bulk": Operation('POST', '/directory/{platform}/bulk', 'Directory', 'Resolve up to 100 records at once', 1, False, 'directory:read', ('platform',), (), ('handles', 'ids'), False),
|
|
32
|
+
"directory_facets": Operation('GET', '/directory/{platform}/facets', 'Directory', 'Distribution of the catalog', 1, False, 'directory:read', ('platform',), ('axes',), (), False),
|
|
33
|
+
"directory_search": Operation('GET', '/directory/search', 'Directory', 'Search every platform at once', 1, False, 'directory:read', (), ('q', 'limit', 'platforms'), (), False),
|
|
34
|
+
"x_users_get": Operation('GET', '/x/users/{handle}', 'X', 'One X profile, live', 2, True, 'scrape:live', ('handle',), ('fresh',), (), False),
|
|
35
|
+
"x_users_about": Operation('GET', '/x/users/{handle}/about', 'X', "X's About this account panel", 2, True, 'scrape:live', ('handle',), (), (), False),
|
|
36
|
+
"x_users_tweets": Operation('GET', '/x/users/{handle}/tweets', 'X', "An account's timeline", 2, True, 'scrape:live', ('handle',), ('limit', 'cursor', 'include_replies'), (), True),
|
|
37
|
+
"x_users_media": Operation('GET', '/x/users/{handle}/media', 'X', "An account's media timeline", 2, True, 'scrape:live', ('handle',), ('limit', 'cursor'), (), True),
|
|
38
|
+
"x_users_mentions": Operation('GET', '/x/users/{handle}/mentions', 'X', 'Posts mentioning an account', 2, True, 'scrape:live', ('handle',), ('limit', 'cursor'), (), True),
|
|
39
|
+
"x_users_followers": Operation('GET', '/x/users/{handle}/followers', 'X', 'Followers, newest first', 2, True, 'scrape:live', ('handle',), ('limit', 'cursor'), (), True),
|
|
40
|
+
"x_users_verified_followers": Operation('GET', '/x/users/{handle}/verified-followers', 'X', 'Verified followers only', 2, True, 'scrape:live', ('handle',), ('limit', 'cursor'), (), True),
|
|
41
|
+
"x_users_follower_ids": Operation('GET', '/x/users/{handle}/followers/ids', 'X', 'Follower ids in bulk', 2, True, 'scrape:live', ('handle',), ('limit', 'cursor'), (), True),
|
|
42
|
+
"x_users_following": Operation('GET', '/x/users/{handle}/following', 'X', 'Who an account follows', 2, True, 'scrape:live', ('handle',), ('limit', 'cursor'), (), True),
|
|
43
|
+
"x_users_relationship": Operation('GET', '/x/users/{handle}/relationship', 'X', 'Does one account follow another', 2, True, 'scrape:live', ('handle',), ('target',), (), False),
|
|
44
|
+
"x_tweets_get": Operation('GET', '/x/tweets/{id}', 'X', 'One post', 2, True, 'scrape:live', ('id',), (), (), False),
|
|
45
|
+
"x_tweets_batch": Operation('GET', '/x/tweets', 'X', 'Posts by id, batched', 2, True, 'scrape:live', (), ('ids',), (), False),
|
|
46
|
+
"x_tweets_replies": Operation('GET', '/x/tweets/{id}/replies', 'X', 'Direct replies to a post', 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
47
|
+
"x_tweets_thread": Operation('GET', '/x/tweets/{id}/thread', 'X', 'The whole conversation', 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
48
|
+
"x_tweets_quotes": Operation('GET', '/x/tweets/{id}/quotes', 'X', 'Quote posts of a post', 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
49
|
+
"x_tweets_retweeters": Operation('GET', '/x/tweets/{id}/retweeters', 'X', 'Who reposted a post', 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
50
|
+
"x_search_tweets": Operation('GET', '/x/search/tweets', 'X', 'Advanced post search', 2, True, 'scrape:live', (), ('query', 'limit', 'cursor', 'product'), (), True),
|
|
51
|
+
"x_search_users": Operation('GET', '/x/search/users', 'X', 'People search', 2, True, 'scrape:live', (), ('query', 'limit', 'cursor'), (), True),
|
|
52
|
+
"x_lists_tweets": Operation('GET', '/x/lists/{id}/tweets', 'X', "A list's timeline", 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
53
|
+
"x_lists_members": Operation('GET', '/x/lists/{id}/members', 'X', 'Who is on a list', 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
54
|
+
"x_communities_get": Operation('GET', '/x/communities/{id}', 'X', 'One X community', 2, True, 'scrape:live', ('id',), (), (), False),
|
|
55
|
+
"x_communities_members": Operation('GET', '/x/communities/{id}/members', 'X', "A community's members", 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
56
|
+
"x_communities_moderators": Operation('GET', '/x/communities/{id}/moderators', 'X', "A community's moderators", 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
57
|
+
"x_communities_tweets": Operation('GET', '/x/communities/{id}/tweets', 'X', "A community's posts", 2, True, 'scrape:live', ('id',), ('limit', 'cursor'), (), True),
|
|
58
|
+
"x_trends": Operation('GET', '/x/trends', 'X', 'What is trending, by location', 2, True, 'scrape:live', (), ('woeid', 'limit'), (), False),
|
|
59
|
+
"people_lookup": Operation('GET', '/people/lookup', 'People', 'Find one handle across every catalog', 1, False, 'directory:read', (), ('handle', 'platforms'), (), False),
|
|
60
|
+
"people_search": Operation('GET', '/people/search', 'People', 'Find accounts matching audience and engagement criteria', 1, False, 'directory:read', (), ('min_audience', 'max_audience', 'min_engagement', 'language', 'category', 'verified', 'q', 'platforms', 'per_platform'), (), False),
|
|
61
|
+
"scrape_x_user": Operation('GET', '/scrape/x/user', 'Live scrape', 'Live X profile', 2, True, 'scrape:live', (), ('handle', 'fresh'), (), False),
|
|
62
|
+
"scrape_x_users": Operation('POST', '/scrape/x/users', 'Live scrape', 'Live X profiles, batched', 2, True, 'scrape:live', (), (), ('handles',), False),
|
|
63
|
+
"scrape_telegram_channel": Operation('GET', '/scrape/telegram/channel', 'Live scrape', 'Live Telegram channel read', 2, True, 'scrape:live', (), ('username',), (), False),
|
|
64
|
+
"insights_x_dossier": Operation('GET', '/insights/x/{handle}', 'Insights', 'Complete intelligence dossier for one X account', 1, False, 'insights:read', ('handle',), ('include', 'metric'), (), False),
|
|
65
|
+
"insights_x_engagement": Operation('GET', '/insights/x/{handle}/engagement', 'Insights', 'Engagement metrics for one X account', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
66
|
+
"insights_x_top_tweets": Operation('GET', '/insights/x/{handle}/top-tweets', 'Insights', "The account's permanently kept best posts", 1, False, 'insights:read', ('handle',), ('limit', 'sort'), (), False),
|
|
67
|
+
"insights_x_viral_patterns": Operation('GET', '/insights/x/{handle}/viral-patterns', 'Insights', "What makes this account's posts perform", 1, False, 'insights:read', ('handle',), ('metric', 'peer_group'), (), False),
|
|
68
|
+
"insights_x_benchmark": Operation('GET', '/insights/x/{handle}/benchmark', 'Insights', 'This account against its follower cohort', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
69
|
+
"insights_x_leaders": Operation('GET', '/insights/x/leaders', 'Insights', 'Accounts ranked by how well they engage', 1, False, 'insights:read', (), ('sort', 'tier', 'category', 'min_followers', 'limit', 'cursor'), (), True),
|
|
70
|
+
"insights_x_coverage": Operation('GET', '/insights/x/coverage', 'Insights', 'How much of the catalog has tweet-level coverage', 1, False, 'insights:read', (), (), (), False),
|
|
71
|
+
"insights_x_compare": Operation('POST', '/insights/x/compare', 'Insights', 'Side-by-side metrics for up to ten accounts', 1, False, 'insights:read', (), (), ('handles', 'metric'), False),
|
|
72
|
+
"insights_instagram_top_posts": Operation('GET', '/insights/instagram/{handle}/top-posts', 'Insights', "An account's best performing posts", 1, False, 'insights:read', ('handle',), ('limit',), (), False),
|
|
73
|
+
"insights_instagram_content_mix": Operation('GET', '/insights/instagram/{handle}/content-mix', 'Insights', 'Which post format actually works on this account', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
74
|
+
"insights_instagram_cadence": Operation('GET', '/insights/instagram/{handle}/cadence', 'Insights', 'How often an account posts, and whether it has gone quiet', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
75
|
+
"insights_instagram_benchmarks": Operation('GET', '/insights/instagram/benchmarks', 'Insights', 'Measured engagement rates by follower band', 1, False, 'insights:read', (), ('followers',), (), False),
|
|
76
|
+
"insights_instagram_coverage": Operation('GET', '/insights/instagram/{handle}/coverage', 'Insights', 'What we hold on a handle, before you pay for a lookup', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
77
|
+
"insights_tiktok_growth": Operation('GET', '/insights/tiktok/{handle}/growth', 'Insights', 'Follower, like and posting velocity from the snapshot series', 1, False, 'insights:read', ('handle',), ('days',), (), False),
|
|
78
|
+
"insights_tiktok_benchmarks": Operation('GET', '/insights/tiktok/benchmarks', 'Insights', 'Measured likes per video by follower band', 1, False, 'insights:read', (), (), (), False),
|
|
79
|
+
"insights_tiktok_coverage": Operation('GET', '/insights/tiktok/{handle}/coverage', 'Insights', 'What we hold on a handle, before you pay for a lookup', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
80
|
+
"trends_movers": Operation('GET', '/trends/{platform}/movers', 'Trends', 'Biggest audience gains and losses for a day', 1, False, 'directory:read', ('platform',), ('direction', 'limit'), (), False),
|
|
81
|
+
"trends_platforms": Operation('GET', '/trends/platforms', 'Trends', 'Which platforms can be ranked, and how fresh each is', 1, False, 'directory:read', (), (), (), False),
|
|
82
|
+
"identity_graph": Operation('GET', '/identity/graph', 'Identity', "One organisation's accounts across every network, from any one of them", 1, False, 'directory:read', (), ('platform', 'handle', 'domain', 'company'), (), False),
|
|
83
|
+
"identity_graph_bulk": Operation('POST', '/identity/graph/bulk', 'Identity', 'Resolve up to 100 handles to their companies in one call', 1, False, 'directory:read', (), (), ('accounts',), False),
|
|
84
|
+
"identity_company": Operation('GET', '/identity/company/{slug}', 'Identity', 'Every social account a company publishes', 1, False, 'directory:read', ('slug',), (), (), False),
|
|
85
|
+
"identity_resolve": Operation('GET', '/identity/resolve', 'Identity', 'Which company publishes this handle', 1, False, 'directory:read', (), ('platform', 'handle'), (), False),
|
|
86
|
+
"identity_telegram_aliases": Operation('GET', '/identity/telegram/{username}/aliases', 'Identity', 'Every username a Telegram channel holds', 1, False, 'directory:read', ('username',), (), (), False),
|
|
87
|
+
"insights_telegram_audience_quality": Operation('GET', '/insights/telegram/{username}/audience-quality', 'Insights', "Whether a channel's subscribers and its post views moved together", 1, False, 'insights:read', ('username',), ('days',), (), False),
|
|
88
|
+
"insights_telegram_name_history": Operation('GET', '/insights/telegram/{username}/name-history', 'Insights', 'Every username a channel has held, and which ones it gave up', 1, False, 'insights:read', ('username',), (), (), False),
|
|
89
|
+
"insights_youtube_benchmark": Operation('GET', '/insights/youtube/{handle}/benchmark', 'Insights', "A channel's view velocity, ranked against channels its own size", 1, False, 'insights:read', ('handle',), (), (), False),
|
|
90
|
+
"insights_youtube_velocity_bands": Operation('GET', '/insights/youtube/view-velocity-bands', 'Insights', 'The view-velocity ladders every YouTube benchmark is read against', 1, False, 'insights:read', (), (), (), False),
|
|
91
|
+
"insights_bluesky_posting_impact": Operation('GET', '/insights/bluesky/{handle}/posting-impact', 'Insights', 'What an account gains on the days it posts against the days it does not', 1, False, 'insights:read', ('handle',), ('days',), (), False),
|
|
92
|
+
"insights_instagram_engagement": Operation('GET', '/insights/instagram/{handle}', 'Insights', 'Measured Instagram engagement, placed against its cohort', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
93
|
+
"insights_telegram_reach": Operation('GET', '/insights/telegram/{username}/reach', 'Insights', 'How many subscribers actually see a Telegram post', 1, False, 'insights:read', ('username',), (), (), False),
|
|
94
|
+
"insights_telegram_reach_bands": Operation('GET', '/insights/telegram/reach-bands', 'Insights', 'The reach percentile ladders every Telegram score is read against', 1, False, 'insights:read', (), (), (), False),
|
|
95
|
+
"insights_youtube_activity": Operation('GET', '/insights/youtube/{handle}/activity', 'Insights', 'Daily views earned by one account', 1, False, 'insights:read', ('handle',), ('days',), (), False),
|
|
96
|
+
"insights_tiktok_activity": Operation('GET', '/insights/tiktok/{handle}/activity', 'Insights', 'Daily likes earned by one account', 1, False, 'insights:read', ('handle',), ('days',), (), False),
|
|
97
|
+
"insights_bluesky_activity": Operation('GET', '/insights/bluesky/{handle}/activity', 'Insights', 'Daily posts earned by one account', 1, False, 'insights:read', ('handle',), ('days',), (), False),
|
|
98
|
+
"insights_telegram_activity": Operation('GET', '/insights/telegram/{username}/activity', 'Insights', "How a channel's per-post reach has moved, day by day", 1, False, 'insights:read', ('username',), ('days',), (), False),
|
|
99
|
+
"insights_telegram_growth_quality": Operation('GET', '/insights/telegram/{username}/growth-quality', 'Insights', "The shape of a channel's subscriber growth", 1, False, 'insights:read', ('username',), ('days',), (), False),
|
|
100
|
+
"insights_bluesky_growth_quality": Operation('GET', '/insights/bluesky/{handle}/growth-quality', 'Insights', "The shape of an account's follower growth", 1, False, 'insights:read', ('handle',), ('days',), (), False),
|
|
101
|
+
"insights_activity_platforms": Operation('GET', '/insights/activity/platforms', 'Insights', 'What each platform measures, how precise it is, and how deep', 1, False, 'insights:read', (), (), (), False),
|
|
102
|
+
"graph_x_overlap": Operation('GET', '/graph/x/overlap', 'Graph', 'Audience overlap between two X accounts', 1, False, 'insights:read', (), ('a', 'b', 'limit'), (), False),
|
|
103
|
+
"graph_x_similar": Operation('GET', '/graph/x/{handle}/similar', 'Graph', 'Lookalike X accounts by shared audience', 1, False, 'insights:read', ('handle',), ('limit', 'min_shared'), (), False),
|
|
104
|
+
"graph_x_notable_followers": Operation('GET', '/graph/x/{handle}/notable-followers', 'Graph', 'Followers of an X account ranked by their own influence', 1, False, 'insights:read', ('handle',), ('sort', 'limit', 'cursor'), (), True),
|
|
105
|
+
"graph_x_card": Operation('GET', '/graph/x/{handle}', 'Graph', 'Follow-graph coverage for one X account', 1, False, 'insights:read', ('handle',), (), (), False),
|
|
106
|
+
"tools_catalog": Operation('GET', '/tools', 'Tools', 'List every analysis tool', 1, False, 'tools:use', (), (), (), False),
|
|
107
|
+
"tools_valuation": Operation('POST', '/tools/valuation', 'Tools', 'Value an X account', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
108
|
+
"tools_shadowban_check": Operation('POST', '/tools/shadowban-check', 'Tools', 'Check an X account for visibility filtering', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
109
|
+
"tools_follower_audit": Operation('POST', '/tools/follower-audit', 'Tools', "Audit an X account's followers for fakes", 2, True, 'tools:use', (), (), ('handle',), False),
|
|
110
|
+
"tools_engagement_calculator": Operation('POST', '/tools/engagement-calculator', 'Tools', "Measure an X account's engagement rate", 2, True, 'tools:use', (), (), ('handle',), False),
|
|
111
|
+
"tools_best_posting_time": Operation('POST', '/tools/best-posting-time', 'Tools', 'Find when an X account should post', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
112
|
+
"tools_algorithm_score": Operation('POST', '/tools/algorithm-score', 'Tools', 'Score an X account against the ranking signals', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
113
|
+
"tools_tweet_analyzer": Operation('POST', '/tools/tweet-analyzer', 'Tools', 'Analyze a single X post', 2, True, 'tools:use', (), (), ('tweet',), False),
|
|
114
|
+
"tools_mention_checker": Operation('POST', '/tools/mention-checker', 'Tools', 'See who is mentioning an X account', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
115
|
+
"tools_growth_simulator": Operation('POST', '/tools/growth-simulator', 'Tools', 'Project how long a follower target takes', 1, False, 'tools:use', (), (), ('current_followers', 'target_followers', 'niche', 'quality', 'posts_per_day'), False),
|
|
116
|
+
"tools_profile_pic": Operation('GET', '/tools/profile-pic', 'Tools', 'Fetch an X profile picture URL', 2, True, 'tools:use', (), ('handle',), (), False),
|
|
117
|
+
"tools_audience_finder": Operation('GET', '/tools/audience-finder', 'Tools', 'Search the Telegram, TikTok and X catalog', 1, False, 'tools:use', (), ('platform', 'q', 'min_audience', 'max_audience', 'language', 'category', 'sort', 'page', 'age', 'ratio', 'activity'), (), False),
|
|
118
|
+
"tools_tiktok_engagement": Operation('POST', '/tools/tiktok/engagement', 'Tools', "Measure a TikTok account's engagement", 2, True, 'tools:use', (), (), ('handle',), False),
|
|
119
|
+
"tools_tiktok_money": Operation('POST', '/tools/tiktok/money', 'Tools', 'Estimate TikTok brand-deal earnings', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
120
|
+
"tools_youtube_money": Operation('POST', '/tools/youtube/money', 'Tools', 'Estimate YouTube ad earnings', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
121
|
+
"tools_youtube_channel_value": Operation('POST', '/tools/youtube/channel-value', 'Tools', 'Estimate what a YouTube channel is worth', 2, True, 'tools:use', (), (), ('handle',), False),
|
|
122
|
+
"tools_kick_money": Operation('POST', '/tools/kick/money', 'Tools', 'Estimate Kick streamer earnings', 2, True, 'tools:use', (), (), ('handle', 'avg_ccv', 'hours_streamed', 'followers', 'hours_watched'), False),
|
|
123
|
+
"tools_kick_channel_value": Operation('POST', '/tools/kick/channel-value', 'Tools', 'Estimate what a Kick channel is worth', 2, True, 'tools:use', (), (), ('handle', 'avg_ccv', 'hours_streamed', 'followers', 'hours_watched', 'peak_ccv'), False),
|
|
124
|
+
"tools_kick_rank": Operation('POST', '/tools/kick/rank', 'Tools', 'Rank a Kick channel by followers and viewership', 2, True, 'tools:use', (), (), ('handle', 'followers', 'avg_ccv'), False),
|
|
125
|
+
"tools_twitch_money": Operation('POST', '/tools/twitch/money', 'Tools', 'Estimate Twitch streamer earnings', 2, True, 'tools:use', (), (), ('handle', 'avg_ccv', 'hours_streamed', 'followers', 'hours_watched'), False),
|
|
126
|
+
"tools_twitch_channel_value": Operation('POST', '/tools/twitch/channel-value', 'Tools', 'Estimate what a Twitch channel is worth', 2, True, 'tools:use', (), (), ('handle', 'avg_ccv', 'hours_streamed', 'followers', 'hours_watched', 'peak_ccv'), False),
|
|
127
|
+
"tools_twitch_rank": Operation('POST', '/tools/twitch/rank', 'Tools', 'Rank a Twitch channel by followers and viewership', 2, True, 'tools:use', (), (), ('handle', 'followers', 'avg_ccv'), False),
|
|
128
|
+
"leads_linkedin_domain": Operation('GET', '/leads/linkedin/domains/{domain}', 'Leads', 'Enrich a company from its website domain', 1, False, 'leads:read', ('domain',), (), (), False),
|
|
129
|
+
"leads_linkedin_segments": Operation('GET', '/leads/linkedin/segments', 'Leads', 'Firmographic market sizing with real counts', 1, False, 'leads:read', (), ('by', 'industry', 'country', 'size_band', 'min_staff', 'max_staff'), (), False),
|
|
130
|
+
"leads_linkedin_companies_list": Operation('GET', '/leads/linkedin/companies', 'Leads', 'LinkedIn company records, filterable', 1, False, 'leads:read', (), ('country', 'industry', 'size', 'has_email', 'has_website', 'has_decision_maker', 'has_social', 'min_followers', 'active_days', 'q', 'sort', 'limit', 'cursor'), (), True),
|
|
131
|
+
"leads_linkedin_companies_get": Operation('GET', '/leads/linkedin/companies/{id}', 'Leads', 'One company with socials, contacts and decision makers', 1, False, 'leads:read', ('id',), (), (), False),
|
|
132
|
+
"leads_linkedin_people_list": Operation('GET', '/leads/linkedin/people', 'Leads', 'Named people and decision makers', 1, False, 'leads:read', (), ('company', 'seniority', 'decision_makers', 'title', 'country', 'industry', 'limit', 'cursor'), (), True),
|
|
133
|
+
}
|