x-twitter-scraper 0.20.0 → 0.21.0
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.
- package/CHANGELOG.md +55 -0
- package/README.md +120 -121
- package/client.d.mts +7 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/extractions.d.mts +105 -5
- package/resources/extractions.d.mts.map +1 -1
- package/resources/extractions.d.ts +105 -5
- package/resources/extractions.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/monitors/index.d.mts +1 -1
- package/resources/monitors/index.d.mts.map +1 -1
- package/resources/monitors/index.d.ts +1 -1
- package/resources/monitors/index.d.ts.map +1 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs.map +1 -1
- package/resources/monitors/monitors.d.mts +38 -1
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +38 -1
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +18 -0
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +18 -0
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/monitors/posts.d.mts +27 -0
- package/resources/monitors/posts.d.mts.map +1 -1
- package/resources/monitors/posts.d.ts +27 -0
- package/resources/monitors/posts.d.ts.map +1 -1
- package/resources/shared.d.mts +175 -5
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +175 -5
- package/resources/shared.d.ts.map +1 -1
- package/resources/x/account-connection-attempts.d.mts +4 -0
- package/resources/x/account-connection-attempts.d.mts.map +1 -1
- package/resources/x/account-connection-attempts.d.ts +4 -0
- package/resources/x/account-connection-attempts.d.ts.map +1 -1
- package/resources/x/account-connection-links.d.mts +159 -0
- package/resources/x/account-connection-links.d.mts.map +1 -0
- package/resources/x/account-connection-links.d.ts +159 -0
- package/resources/x/account-connection-links.d.ts.map +1 -0
- package/resources/x/account-connection-links.js +82 -0
- package/resources/x/account-connection-links.js.map +1 -0
- package/resources/x/account-connection-links.mjs +78 -0
- package/resources/x/account-connection-links.mjs.map +1 -0
- package/resources/x/accounts.d.mts +13 -9
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +13 -9
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/analysis.d.mts +540 -36
- package/resources/x/analysis.d.mts.map +1 -1
- package/resources/x/analysis.d.ts +540 -36
- package/resources/x/analysis.d.ts.map +1 -1
- package/resources/x/bookmarks.d.mts +5 -0
- package/resources/x/bookmarks.d.mts.map +1 -1
- package/resources/x/bookmarks.d.ts +5 -0
- package/resources/x/bookmarks.d.ts.map +1 -1
- package/resources/x/communities/communities.d.mts +2 -2
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +2 -2
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/join.d.mts +2 -2
- package/resources/x/communities/join.d.mts.map +1 -1
- package/resources/x/communities/join.d.ts +2 -2
- package/resources/x/communities/join.d.ts.map +1 -1
- package/resources/x/dm.d.mts +2 -2
- package/resources/x/dm.d.mts.map +1 -1
- package/resources/x/dm.d.ts +2 -2
- package/resources/x/dm.d.ts.map +1 -1
- package/resources/x/index.d.mts +2 -1
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +2 -1
- package/resources/x/index.d.ts.map +1 -1
- package/resources/x/index.js +3 -1
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +1 -0
- package/resources/x/index.mjs.map +1 -1
- package/resources/x/media.d.mts +48 -1
- package/resources/x/media.d.mts.map +1 -1
- package/resources/x/media.d.ts +48 -1
- package/resources/x/media.d.ts.map +1 -1
- package/resources/x/media.js.map +1 -1
- package/resources/x/media.mjs.map +1 -1
- package/resources/x/profile.d.mts +3 -3
- package/resources/x/profile.d.mts.map +1 -1
- package/resources/x/profile.d.ts +3 -3
- package/resources/x/profile.d.ts.map +1 -1
- package/resources/x/tweets/bookmark.d.mts +84 -0
- package/resources/x/tweets/bookmark.d.mts.map +1 -0
- package/resources/x/tweets/bookmark.d.ts +84 -0
- package/resources/x/tweets/bookmark.d.ts.map +1 -0
- package/resources/x/tweets/bookmark.js +55 -0
- package/resources/x/tweets/bookmark.js.map +1 -0
- package/resources/x/tweets/bookmark.mjs +51 -0
- package/resources/x/tweets/bookmark.mjs.map +1 -0
- package/resources/x/tweets/index.d.mts +1 -0
- package/resources/x/tweets/index.d.mts.map +1 -1
- package/resources/x/tweets/index.d.ts +1 -0
- package/resources/x/tweets/index.d.ts.map +1 -1
- package/resources/x/tweets/index.js +3 -1
- package/resources/x/tweets/index.js.map +1 -1
- package/resources/x/tweets/index.mjs +1 -0
- package/resources/x/tweets/index.mjs.map +1 -1
- package/resources/x/tweets/like.d.mts +2 -2
- package/resources/x/tweets/like.d.mts.map +1 -1
- package/resources/x/tweets/like.d.ts +2 -2
- package/resources/x/tweets/like.d.ts.map +1 -1
- package/resources/x/tweets/retweet.d.mts +2 -2
- package/resources/x/tweets/retweet.d.mts.map +1 -1
- package/resources/x/tweets/retweet.d.ts +2 -2
- package/resources/x/tweets/retweet.d.ts.map +1 -1
- package/resources/x/tweets/tweets.d.mts +41 -13
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +41 -13
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/tweets/tweets.js +4 -0
- package/resources/x/tweets/tweets.js.map +1 -1
- package/resources/x/tweets/tweets.mjs +4 -0
- package/resources/x/tweets/tweets.mjs.map +1 -1
- package/resources/x/users/block.d.mts +84 -0
- package/resources/x/users/block.d.mts.map +1 -0
- package/resources/x/users/block.d.ts +84 -0
- package/resources/x/users/block.d.ts.map +1 -0
- package/resources/x/users/block.js +55 -0
- package/resources/x/users/block.js.map +1 -0
- package/resources/x/users/block.mjs +51 -0
- package/resources/x/users/block.mjs.map +1 -0
- package/resources/x/users/follow.d.mts +2 -2
- package/resources/x/users/follow.d.mts.map +1 -1
- package/resources/x/users/follow.d.ts +2 -2
- package/resources/x/users/follow.d.ts.map +1 -1
- package/resources/x/users/index.d.mts +3 -1
- package/resources/x/users/index.d.mts.map +1 -1
- package/resources/x/users/index.d.ts +3 -1
- package/resources/x/users/index.d.ts.map +1 -1
- package/resources/x/users/index.js +5 -1
- package/resources/x/users/index.js.map +1 -1
- package/resources/x/users/index.mjs +2 -0
- package/resources/x/users/index.mjs.map +1 -1
- package/resources/x/users/mute.d.mts +84 -0
- package/resources/x/users/mute.d.mts.map +1 -0
- package/resources/x/users/mute.d.ts +84 -0
- package/resources/x/users/mute.d.ts.map +1 -0
- package/resources/x/users/mute.js +55 -0
- package/resources/x/users/mute.js.map +1 -0
- package/resources/x/users/mute.mjs +51 -0
- package/resources/x/users/mute.mjs.map +1 -0
- package/resources/x/users/users.d.mts +359 -9
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +359 -9
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js +27 -1
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs +27 -1
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/write-actions.d.mts +1 -1
- package/resources/x/write-actions.d.mts.map +1 -1
- package/resources/x/write-actions.d.ts +1 -1
- package/resources/x/write-actions.d.ts.map +1 -1
- package/resources/x/x.d.mts +15 -2
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +15 -2
- package/resources/x/x.d.ts.map +1 -1
- package/resources/x/x.js +4 -0
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +4 -0
- package/resources/x/x.mjs.map +1 -1
- package/src/client.ts +9 -0
- package/src/core/README.md +4 -0
- package/src/internal/README.md +6 -1
- package/src/resources/extractions.ts +125 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/monitors/index.ts +2 -0
- package/src/resources/monitors/monitors.ts +49 -0
- package/src/resources/monitors/posts.ts +32 -0
- package/src/resources/shared.ts +203 -4
- package/src/resources/x/account-connection-attempts.ts +5 -0
- package/src/resources/x/account-connection-links.ts +215 -0
- package/src/resources/x/accounts.ts +15 -14
- package/src/resources/x/analysis.ts +618 -36
- package/src/resources/x/bookmarks.ts +6 -0
- package/src/resources/x/communities/communities.ts +12 -0
- package/src/resources/x/communities/join.ts +12 -0
- package/src/resources/x/dm.ts +12 -0
- package/src/resources/x/index.ts +15 -0
- package/src/resources/x/media.ts +64 -0
- package/src/resources/x/profile.ts +18 -0
- package/src/resources/x/tweets/bookmark.ts +127 -0
- package/src/resources/x/tweets/index.ts +7 -0
- package/src/resources/x/tweets/like.ts +12 -0
- package/src/resources/x/tweets/retweet.ts +12 -0
- package/src/resources/x/tweets/tweets.ts +69 -10
- package/src/resources/x/users/block.ts +119 -0
- package/src/resources/x/users/follow.ts +12 -0
- package/src/resources/x/users/index.ts +20 -0
- package/src/resources/x/users/mute.ts +119 -0
- package/src/resources/x/users/users.ts +470 -7
- package/src/resources/x/write-actions.ts +6 -0
- package/src/resources/x/x.ts +48 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -137,6 +137,21 @@ export interface AnalysisBrandResponse {
|
|
|
137
137
|
* Each post without an analysis, by ID & reason. These cost nothing.
|
|
138
138
|
*/
|
|
139
139
|
unanalyzed: Array<AnalysisBrandResponse.Unanalyzed>;
|
|
140
|
+
/**
|
|
141
|
+
* IDs of the posts or texts the time ran out for. Send them again in tweetIds, or
|
|
142
|
+
* those texts in texts. They cost nothing.
|
|
143
|
+
*/
|
|
144
|
+
unprocessed_ids: Array<string>;
|
|
145
|
+
/**
|
|
146
|
+
* What the image filter asked & how many posts it kept. Present when the request
|
|
147
|
+
* sent imageShows.
|
|
148
|
+
*/
|
|
149
|
+
imageFilter?: Shared.ImageFilterSummary;
|
|
150
|
+
/**
|
|
151
|
+
* What the topic filter asked & how many posts it kept. Present when the request
|
|
152
|
+
* sent topic.
|
|
153
|
+
*/
|
|
154
|
+
topicFilter?: Shared.TopicFilterSummary;
|
|
140
155
|
}
|
|
141
156
|
export declare namespace AnalysisBrandResponse {
|
|
142
157
|
/**
|
|
@@ -389,7 +404,11 @@ export declare namespace AnalysisBrandResponse {
|
|
|
389
404
|
interface ContextAvailability {
|
|
390
405
|
article: 'text_blocks' | 'summary' | 'not_supplied';
|
|
391
406
|
author: 'available' | 'missing';
|
|
392
|
-
|
|
407
|
+
/**
|
|
408
|
+
* images when the AI read the post's images. text_descriptions_only when it read
|
|
409
|
+
* only their alt text.
|
|
410
|
+
*/
|
|
411
|
+
media: 'images' | 'text_descriptions_only' | 'not_supplied';
|
|
393
412
|
/**
|
|
394
413
|
* truncated when the post was cut to fit.
|
|
395
414
|
*/
|
|
@@ -482,6 +501,21 @@ export interface AnalysisClassifyResponse {
|
|
|
482
501
|
* Each post without an analysis, by ID & reason. These cost nothing.
|
|
483
502
|
*/
|
|
484
503
|
unanalyzed: Array<AnalysisClassifyResponse.Unanalyzed>;
|
|
504
|
+
/**
|
|
505
|
+
* IDs of the posts or texts the time ran out for. Send them again in tweetIds, or
|
|
506
|
+
* those texts in texts. They cost nothing.
|
|
507
|
+
*/
|
|
508
|
+
unprocessed_ids: Array<string>;
|
|
509
|
+
/**
|
|
510
|
+
* What the image filter asked & how many posts it kept. Present when the request
|
|
511
|
+
* sent imageShows.
|
|
512
|
+
*/
|
|
513
|
+
imageFilter?: Shared.ImageFilterSummary;
|
|
514
|
+
/**
|
|
515
|
+
* What the topic filter asked & how many posts it kept. Present when the request
|
|
516
|
+
* sent topic.
|
|
517
|
+
*/
|
|
518
|
+
topicFilter?: Shared.TopicFilterSummary;
|
|
485
519
|
}
|
|
486
520
|
export declare namespace AnalysisClassifyResponse {
|
|
487
521
|
/**
|
|
@@ -734,7 +768,11 @@ export declare namespace AnalysisClassifyResponse {
|
|
|
734
768
|
interface ContextAvailability {
|
|
735
769
|
article: 'text_blocks' | 'summary' | 'not_supplied';
|
|
736
770
|
author: 'available' | 'missing';
|
|
737
|
-
|
|
771
|
+
/**
|
|
772
|
+
* images when the AI read the post's images. text_descriptions_only when it read
|
|
773
|
+
* only their alt text.
|
|
774
|
+
*/
|
|
775
|
+
media: 'images' | 'text_descriptions_only' | 'not_supplied';
|
|
738
776
|
/**
|
|
739
777
|
* truncated when the post was cut to fit.
|
|
740
778
|
*/
|
|
@@ -827,6 +865,21 @@ export interface AnalysisMarketSignalsResponse {
|
|
|
827
865
|
* Each post without an analysis, by ID & reason. These cost nothing.
|
|
828
866
|
*/
|
|
829
867
|
unanalyzed: Array<AnalysisMarketSignalsResponse.Unanalyzed>;
|
|
868
|
+
/**
|
|
869
|
+
* IDs of the posts or texts the time ran out for. Send them again in tweetIds, or
|
|
870
|
+
* those texts in texts. They cost nothing.
|
|
871
|
+
*/
|
|
872
|
+
unprocessed_ids: Array<string>;
|
|
873
|
+
/**
|
|
874
|
+
* What the image filter asked & how many posts it kept. Present when the request
|
|
875
|
+
* sent imageShows.
|
|
876
|
+
*/
|
|
877
|
+
imageFilter?: Shared.ImageFilterSummary;
|
|
878
|
+
/**
|
|
879
|
+
* What the topic filter asked & how many posts it kept. Present when the request
|
|
880
|
+
* sent topic.
|
|
881
|
+
*/
|
|
882
|
+
topicFilter?: Shared.TopicFilterSummary;
|
|
830
883
|
}
|
|
831
884
|
export declare namespace AnalysisMarketSignalsResponse {
|
|
832
885
|
/**
|
|
@@ -1079,7 +1132,11 @@ export declare namespace AnalysisMarketSignalsResponse {
|
|
|
1079
1132
|
interface ContextAvailability {
|
|
1080
1133
|
article: 'text_blocks' | 'summary' | 'not_supplied';
|
|
1081
1134
|
author: 'available' | 'missing';
|
|
1082
|
-
|
|
1135
|
+
/**
|
|
1136
|
+
* images when the AI read the post's images. text_descriptions_only when it read
|
|
1137
|
+
* only their alt text.
|
|
1138
|
+
*/
|
|
1139
|
+
media: 'images' | 'text_descriptions_only' | 'not_supplied';
|
|
1083
1140
|
/**
|
|
1084
1141
|
* truncated when the post was cut to fit.
|
|
1085
1142
|
*/
|
|
@@ -1172,6 +1229,21 @@ export interface AnalysisNewsResponse {
|
|
|
1172
1229
|
* Each post without an analysis, by ID & reason. These cost nothing.
|
|
1173
1230
|
*/
|
|
1174
1231
|
unanalyzed: Array<AnalysisNewsResponse.Unanalyzed>;
|
|
1232
|
+
/**
|
|
1233
|
+
* IDs of the posts or texts the time ran out for. Send them again in tweetIds, or
|
|
1234
|
+
* those texts in texts. They cost nothing.
|
|
1235
|
+
*/
|
|
1236
|
+
unprocessed_ids: Array<string>;
|
|
1237
|
+
/**
|
|
1238
|
+
* What the image filter asked & how many posts it kept. Present when the request
|
|
1239
|
+
* sent imageShows.
|
|
1240
|
+
*/
|
|
1241
|
+
imageFilter?: Shared.ImageFilterSummary;
|
|
1242
|
+
/**
|
|
1243
|
+
* What the topic filter asked & how many posts it kept. Present when the request
|
|
1244
|
+
* sent topic.
|
|
1245
|
+
*/
|
|
1246
|
+
topicFilter?: Shared.TopicFilterSummary;
|
|
1175
1247
|
}
|
|
1176
1248
|
export declare namespace AnalysisNewsResponse {
|
|
1177
1249
|
/**
|
|
@@ -1424,7 +1496,11 @@ export declare namespace AnalysisNewsResponse {
|
|
|
1424
1496
|
interface ContextAvailability {
|
|
1425
1497
|
article: 'text_blocks' | 'summary' | 'not_supplied';
|
|
1426
1498
|
author: 'available' | 'missing';
|
|
1427
|
-
|
|
1499
|
+
/**
|
|
1500
|
+
* images when the AI read the post's images. text_descriptions_only when it read
|
|
1501
|
+
* only their alt text.
|
|
1502
|
+
*/
|
|
1503
|
+
media: 'images' | 'text_descriptions_only' | 'not_supplied';
|
|
1428
1504
|
/**
|
|
1429
1505
|
* truncated when the post was cut to fit.
|
|
1430
1506
|
*/
|
|
@@ -1517,6 +1593,21 @@ export interface AnalysisSentimentResponse {
|
|
|
1517
1593
|
* Each post without an analysis, by ID & reason. These cost nothing.
|
|
1518
1594
|
*/
|
|
1519
1595
|
unanalyzed: Array<AnalysisSentimentResponse.Unanalyzed>;
|
|
1596
|
+
/**
|
|
1597
|
+
* IDs of the posts or texts the time ran out for. Send them again in tweetIds, or
|
|
1598
|
+
* those texts in texts. They cost nothing.
|
|
1599
|
+
*/
|
|
1600
|
+
unprocessed_ids: Array<string>;
|
|
1601
|
+
/**
|
|
1602
|
+
* What the image filter asked & how many posts it kept. Present when the request
|
|
1603
|
+
* sent imageShows.
|
|
1604
|
+
*/
|
|
1605
|
+
imageFilter?: Shared.ImageFilterSummary;
|
|
1606
|
+
/**
|
|
1607
|
+
* What the topic filter asked & how many posts it kept. Present when the request
|
|
1608
|
+
* sent topic.
|
|
1609
|
+
*/
|
|
1610
|
+
topicFilter?: Shared.TopicFilterSummary;
|
|
1520
1611
|
}
|
|
1521
1612
|
export declare namespace AnalysisSentimentResponse {
|
|
1522
1613
|
/**
|
|
@@ -1769,7 +1860,11 @@ export declare namespace AnalysisSentimentResponse {
|
|
|
1769
1860
|
interface ContextAvailability {
|
|
1770
1861
|
article: 'text_blocks' | 'summary' | 'not_supplied';
|
|
1771
1862
|
author: 'available' | 'missing';
|
|
1772
|
-
|
|
1863
|
+
/**
|
|
1864
|
+
* images when the AI read the post's images. text_descriptions_only when it read
|
|
1865
|
+
* only their alt text.
|
|
1866
|
+
*/
|
|
1867
|
+
media: 'images' | 'text_descriptions_only' | 'not_supplied';
|
|
1773
1868
|
/**
|
|
1774
1869
|
* truncated when the post was cut to fit.
|
|
1775
1870
|
*/
|
|
@@ -1862,6 +1957,21 @@ export interface AnalysisViralScoreResponse {
|
|
|
1862
1957
|
* Each post without an analysis, by ID & reason. These cost nothing.
|
|
1863
1958
|
*/
|
|
1864
1959
|
unanalyzed: Array<AnalysisViralScoreResponse.Unanalyzed>;
|
|
1960
|
+
/**
|
|
1961
|
+
* IDs of the posts or texts the time ran out for. Send them again in tweetIds, or
|
|
1962
|
+
* those texts in texts. They cost nothing.
|
|
1963
|
+
*/
|
|
1964
|
+
unprocessed_ids: Array<string>;
|
|
1965
|
+
/**
|
|
1966
|
+
* What the image filter asked & how many posts it kept. Present when the request
|
|
1967
|
+
* sent imageShows.
|
|
1968
|
+
*/
|
|
1969
|
+
imageFilter?: Shared.ImageFilterSummary;
|
|
1970
|
+
/**
|
|
1971
|
+
* What the topic filter asked & how many posts it kept. Present when the request
|
|
1972
|
+
* sent topic.
|
|
1973
|
+
*/
|
|
1974
|
+
topicFilter?: Shared.TopicFilterSummary;
|
|
1865
1975
|
}
|
|
1866
1976
|
export declare namespace AnalysisViralScoreResponse {
|
|
1867
1977
|
/**
|
|
@@ -2114,7 +2224,11 @@ export declare namespace AnalysisViralScoreResponse {
|
|
|
2114
2224
|
interface ContextAvailability {
|
|
2115
2225
|
article: 'text_blocks' | 'summary' | 'not_supplied';
|
|
2116
2226
|
author: 'available' | 'missing';
|
|
2117
|
-
|
|
2227
|
+
/**
|
|
2228
|
+
* images when the AI read the post's images. text_descriptions_only when it read
|
|
2229
|
+
* only their alt text.
|
|
2230
|
+
*/
|
|
2231
|
+
media: 'images' | 'text_descriptions_only' | 'not_supplied';
|
|
2118
2232
|
/**
|
|
2119
2233
|
* truncated when the post was cut to fit.
|
|
2120
2234
|
*/
|
|
@@ -2196,17 +2310,51 @@ export interface AnalysisBrandParams {
|
|
|
2196
2310
|
*/
|
|
2197
2311
|
baseline?: Array<AnalysisBrandParams.Baseline>;
|
|
2198
2312
|
/**
|
|
2199
|
-
* The next_cursor of the page before. Send the same search with it.
|
|
2313
|
+
* The next_cursor of the page before. Send the same search or page with it.
|
|
2200
2314
|
*/
|
|
2201
2315
|
cursor?: string;
|
|
2202
2316
|
/**
|
|
2203
|
-
*
|
|
2317
|
+
* Keep only posts whose photos show this, the same as the Actors' imageShows
|
|
2318
|
+
* input. Send charts, screenshots, product_photos, memes or people, or describe it
|
|
2319
|
+
* in words, such as a rocket. AI-powered analysis checks posts with photos X
|
|
2320
|
+
* doesn't mark sensitive & keeps scores of 0.5 or more. Only kept posts are
|
|
2321
|
+
* analyzed & cost 2 credits each. imageFilter states the cutoff & counts. Send
|
|
2322
|
+
* topic or imageShows, not both.
|
|
2323
|
+
*/
|
|
2324
|
+
imageShows?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* Analyze the posts 1 account liked, as /x/users/{id}/likes reads them. Send a
|
|
2327
|
+
* handle, with or without @, a user ID or a profile URL. Send no other posts or
|
|
2328
|
+
* search with it.
|
|
2329
|
+
*/
|
|
2330
|
+
likedBy?: string;
|
|
2331
|
+
/**
|
|
2332
|
+
* Maximum posts to analyze from the search or page. A low credit balance can
|
|
2333
|
+
* return fewer. When the time runs out first, send next_cursor as cursor for the
|
|
2334
|
+
* rest.
|
|
2204
2335
|
*/
|
|
2205
2336
|
limit?: number;
|
|
2206
2337
|
/**
|
|
2207
2338
|
* Analyze a public List's posts. Send its ID or URL.
|
|
2208
2339
|
*/
|
|
2209
2340
|
listId?: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* Analyze the posts of several public Lists in 1 search. Send their IDs or URLs.
|
|
2343
|
+
* listId, when sent, joins them.
|
|
2344
|
+
*/
|
|
2345
|
+
listIds?: Array<string>;
|
|
2346
|
+
/**
|
|
2347
|
+
* Analyze 1 account's posts with photos or videos, as its Media tab shows them.
|
|
2348
|
+
* /x/users/{id}/media reads the same posts. Send a handle, with or without @, a
|
|
2349
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
2350
|
+
*/
|
|
2351
|
+
mediaBy?: string;
|
|
2352
|
+
/**
|
|
2353
|
+
* X searches to analyze as 1 search. A post matching any of them counts. Each
|
|
2354
|
+
* takes the operators of query. query, when sent, joins them. X searches up to 512
|
|
2355
|
+
* characters, counted with the other search fields.
|
|
2356
|
+
*/
|
|
2357
|
+
queries?: Array<string>;
|
|
2210
2358
|
/**
|
|
2211
2359
|
* X search to analyze, with the operators of /x/tweets/search, such as from:nasa
|
|
2212
2360
|
* or lang:en. X searches up to 512 characters, counted with the other search
|
|
@@ -2221,6 +2369,12 @@ export interface AnalysisBrandParams {
|
|
|
2221
2369
|
* Analyze the quotes of 1 post. Send its ID or URL.
|
|
2222
2370
|
*/
|
|
2223
2371
|
quotesOf?: string;
|
|
2372
|
+
/**
|
|
2373
|
+
* Analyze 1 account's posts & replies, as its Replies tab shows them.
|
|
2374
|
+
* /x/users/{id}/replies reads the same posts. Send a handle, with or without @, a
|
|
2375
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
2376
|
+
*/
|
|
2377
|
+
repliesBy?: string;
|
|
2224
2378
|
/**
|
|
2225
2379
|
* Analyze the replies in 1 post's conversation. Send its ID or URL.
|
|
2226
2380
|
*/
|
|
@@ -2231,12 +2385,27 @@ export interface AnalysisBrandParams {
|
|
|
2231
2385
|
*/
|
|
2232
2386
|
sinceTime?: string | number;
|
|
2233
2387
|
/**
|
|
2234
|
-
* Your own texts to analyze, such as drafts
|
|
2235
|
-
* the same as 1 analyzed post.
|
|
2388
|
+
* Your own texts to analyze, such as drafts, as many as the body holds. Reads
|
|
2389
|
+
* nothing from X. Each text costs the same as 1 analyzed post. Texts left when the
|
|
2390
|
+
* time runs out come back in unprocessed_ids.
|
|
2236
2391
|
*/
|
|
2237
2392
|
texts?: Array<string>;
|
|
2238
2393
|
/**
|
|
2239
|
-
*
|
|
2394
|
+
* Analyze 1 post's thread, as /x/tweets/{id}/thread reads it. Send the post's ID
|
|
2395
|
+
* or URL. Send no other posts or search with it.
|
|
2396
|
+
*/
|
|
2397
|
+
threadOf?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Keep only posts about this topic, the same as the Actors' topic input.
|
|
2400
|
+
* AI-powered analysis asks "Is this post about <topic>?" of each post & keeps
|
|
2401
|
+
* scores of 0.5 or more. Only kept posts are analyzed & cost 2 credits each, & a
|
|
2402
|
+
* post the filter drops costs nothing. topicFilter states the cutoff & counts.
|
|
2403
|
+
* Send topic or imageShows, not both.
|
|
2404
|
+
*/
|
|
2405
|
+
topic?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Post IDs or post URLs to analyze, as many as the body holds. Posts left when the
|
|
2408
|
+
* time runs out come back in unprocessed_ids.
|
|
2240
2409
|
*/
|
|
2241
2410
|
tweetIds?: Array<string>;
|
|
2242
2411
|
/**
|
|
@@ -2248,6 +2417,11 @@ export interface AnalysisBrandParams {
|
|
|
2248
2417
|
* Analyze 1 account's posts. Send a handle, with or without @, or a profile URL.
|
|
2249
2418
|
*/
|
|
2250
2419
|
username?: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* Analyze the posts of several accounts in 1 search. Send handles, with or
|
|
2422
|
+
* without @, or profile URLs. username, when sent, joins them.
|
|
2423
|
+
*/
|
|
2424
|
+
usernames?: Array<string>;
|
|
2251
2425
|
}
|
|
2252
2426
|
export declare namespace AnalysisBrandParams {
|
|
2253
2427
|
/**
|
|
@@ -2263,6 +2437,11 @@ export declare namespace AnalysisBrandParams {
|
|
|
2263
2437
|
* Background the AI reads with every post.
|
|
2264
2438
|
*/
|
|
2265
2439
|
context?: string;
|
|
2440
|
+
/**
|
|
2441
|
+
* Reads up to 4 images per post with its text, at no extra cost. Images of posts X
|
|
2442
|
+
* marks sensitive stay unread. Send false to analyze the text alone.
|
|
2443
|
+
*/
|
|
2444
|
+
images?: boolean;
|
|
2266
2445
|
/**
|
|
2267
2446
|
* Bytes of post, quote & settings the AI reads. Longer posts are cut to fit. Empty
|
|
2268
2447
|
* settings take 219 bytes, so a smaller value gets a 400.
|
|
@@ -2377,17 +2556,51 @@ export interface AnalysisClassifyParams {
|
|
|
2377
2556
|
*/
|
|
2378
2557
|
baseline?: Array<AnalysisClassifyParams.Baseline>;
|
|
2379
2558
|
/**
|
|
2380
|
-
* The next_cursor of the page before. Send the same search with it.
|
|
2559
|
+
* The next_cursor of the page before. Send the same search or page with it.
|
|
2381
2560
|
*/
|
|
2382
2561
|
cursor?: string;
|
|
2383
2562
|
/**
|
|
2384
|
-
*
|
|
2563
|
+
* Keep only posts whose photos show this, the same as the Actors' imageShows
|
|
2564
|
+
* input. Send charts, screenshots, product_photos, memes or people, or describe it
|
|
2565
|
+
* in words, such as a rocket. AI-powered analysis checks posts with photos X
|
|
2566
|
+
* doesn't mark sensitive & keeps scores of 0.5 or more. Only kept posts are
|
|
2567
|
+
* analyzed & cost 2 credits each. imageFilter states the cutoff & counts. Send
|
|
2568
|
+
* topic or imageShows, not both.
|
|
2569
|
+
*/
|
|
2570
|
+
imageShows?: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* Analyze the posts 1 account liked, as /x/users/{id}/likes reads them. Send a
|
|
2573
|
+
* handle, with or without @, a user ID or a profile URL. Send no other posts or
|
|
2574
|
+
* search with it.
|
|
2575
|
+
*/
|
|
2576
|
+
likedBy?: string;
|
|
2577
|
+
/**
|
|
2578
|
+
* Maximum posts to analyze from the search or page. A low credit balance can
|
|
2579
|
+
* return fewer. When the time runs out first, send next_cursor as cursor for the
|
|
2580
|
+
* rest.
|
|
2385
2581
|
*/
|
|
2386
2582
|
limit?: number;
|
|
2387
2583
|
/**
|
|
2388
2584
|
* Analyze a public List's posts. Send its ID or URL.
|
|
2389
2585
|
*/
|
|
2390
2586
|
listId?: string;
|
|
2587
|
+
/**
|
|
2588
|
+
* Analyze the posts of several public Lists in 1 search. Send their IDs or URLs.
|
|
2589
|
+
* listId, when sent, joins them.
|
|
2590
|
+
*/
|
|
2591
|
+
listIds?: Array<string>;
|
|
2592
|
+
/**
|
|
2593
|
+
* Analyze 1 account's posts with photos or videos, as its Media tab shows them.
|
|
2594
|
+
* /x/users/{id}/media reads the same posts. Send a handle, with or without @, a
|
|
2595
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
2596
|
+
*/
|
|
2597
|
+
mediaBy?: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* X searches to analyze as 1 search. A post matching any of them counts. Each
|
|
2600
|
+
* takes the operators of query. query, when sent, joins them. X searches up to 512
|
|
2601
|
+
* characters, counted with the other search fields.
|
|
2602
|
+
*/
|
|
2603
|
+
queries?: Array<string>;
|
|
2391
2604
|
/**
|
|
2392
2605
|
* X search to analyze, with the operators of /x/tweets/search, such as from:nasa
|
|
2393
2606
|
* or lang:en. X searches up to 512 characters, counted with the other search
|
|
@@ -2402,6 +2615,12 @@ export interface AnalysisClassifyParams {
|
|
|
2402
2615
|
* Analyze the quotes of 1 post. Send its ID or URL.
|
|
2403
2616
|
*/
|
|
2404
2617
|
quotesOf?: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* Analyze 1 account's posts & replies, as its Replies tab shows them.
|
|
2620
|
+
* /x/users/{id}/replies reads the same posts. Send a handle, with or without @, a
|
|
2621
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
2622
|
+
*/
|
|
2623
|
+
repliesBy?: string;
|
|
2405
2624
|
/**
|
|
2406
2625
|
* Analyze the replies in 1 post's conversation. Send its ID or URL.
|
|
2407
2626
|
*/
|
|
@@ -2412,12 +2631,27 @@ export interface AnalysisClassifyParams {
|
|
|
2412
2631
|
*/
|
|
2413
2632
|
sinceTime?: string | number;
|
|
2414
2633
|
/**
|
|
2415
|
-
* Your own texts to analyze, such as drafts
|
|
2416
|
-
* the same as 1 analyzed post.
|
|
2634
|
+
* Your own texts to analyze, such as drafts, as many as the body holds. Reads
|
|
2635
|
+
* nothing from X. Each text costs the same as 1 analyzed post. Texts left when the
|
|
2636
|
+
* time runs out come back in unprocessed_ids.
|
|
2417
2637
|
*/
|
|
2418
2638
|
texts?: Array<string>;
|
|
2419
2639
|
/**
|
|
2420
|
-
*
|
|
2640
|
+
* Analyze 1 post's thread, as /x/tweets/{id}/thread reads it. Send the post's ID
|
|
2641
|
+
* or URL. Send no other posts or search with it.
|
|
2642
|
+
*/
|
|
2643
|
+
threadOf?: string;
|
|
2644
|
+
/**
|
|
2645
|
+
* Keep only posts about this topic, the same as the Actors' topic input.
|
|
2646
|
+
* AI-powered analysis asks "Is this post about <topic>?" of each post & keeps
|
|
2647
|
+
* scores of 0.5 or more. Only kept posts are analyzed & cost 2 credits each, & a
|
|
2648
|
+
* post the filter drops costs nothing. topicFilter states the cutoff & counts.
|
|
2649
|
+
* Send topic or imageShows, not both.
|
|
2650
|
+
*/
|
|
2651
|
+
topic?: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* Post IDs or post URLs to analyze, as many as the body holds. Posts left when the
|
|
2654
|
+
* time runs out come back in unprocessed_ids.
|
|
2421
2655
|
*/
|
|
2422
2656
|
tweetIds?: Array<string>;
|
|
2423
2657
|
/**
|
|
@@ -2429,6 +2663,11 @@ export interface AnalysisClassifyParams {
|
|
|
2429
2663
|
* Analyze 1 account's posts. Send a handle, with or without @, or a profile URL.
|
|
2430
2664
|
*/
|
|
2431
2665
|
username?: string;
|
|
2666
|
+
/**
|
|
2667
|
+
* Analyze the posts of several accounts in 1 search. Send handles, with or
|
|
2668
|
+
* without @, or profile URLs. username, when sent, joins them.
|
|
2669
|
+
*/
|
|
2670
|
+
usernames?: Array<string>;
|
|
2432
2671
|
}
|
|
2433
2672
|
export declare namespace AnalysisClassifyParams {
|
|
2434
2673
|
/**
|
|
@@ -2444,6 +2683,11 @@ export declare namespace AnalysisClassifyParams {
|
|
|
2444
2683
|
* Background the AI reads with every post.
|
|
2445
2684
|
*/
|
|
2446
2685
|
context?: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* Reads up to 4 images per post with its text, at no extra cost. Images of posts X
|
|
2688
|
+
* marks sensitive stay unread. Send false to analyze the text alone.
|
|
2689
|
+
*/
|
|
2690
|
+
images?: boolean;
|
|
2447
2691
|
/**
|
|
2448
2692
|
* Bytes of post, quote & settings the AI reads. Longer posts are cut to fit. Empty
|
|
2449
2693
|
* settings take 219 bytes, so a smaller value gets a 400.
|
|
@@ -2558,17 +2802,51 @@ export interface AnalysisMarketSignalsParams {
|
|
|
2558
2802
|
*/
|
|
2559
2803
|
baseline?: Array<AnalysisMarketSignalsParams.Baseline>;
|
|
2560
2804
|
/**
|
|
2561
|
-
* The next_cursor of the page before. Send the same search with it.
|
|
2805
|
+
* The next_cursor of the page before. Send the same search or page with it.
|
|
2562
2806
|
*/
|
|
2563
2807
|
cursor?: string;
|
|
2564
2808
|
/**
|
|
2565
|
-
*
|
|
2809
|
+
* Keep only posts whose photos show this, the same as the Actors' imageShows
|
|
2810
|
+
* input. Send charts, screenshots, product_photos, memes or people, or describe it
|
|
2811
|
+
* in words, such as a rocket. AI-powered analysis checks posts with photos X
|
|
2812
|
+
* doesn't mark sensitive & keeps scores of 0.5 or more. Only kept posts are
|
|
2813
|
+
* analyzed & cost 2 credits each. imageFilter states the cutoff & counts. Send
|
|
2814
|
+
* topic or imageShows, not both.
|
|
2815
|
+
*/
|
|
2816
|
+
imageShows?: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* Analyze the posts 1 account liked, as /x/users/{id}/likes reads them. Send a
|
|
2819
|
+
* handle, with or without @, a user ID or a profile URL. Send no other posts or
|
|
2820
|
+
* search with it.
|
|
2821
|
+
*/
|
|
2822
|
+
likedBy?: string;
|
|
2823
|
+
/**
|
|
2824
|
+
* Maximum posts to analyze from the search or page. A low credit balance can
|
|
2825
|
+
* return fewer. When the time runs out first, send next_cursor as cursor for the
|
|
2826
|
+
* rest.
|
|
2566
2827
|
*/
|
|
2567
2828
|
limit?: number;
|
|
2568
2829
|
/**
|
|
2569
2830
|
* Analyze a public List's posts. Send its ID or URL.
|
|
2570
2831
|
*/
|
|
2571
2832
|
listId?: string;
|
|
2833
|
+
/**
|
|
2834
|
+
* Analyze the posts of several public Lists in 1 search. Send their IDs or URLs.
|
|
2835
|
+
* listId, when sent, joins them.
|
|
2836
|
+
*/
|
|
2837
|
+
listIds?: Array<string>;
|
|
2838
|
+
/**
|
|
2839
|
+
* Analyze 1 account's posts with photos or videos, as its Media tab shows them.
|
|
2840
|
+
* /x/users/{id}/media reads the same posts. Send a handle, with or without @, a
|
|
2841
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
2842
|
+
*/
|
|
2843
|
+
mediaBy?: string;
|
|
2844
|
+
/**
|
|
2845
|
+
* X searches to analyze as 1 search. A post matching any of them counts. Each
|
|
2846
|
+
* takes the operators of query. query, when sent, joins them. X searches up to 512
|
|
2847
|
+
* characters, counted with the other search fields.
|
|
2848
|
+
*/
|
|
2849
|
+
queries?: Array<string>;
|
|
2572
2850
|
/**
|
|
2573
2851
|
* X search to analyze, with the operators of /x/tweets/search, such as from:nasa
|
|
2574
2852
|
* or lang:en. X searches up to 512 characters, counted with the other search
|
|
@@ -2583,6 +2861,12 @@ export interface AnalysisMarketSignalsParams {
|
|
|
2583
2861
|
* Analyze the quotes of 1 post. Send its ID or URL.
|
|
2584
2862
|
*/
|
|
2585
2863
|
quotesOf?: string;
|
|
2864
|
+
/**
|
|
2865
|
+
* Analyze 1 account's posts & replies, as its Replies tab shows them.
|
|
2866
|
+
* /x/users/{id}/replies reads the same posts. Send a handle, with or without @, a
|
|
2867
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
2868
|
+
*/
|
|
2869
|
+
repliesBy?: string;
|
|
2586
2870
|
/**
|
|
2587
2871
|
* Analyze the replies in 1 post's conversation. Send its ID or URL.
|
|
2588
2872
|
*/
|
|
@@ -2593,12 +2877,27 @@ export interface AnalysisMarketSignalsParams {
|
|
|
2593
2877
|
*/
|
|
2594
2878
|
sinceTime?: string | number;
|
|
2595
2879
|
/**
|
|
2596
|
-
* Your own texts to analyze, such as drafts
|
|
2597
|
-
* the same as 1 analyzed post.
|
|
2880
|
+
* Your own texts to analyze, such as drafts, as many as the body holds. Reads
|
|
2881
|
+
* nothing from X. Each text costs the same as 1 analyzed post. Texts left when the
|
|
2882
|
+
* time runs out come back in unprocessed_ids.
|
|
2598
2883
|
*/
|
|
2599
2884
|
texts?: Array<string>;
|
|
2600
2885
|
/**
|
|
2601
|
-
*
|
|
2886
|
+
* Analyze 1 post's thread, as /x/tweets/{id}/thread reads it. Send the post's ID
|
|
2887
|
+
* or URL. Send no other posts or search with it.
|
|
2888
|
+
*/
|
|
2889
|
+
threadOf?: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* Keep only posts about this topic, the same as the Actors' topic input.
|
|
2892
|
+
* AI-powered analysis asks "Is this post about <topic>?" of each post & keeps
|
|
2893
|
+
* scores of 0.5 or more. Only kept posts are analyzed & cost 2 credits each, & a
|
|
2894
|
+
* post the filter drops costs nothing. topicFilter states the cutoff & counts.
|
|
2895
|
+
* Send topic or imageShows, not both.
|
|
2896
|
+
*/
|
|
2897
|
+
topic?: string;
|
|
2898
|
+
/**
|
|
2899
|
+
* Post IDs or post URLs to analyze, as many as the body holds. Posts left when the
|
|
2900
|
+
* time runs out come back in unprocessed_ids.
|
|
2602
2901
|
*/
|
|
2603
2902
|
tweetIds?: Array<string>;
|
|
2604
2903
|
/**
|
|
@@ -2610,6 +2909,11 @@ export interface AnalysisMarketSignalsParams {
|
|
|
2610
2909
|
* Analyze 1 account's posts. Send a handle, with or without @, or a profile URL.
|
|
2611
2910
|
*/
|
|
2612
2911
|
username?: string;
|
|
2912
|
+
/**
|
|
2913
|
+
* Analyze the posts of several accounts in 1 search. Send handles, with or
|
|
2914
|
+
* without @, or profile URLs. username, when sent, joins them.
|
|
2915
|
+
*/
|
|
2916
|
+
usernames?: Array<string>;
|
|
2613
2917
|
}
|
|
2614
2918
|
export declare namespace AnalysisMarketSignalsParams {
|
|
2615
2919
|
/**
|
|
@@ -2625,6 +2929,11 @@ export declare namespace AnalysisMarketSignalsParams {
|
|
|
2625
2929
|
* Background the AI reads with every post.
|
|
2626
2930
|
*/
|
|
2627
2931
|
context?: string;
|
|
2932
|
+
/**
|
|
2933
|
+
* Reads up to 4 images per post with its text, at no extra cost. Images of posts X
|
|
2934
|
+
* marks sensitive stay unread. Send false to analyze the text alone.
|
|
2935
|
+
*/
|
|
2936
|
+
images?: boolean;
|
|
2628
2937
|
/**
|
|
2629
2938
|
* Bytes of post, quote & settings the AI reads. Longer posts are cut to fit. Empty
|
|
2630
2939
|
* settings take 219 bytes, so a smaller value gets a 400.
|
|
@@ -2739,17 +3048,51 @@ export interface AnalysisNewsParams {
|
|
|
2739
3048
|
*/
|
|
2740
3049
|
baseline?: Array<AnalysisNewsParams.Baseline>;
|
|
2741
3050
|
/**
|
|
2742
|
-
* The next_cursor of the page before. Send the same search with it.
|
|
3051
|
+
* The next_cursor of the page before. Send the same search or page with it.
|
|
2743
3052
|
*/
|
|
2744
3053
|
cursor?: string;
|
|
2745
3054
|
/**
|
|
2746
|
-
*
|
|
3055
|
+
* Keep only posts whose photos show this, the same as the Actors' imageShows
|
|
3056
|
+
* input. Send charts, screenshots, product_photos, memes or people, or describe it
|
|
3057
|
+
* in words, such as a rocket. AI-powered analysis checks posts with photos X
|
|
3058
|
+
* doesn't mark sensitive & keeps scores of 0.5 or more. Only kept posts are
|
|
3059
|
+
* analyzed & cost 2 credits each. imageFilter states the cutoff & counts. Send
|
|
3060
|
+
* topic or imageShows, not both.
|
|
3061
|
+
*/
|
|
3062
|
+
imageShows?: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* Analyze the posts 1 account liked, as /x/users/{id}/likes reads them. Send a
|
|
3065
|
+
* handle, with or without @, a user ID or a profile URL. Send no other posts or
|
|
3066
|
+
* search with it.
|
|
3067
|
+
*/
|
|
3068
|
+
likedBy?: string;
|
|
3069
|
+
/**
|
|
3070
|
+
* Maximum posts to analyze from the search or page. A low credit balance can
|
|
3071
|
+
* return fewer. When the time runs out first, send next_cursor as cursor for the
|
|
3072
|
+
* rest.
|
|
2747
3073
|
*/
|
|
2748
3074
|
limit?: number;
|
|
2749
3075
|
/**
|
|
2750
3076
|
* Analyze a public List's posts. Send its ID or URL.
|
|
2751
3077
|
*/
|
|
2752
3078
|
listId?: string;
|
|
3079
|
+
/**
|
|
3080
|
+
* Analyze the posts of several public Lists in 1 search. Send their IDs or URLs.
|
|
3081
|
+
* listId, when sent, joins them.
|
|
3082
|
+
*/
|
|
3083
|
+
listIds?: Array<string>;
|
|
3084
|
+
/**
|
|
3085
|
+
* Analyze 1 account's posts with photos or videos, as its Media tab shows them.
|
|
3086
|
+
* /x/users/{id}/media reads the same posts. Send a handle, with or without @, a
|
|
3087
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
3088
|
+
*/
|
|
3089
|
+
mediaBy?: string;
|
|
3090
|
+
/**
|
|
3091
|
+
* X searches to analyze as 1 search. A post matching any of them counts. Each
|
|
3092
|
+
* takes the operators of query. query, when sent, joins them. X searches up to 512
|
|
3093
|
+
* characters, counted with the other search fields.
|
|
3094
|
+
*/
|
|
3095
|
+
queries?: Array<string>;
|
|
2753
3096
|
/**
|
|
2754
3097
|
* X search to analyze, with the operators of /x/tweets/search, such as from:nasa
|
|
2755
3098
|
* or lang:en. X searches up to 512 characters, counted with the other search
|
|
@@ -2764,6 +3107,12 @@ export interface AnalysisNewsParams {
|
|
|
2764
3107
|
* Analyze the quotes of 1 post. Send its ID or URL.
|
|
2765
3108
|
*/
|
|
2766
3109
|
quotesOf?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* Analyze 1 account's posts & replies, as its Replies tab shows them.
|
|
3112
|
+
* /x/users/{id}/replies reads the same posts. Send a handle, with or without @, a
|
|
3113
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
3114
|
+
*/
|
|
3115
|
+
repliesBy?: string;
|
|
2767
3116
|
/**
|
|
2768
3117
|
* Analyze the replies in 1 post's conversation. Send its ID or URL.
|
|
2769
3118
|
*/
|
|
@@ -2774,12 +3123,27 @@ export interface AnalysisNewsParams {
|
|
|
2774
3123
|
*/
|
|
2775
3124
|
sinceTime?: string | number;
|
|
2776
3125
|
/**
|
|
2777
|
-
* Your own texts to analyze, such as drafts
|
|
2778
|
-
* the same as 1 analyzed post.
|
|
3126
|
+
* Your own texts to analyze, such as drafts, as many as the body holds. Reads
|
|
3127
|
+
* nothing from X. Each text costs the same as 1 analyzed post. Texts left when the
|
|
3128
|
+
* time runs out come back in unprocessed_ids.
|
|
2779
3129
|
*/
|
|
2780
3130
|
texts?: Array<string>;
|
|
2781
3131
|
/**
|
|
2782
|
-
*
|
|
3132
|
+
* Analyze 1 post's thread, as /x/tweets/{id}/thread reads it. Send the post's ID
|
|
3133
|
+
* or URL. Send no other posts or search with it.
|
|
3134
|
+
*/
|
|
3135
|
+
threadOf?: string;
|
|
3136
|
+
/**
|
|
3137
|
+
* Keep only posts about this topic, the same as the Actors' topic input.
|
|
3138
|
+
* AI-powered analysis asks "Is this post about <topic>?" of each post & keeps
|
|
3139
|
+
* scores of 0.5 or more. Only kept posts are analyzed & cost 2 credits each, & a
|
|
3140
|
+
* post the filter drops costs nothing. topicFilter states the cutoff & counts.
|
|
3141
|
+
* Send topic or imageShows, not both.
|
|
3142
|
+
*/
|
|
3143
|
+
topic?: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* Post IDs or post URLs to analyze, as many as the body holds. Posts left when the
|
|
3146
|
+
* time runs out come back in unprocessed_ids.
|
|
2783
3147
|
*/
|
|
2784
3148
|
tweetIds?: Array<string>;
|
|
2785
3149
|
/**
|
|
@@ -2791,6 +3155,11 @@ export interface AnalysisNewsParams {
|
|
|
2791
3155
|
* Analyze 1 account's posts. Send a handle, with or without @, or a profile URL.
|
|
2792
3156
|
*/
|
|
2793
3157
|
username?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* Analyze the posts of several accounts in 1 search. Send handles, with or
|
|
3160
|
+
* without @, or profile URLs. username, when sent, joins them.
|
|
3161
|
+
*/
|
|
3162
|
+
usernames?: Array<string>;
|
|
2794
3163
|
}
|
|
2795
3164
|
export declare namespace AnalysisNewsParams {
|
|
2796
3165
|
/**
|
|
@@ -2806,6 +3175,11 @@ export declare namespace AnalysisNewsParams {
|
|
|
2806
3175
|
* Background the AI reads with every post.
|
|
2807
3176
|
*/
|
|
2808
3177
|
context?: string;
|
|
3178
|
+
/**
|
|
3179
|
+
* Reads up to 4 images per post with its text, at no extra cost. Images of posts X
|
|
3180
|
+
* marks sensitive stay unread. Send false to analyze the text alone.
|
|
3181
|
+
*/
|
|
3182
|
+
images?: boolean;
|
|
2809
3183
|
/**
|
|
2810
3184
|
* Bytes of post, quote & settings the AI reads. Longer posts are cut to fit. Empty
|
|
2811
3185
|
* settings take 219 bytes, so a smaller value gets a 400.
|
|
@@ -2920,17 +3294,51 @@ export interface AnalysisSentimentParams {
|
|
|
2920
3294
|
*/
|
|
2921
3295
|
baseline?: Array<AnalysisSentimentParams.Baseline>;
|
|
2922
3296
|
/**
|
|
2923
|
-
* The next_cursor of the page before. Send the same search with it.
|
|
3297
|
+
* The next_cursor of the page before. Send the same search or page with it.
|
|
2924
3298
|
*/
|
|
2925
3299
|
cursor?: string;
|
|
2926
3300
|
/**
|
|
2927
|
-
*
|
|
3301
|
+
* Keep only posts whose photos show this, the same as the Actors' imageShows
|
|
3302
|
+
* input. Send charts, screenshots, product_photos, memes or people, or describe it
|
|
3303
|
+
* in words, such as a rocket. AI-powered analysis checks posts with photos X
|
|
3304
|
+
* doesn't mark sensitive & keeps scores of 0.5 or more. Only kept posts are
|
|
3305
|
+
* analyzed & cost 2 credits each. imageFilter states the cutoff & counts. Send
|
|
3306
|
+
* topic or imageShows, not both.
|
|
3307
|
+
*/
|
|
3308
|
+
imageShows?: string;
|
|
3309
|
+
/**
|
|
3310
|
+
* Analyze the posts 1 account liked, as /x/users/{id}/likes reads them. Send a
|
|
3311
|
+
* handle, with or without @, a user ID or a profile URL. Send no other posts or
|
|
3312
|
+
* search with it.
|
|
3313
|
+
*/
|
|
3314
|
+
likedBy?: string;
|
|
3315
|
+
/**
|
|
3316
|
+
* Maximum posts to analyze from the search or page. A low credit balance can
|
|
3317
|
+
* return fewer. When the time runs out first, send next_cursor as cursor for the
|
|
3318
|
+
* rest.
|
|
2928
3319
|
*/
|
|
2929
3320
|
limit?: number;
|
|
2930
3321
|
/**
|
|
2931
3322
|
* Analyze a public List's posts. Send its ID or URL.
|
|
2932
3323
|
*/
|
|
2933
3324
|
listId?: string;
|
|
3325
|
+
/**
|
|
3326
|
+
* Analyze the posts of several public Lists in 1 search. Send their IDs or URLs.
|
|
3327
|
+
* listId, when sent, joins them.
|
|
3328
|
+
*/
|
|
3329
|
+
listIds?: Array<string>;
|
|
3330
|
+
/**
|
|
3331
|
+
* Analyze 1 account's posts with photos or videos, as its Media tab shows them.
|
|
3332
|
+
* /x/users/{id}/media reads the same posts. Send a handle, with or without @, a
|
|
3333
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
3334
|
+
*/
|
|
3335
|
+
mediaBy?: string;
|
|
3336
|
+
/**
|
|
3337
|
+
* X searches to analyze as 1 search. A post matching any of them counts. Each
|
|
3338
|
+
* takes the operators of query. query, when sent, joins them. X searches up to 512
|
|
3339
|
+
* characters, counted with the other search fields.
|
|
3340
|
+
*/
|
|
3341
|
+
queries?: Array<string>;
|
|
2934
3342
|
/**
|
|
2935
3343
|
* X search to analyze, with the operators of /x/tweets/search, such as from:nasa
|
|
2936
3344
|
* or lang:en. X searches up to 512 characters, counted with the other search
|
|
@@ -2945,6 +3353,12 @@ export interface AnalysisSentimentParams {
|
|
|
2945
3353
|
* Analyze the quotes of 1 post. Send its ID or URL.
|
|
2946
3354
|
*/
|
|
2947
3355
|
quotesOf?: string;
|
|
3356
|
+
/**
|
|
3357
|
+
* Analyze 1 account's posts & replies, as its Replies tab shows them.
|
|
3358
|
+
* /x/users/{id}/replies reads the same posts. Send a handle, with or without @, a
|
|
3359
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
3360
|
+
*/
|
|
3361
|
+
repliesBy?: string;
|
|
2948
3362
|
/**
|
|
2949
3363
|
* Analyze the replies in 1 post's conversation. Send its ID or URL.
|
|
2950
3364
|
*/
|
|
@@ -2955,12 +3369,27 @@ export interface AnalysisSentimentParams {
|
|
|
2955
3369
|
*/
|
|
2956
3370
|
sinceTime?: string | number;
|
|
2957
3371
|
/**
|
|
2958
|
-
* Your own texts to analyze, such as drafts
|
|
2959
|
-
* the same as 1 analyzed post.
|
|
3372
|
+
* Your own texts to analyze, such as drafts, as many as the body holds. Reads
|
|
3373
|
+
* nothing from X. Each text costs the same as 1 analyzed post. Texts left when the
|
|
3374
|
+
* time runs out come back in unprocessed_ids.
|
|
2960
3375
|
*/
|
|
2961
3376
|
texts?: Array<string>;
|
|
2962
3377
|
/**
|
|
2963
|
-
*
|
|
3378
|
+
* Analyze 1 post's thread, as /x/tweets/{id}/thread reads it. Send the post's ID
|
|
3379
|
+
* or URL. Send no other posts or search with it.
|
|
3380
|
+
*/
|
|
3381
|
+
threadOf?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
* Keep only posts about this topic, the same as the Actors' topic input.
|
|
3384
|
+
* AI-powered analysis asks "Is this post about <topic>?" of each post & keeps
|
|
3385
|
+
* scores of 0.5 or more. Only kept posts are analyzed & cost 2 credits each, & a
|
|
3386
|
+
* post the filter drops costs nothing. topicFilter states the cutoff & counts.
|
|
3387
|
+
* Send topic or imageShows, not both.
|
|
3388
|
+
*/
|
|
3389
|
+
topic?: string;
|
|
3390
|
+
/**
|
|
3391
|
+
* Post IDs or post URLs to analyze, as many as the body holds. Posts left when the
|
|
3392
|
+
* time runs out come back in unprocessed_ids.
|
|
2964
3393
|
*/
|
|
2965
3394
|
tweetIds?: Array<string>;
|
|
2966
3395
|
/**
|
|
@@ -2972,6 +3401,11 @@ export interface AnalysisSentimentParams {
|
|
|
2972
3401
|
* Analyze 1 account's posts. Send a handle, with or without @, or a profile URL.
|
|
2973
3402
|
*/
|
|
2974
3403
|
username?: string;
|
|
3404
|
+
/**
|
|
3405
|
+
* Analyze the posts of several accounts in 1 search. Send handles, with or
|
|
3406
|
+
* without @, or profile URLs. username, when sent, joins them.
|
|
3407
|
+
*/
|
|
3408
|
+
usernames?: Array<string>;
|
|
2975
3409
|
}
|
|
2976
3410
|
export declare namespace AnalysisSentimentParams {
|
|
2977
3411
|
/**
|
|
@@ -2987,6 +3421,11 @@ export declare namespace AnalysisSentimentParams {
|
|
|
2987
3421
|
* Background the AI reads with every post.
|
|
2988
3422
|
*/
|
|
2989
3423
|
context?: string;
|
|
3424
|
+
/**
|
|
3425
|
+
* Reads up to 4 images per post with its text, at no extra cost. Images of posts X
|
|
3426
|
+
* marks sensitive stay unread. Send false to analyze the text alone.
|
|
3427
|
+
*/
|
|
3428
|
+
images?: boolean;
|
|
2990
3429
|
/**
|
|
2991
3430
|
* Bytes of post, quote & settings the AI reads. Longer posts are cut to fit. Empty
|
|
2992
3431
|
* settings take 219 bytes, so a smaller value gets a 400.
|
|
@@ -3101,17 +3540,51 @@ export interface AnalysisViralScoreParams {
|
|
|
3101
3540
|
*/
|
|
3102
3541
|
baseline?: Array<AnalysisViralScoreParams.Baseline>;
|
|
3103
3542
|
/**
|
|
3104
|
-
* The next_cursor of the page before. Send the same search with it.
|
|
3543
|
+
* The next_cursor of the page before. Send the same search or page with it.
|
|
3105
3544
|
*/
|
|
3106
3545
|
cursor?: string;
|
|
3107
3546
|
/**
|
|
3108
|
-
*
|
|
3547
|
+
* Keep only posts whose photos show this, the same as the Actors' imageShows
|
|
3548
|
+
* input. Send charts, screenshots, product_photos, memes or people, or describe it
|
|
3549
|
+
* in words, such as a rocket. AI-powered analysis checks posts with photos X
|
|
3550
|
+
* doesn't mark sensitive & keeps scores of 0.5 or more. Only kept posts are
|
|
3551
|
+
* analyzed & cost 2 credits each. imageFilter states the cutoff & counts. Send
|
|
3552
|
+
* topic or imageShows, not both.
|
|
3553
|
+
*/
|
|
3554
|
+
imageShows?: string;
|
|
3555
|
+
/**
|
|
3556
|
+
* Analyze the posts 1 account liked, as /x/users/{id}/likes reads them. Send a
|
|
3557
|
+
* handle, with or without @, a user ID or a profile URL. Send no other posts or
|
|
3558
|
+
* search with it.
|
|
3559
|
+
*/
|
|
3560
|
+
likedBy?: string;
|
|
3561
|
+
/**
|
|
3562
|
+
* Maximum posts to analyze from the search or page. A low credit balance can
|
|
3563
|
+
* return fewer. When the time runs out first, send next_cursor as cursor for the
|
|
3564
|
+
* rest.
|
|
3109
3565
|
*/
|
|
3110
3566
|
limit?: number;
|
|
3111
3567
|
/**
|
|
3112
3568
|
* Analyze a public List's posts. Send its ID or URL.
|
|
3113
3569
|
*/
|
|
3114
3570
|
listId?: string;
|
|
3571
|
+
/**
|
|
3572
|
+
* Analyze the posts of several public Lists in 1 search. Send their IDs or URLs.
|
|
3573
|
+
* listId, when sent, joins them.
|
|
3574
|
+
*/
|
|
3575
|
+
listIds?: Array<string>;
|
|
3576
|
+
/**
|
|
3577
|
+
* Analyze 1 account's posts with photos or videos, as its Media tab shows them.
|
|
3578
|
+
* /x/users/{id}/media reads the same posts. Send a handle, with or without @, a
|
|
3579
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
3580
|
+
*/
|
|
3581
|
+
mediaBy?: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* X searches to analyze as 1 search. A post matching any of them counts. Each
|
|
3584
|
+
* takes the operators of query. query, when sent, joins them. X searches up to 512
|
|
3585
|
+
* characters, counted with the other search fields.
|
|
3586
|
+
*/
|
|
3587
|
+
queries?: Array<string>;
|
|
3115
3588
|
/**
|
|
3116
3589
|
* X search to analyze, with the operators of /x/tweets/search, such as from:nasa
|
|
3117
3590
|
* or lang:en. X searches up to 512 characters, counted with the other search
|
|
@@ -3126,6 +3599,12 @@ export interface AnalysisViralScoreParams {
|
|
|
3126
3599
|
* Analyze the quotes of 1 post. Send its ID or URL.
|
|
3127
3600
|
*/
|
|
3128
3601
|
quotesOf?: string;
|
|
3602
|
+
/**
|
|
3603
|
+
* Analyze 1 account's posts & replies, as its Replies tab shows them.
|
|
3604
|
+
* /x/users/{id}/replies reads the same posts. Send a handle, with or without @, a
|
|
3605
|
+
* user ID or a profile URL. Send no other posts or search with it.
|
|
3606
|
+
*/
|
|
3607
|
+
repliesBy?: string;
|
|
3129
3608
|
/**
|
|
3130
3609
|
* Analyze the replies in 1 post's conversation. Send its ID or URL.
|
|
3131
3610
|
*/
|
|
@@ -3136,12 +3615,27 @@ export interface AnalysisViralScoreParams {
|
|
|
3136
3615
|
*/
|
|
3137
3616
|
sinceTime?: string | number;
|
|
3138
3617
|
/**
|
|
3139
|
-
* Your own texts to analyze, such as drafts
|
|
3140
|
-
* the same as 1 analyzed post.
|
|
3618
|
+
* Your own texts to analyze, such as drafts, as many as the body holds. Reads
|
|
3619
|
+
* nothing from X. Each text costs the same as 1 analyzed post. Texts left when the
|
|
3620
|
+
* time runs out come back in unprocessed_ids.
|
|
3141
3621
|
*/
|
|
3142
3622
|
texts?: Array<string>;
|
|
3143
3623
|
/**
|
|
3144
|
-
*
|
|
3624
|
+
* Analyze 1 post's thread, as /x/tweets/{id}/thread reads it. Send the post's ID
|
|
3625
|
+
* or URL. Send no other posts or search with it.
|
|
3626
|
+
*/
|
|
3627
|
+
threadOf?: string;
|
|
3628
|
+
/**
|
|
3629
|
+
* Keep only posts about this topic, the same as the Actors' topic input.
|
|
3630
|
+
* AI-powered analysis asks "Is this post about <topic>?" of each post & keeps
|
|
3631
|
+
* scores of 0.5 or more. Only kept posts are analyzed & cost 2 credits each, & a
|
|
3632
|
+
* post the filter drops costs nothing. topicFilter states the cutoff & counts.
|
|
3633
|
+
* Send topic or imageShows, not both.
|
|
3634
|
+
*/
|
|
3635
|
+
topic?: string;
|
|
3636
|
+
/**
|
|
3637
|
+
* Post IDs or post URLs to analyze, as many as the body holds. Posts left when the
|
|
3638
|
+
* time runs out come back in unprocessed_ids.
|
|
3145
3639
|
*/
|
|
3146
3640
|
tweetIds?: Array<string>;
|
|
3147
3641
|
/**
|
|
@@ -3153,6 +3647,11 @@ export interface AnalysisViralScoreParams {
|
|
|
3153
3647
|
* Analyze 1 account's posts. Send a handle, with or without @, or a profile URL.
|
|
3154
3648
|
*/
|
|
3155
3649
|
username?: string;
|
|
3650
|
+
/**
|
|
3651
|
+
* Analyze the posts of several accounts in 1 search. Send handles, with or
|
|
3652
|
+
* without @, or profile URLs. username, when sent, joins them.
|
|
3653
|
+
*/
|
|
3654
|
+
usernames?: Array<string>;
|
|
3156
3655
|
}
|
|
3157
3656
|
export declare namespace AnalysisViralScoreParams {
|
|
3158
3657
|
/**
|
|
@@ -3168,6 +3667,11 @@ export declare namespace AnalysisViralScoreParams {
|
|
|
3168
3667
|
* Background the AI reads with every post.
|
|
3169
3668
|
*/
|
|
3170
3669
|
context?: string;
|
|
3670
|
+
/**
|
|
3671
|
+
* Reads up to 4 images per post with its text, at no extra cost. Images of posts X
|
|
3672
|
+
* marks sensitive stay unread. Send false to analyze the text alone.
|
|
3673
|
+
*/
|
|
3674
|
+
images?: boolean;
|
|
3171
3675
|
/**
|
|
3172
3676
|
* Bytes of post, quote & settings the AI reads. Longer posts are cut to fit. Empty
|
|
3173
3677
|
* settings take 219 bytes, so a smaller value gets a 400.
|