scavio 0.7.0 → 0.8.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/README.md +14 -14
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -924,7 +924,7 @@ declare class YouTubeNamespace {
|
|
|
924
924
|
streams(options: YouTubeStreamsOptions): Promise<Record<string, unknown>>;
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
-
interface
|
|
927
|
+
interface XSearchOptions {
|
|
928
928
|
/** Search query (1-500 characters). */
|
|
929
929
|
search: string;
|
|
930
930
|
/** Result category (default 'Top'). */
|
|
@@ -933,12 +933,12 @@ interface TwitterSearchOptions {
|
|
|
933
933
|
cursor?: string;
|
|
934
934
|
[key: string]: unknown;
|
|
935
935
|
}
|
|
936
|
-
interface
|
|
936
|
+
interface XTweetOptions {
|
|
937
937
|
/** Tweet id. */
|
|
938
938
|
tweet_id: string;
|
|
939
939
|
[key: string]: unknown;
|
|
940
940
|
}
|
|
941
|
-
interface
|
|
941
|
+
interface XTweetCommentsOptions {
|
|
942
942
|
/** Tweet id. */
|
|
943
943
|
tweet_id: string;
|
|
944
944
|
/** 'top' (ranked) or 'latest' (chronological); default 'top'. */
|
|
@@ -947,44 +947,44 @@ interface TwitterTweetCommentsOptions {
|
|
|
947
947
|
cursor?: string;
|
|
948
948
|
[key: string]: unknown;
|
|
949
949
|
}
|
|
950
|
-
interface
|
|
950
|
+
interface XTweetRetweetersOptions {
|
|
951
951
|
/** Tweet id. */
|
|
952
952
|
tweet_id: string;
|
|
953
953
|
/** Pagination cursor from a prior response. */
|
|
954
954
|
cursor?: string;
|
|
955
955
|
[key: string]: unknown;
|
|
956
956
|
}
|
|
957
|
-
interface
|
|
958
|
-
/**
|
|
957
|
+
interface XUserOptions {
|
|
958
|
+
/** An X handle (without the @). */
|
|
959
959
|
screen_name: string;
|
|
960
960
|
[key: string]: unknown;
|
|
961
961
|
}
|
|
962
|
-
interface
|
|
963
|
-
/**
|
|
962
|
+
interface XUserFeedOptions {
|
|
963
|
+
/** An X handle (without the @). */
|
|
964
964
|
screen_name: string;
|
|
965
965
|
/** Pagination cursor from a prior response. */
|
|
966
966
|
cursor?: string;
|
|
967
967
|
[key: string]: unknown;
|
|
968
968
|
}
|
|
969
|
-
interface
|
|
969
|
+
interface XTrendingOptions {
|
|
970
970
|
/** Country name (default 'UnitedStates'). */
|
|
971
971
|
country?: string;
|
|
972
972
|
[key: string]: unknown;
|
|
973
973
|
}
|
|
974
|
-
declare class
|
|
974
|
+
declare class XNamespace {
|
|
975
975
|
private client;
|
|
976
976
|
constructor(client: Scavio);
|
|
977
|
-
search(options:
|
|
978
|
-
tweet(options:
|
|
979
|
-
tweetComments(options:
|
|
980
|
-
tweetRetweeters(options:
|
|
981
|
-
user(options:
|
|
982
|
-
userTweets(options:
|
|
983
|
-
userReplies(options:
|
|
984
|
-
userMedia(options:
|
|
985
|
-
userFollowers(options:
|
|
986
|
-
userFollowings(options:
|
|
987
|
-
trending(options?:
|
|
977
|
+
search(options: XSearchOptions): Promise<Record<string, unknown>>;
|
|
978
|
+
tweet(options: XTweetOptions): Promise<Record<string, unknown>>;
|
|
979
|
+
tweetComments(options: XTweetCommentsOptions): Promise<Record<string, unknown>>;
|
|
980
|
+
tweetRetweeters(options: XTweetRetweetersOptions): Promise<Record<string, unknown>>;
|
|
981
|
+
user(options: XUserOptions): Promise<Record<string, unknown>>;
|
|
982
|
+
userTweets(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
983
|
+
userReplies(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
984
|
+
userMedia(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
985
|
+
userFollowers(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
986
|
+
userFollowings(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
987
|
+
trending(options?: XTrendingOptions): Promise<Record<string, unknown>>;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
interface LinkedInPersonOptions {
|
|
@@ -1153,7 +1153,7 @@ declare class Scavio {
|
|
|
1153
1153
|
readonly reddit: RedditNamespace;
|
|
1154
1154
|
readonly tiktok: TikTokNamespace;
|
|
1155
1155
|
readonly instagram: InstagramNamespace;
|
|
1156
|
-
readonly
|
|
1156
|
+
readonly x: XNamespace;
|
|
1157
1157
|
readonly linkedin: LinkedInNamespace;
|
|
1158
1158
|
private readonly apiKey;
|
|
1159
1159
|
private readonly baseUrl;
|
|
@@ -1214,4 +1214,4 @@ declare class ScavioAPIError extends ScavioError {
|
|
|
1214
1214
|
constructor(statusCode: number, message: string, responseBody?: Record<string, unknown>);
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
|
-
export { type AmazonProductOptions, type AmazonSearchOptions, BadRequestError, type GoogleAiModeOptions, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, type GoogleNewsOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramPostCommentsOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, InsufficientCreditsError, InvalidAPIKeyError, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyRefOptions, type LinkedInJobOptions, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RedditCommentRepliesOptions, type RedditFeedSort, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioTimeoutError, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokProfileOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPostsOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type
|
|
1217
|
+
export { type AmazonProductOptions, type AmazonSearchOptions, BadRequestError, type GoogleAiModeOptions, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, type GoogleNewsOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramPostCommentsOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, InsufficientCreditsError, InvalidAPIKeyError, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyRefOptions, type LinkedInJobOptions, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RedditCommentRepliesOptions, type RedditFeedSort, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioTimeoutError, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokProfileOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPostsOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type WalmartProductOptions, type WalmartSearchOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeMetadataOptions, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -924,7 +924,7 @@ declare class YouTubeNamespace {
|
|
|
924
924
|
streams(options: YouTubeStreamsOptions): Promise<Record<string, unknown>>;
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
-
interface
|
|
927
|
+
interface XSearchOptions {
|
|
928
928
|
/** Search query (1-500 characters). */
|
|
929
929
|
search: string;
|
|
930
930
|
/** Result category (default 'Top'). */
|
|
@@ -933,12 +933,12 @@ interface TwitterSearchOptions {
|
|
|
933
933
|
cursor?: string;
|
|
934
934
|
[key: string]: unknown;
|
|
935
935
|
}
|
|
936
|
-
interface
|
|
936
|
+
interface XTweetOptions {
|
|
937
937
|
/** Tweet id. */
|
|
938
938
|
tweet_id: string;
|
|
939
939
|
[key: string]: unknown;
|
|
940
940
|
}
|
|
941
|
-
interface
|
|
941
|
+
interface XTweetCommentsOptions {
|
|
942
942
|
/** Tweet id. */
|
|
943
943
|
tweet_id: string;
|
|
944
944
|
/** 'top' (ranked) or 'latest' (chronological); default 'top'. */
|
|
@@ -947,44 +947,44 @@ interface TwitterTweetCommentsOptions {
|
|
|
947
947
|
cursor?: string;
|
|
948
948
|
[key: string]: unknown;
|
|
949
949
|
}
|
|
950
|
-
interface
|
|
950
|
+
interface XTweetRetweetersOptions {
|
|
951
951
|
/** Tweet id. */
|
|
952
952
|
tweet_id: string;
|
|
953
953
|
/** Pagination cursor from a prior response. */
|
|
954
954
|
cursor?: string;
|
|
955
955
|
[key: string]: unknown;
|
|
956
956
|
}
|
|
957
|
-
interface
|
|
958
|
-
/**
|
|
957
|
+
interface XUserOptions {
|
|
958
|
+
/** An X handle (without the @). */
|
|
959
959
|
screen_name: string;
|
|
960
960
|
[key: string]: unknown;
|
|
961
961
|
}
|
|
962
|
-
interface
|
|
963
|
-
/**
|
|
962
|
+
interface XUserFeedOptions {
|
|
963
|
+
/** An X handle (without the @). */
|
|
964
964
|
screen_name: string;
|
|
965
965
|
/** Pagination cursor from a prior response. */
|
|
966
966
|
cursor?: string;
|
|
967
967
|
[key: string]: unknown;
|
|
968
968
|
}
|
|
969
|
-
interface
|
|
969
|
+
interface XTrendingOptions {
|
|
970
970
|
/** Country name (default 'UnitedStates'). */
|
|
971
971
|
country?: string;
|
|
972
972
|
[key: string]: unknown;
|
|
973
973
|
}
|
|
974
|
-
declare class
|
|
974
|
+
declare class XNamespace {
|
|
975
975
|
private client;
|
|
976
976
|
constructor(client: Scavio);
|
|
977
|
-
search(options:
|
|
978
|
-
tweet(options:
|
|
979
|
-
tweetComments(options:
|
|
980
|
-
tweetRetweeters(options:
|
|
981
|
-
user(options:
|
|
982
|
-
userTweets(options:
|
|
983
|
-
userReplies(options:
|
|
984
|
-
userMedia(options:
|
|
985
|
-
userFollowers(options:
|
|
986
|
-
userFollowings(options:
|
|
987
|
-
trending(options?:
|
|
977
|
+
search(options: XSearchOptions): Promise<Record<string, unknown>>;
|
|
978
|
+
tweet(options: XTweetOptions): Promise<Record<string, unknown>>;
|
|
979
|
+
tweetComments(options: XTweetCommentsOptions): Promise<Record<string, unknown>>;
|
|
980
|
+
tweetRetweeters(options: XTweetRetweetersOptions): Promise<Record<string, unknown>>;
|
|
981
|
+
user(options: XUserOptions): Promise<Record<string, unknown>>;
|
|
982
|
+
userTweets(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
983
|
+
userReplies(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
984
|
+
userMedia(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
985
|
+
userFollowers(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
986
|
+
userFollowings(options: XUserFeedOptions): Promise<Record<string, unknown>>;
|
|
987
|
+
trending(options?: XTrendingOptions): Promise<Record<string, unknown>>;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
interface LinkedInPersonOptions {
|
|
@@ -1153,7 +1153,7 @@ declare class Scavio {
|
|
|
1153
1153
|
readonly reddit: RedditNamespace;
|
|
1154
1154
|
readonly tiktok: TikTokNamespace;
|
|
1155
1155
|
readonly instagram: InstagramNamespace;
|
|
1156
|
-
readonly
|
|
1156
|
+
readonly x: XNamespace;
|
|
1157
1157
|
readonly linkedin: LinkedInNamespace;
|
|
1158
1158
|
private readonly apiKey;
|
|
1159
1159
|
private readonly baseUrl;
|
|
@@ -1214,4 +1214,4 @@ declare class ScavioAPIError extends ScavioError {
|
|
|
1214
1214
|
constructor(statusCode: number, message: string, responseBody?: Record<string, unknown>);
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
|
-
export { type AmazonProductOptions, type AmazonSearchOptions, BadRequestError, type GoogleAiModeOptions, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, type GoogleNewsOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramPostCommentsOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, InsufficientCreditsError, InvalidAPIKeyError, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyRefOptions, type LinkedInJobOptions, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RedditCommentRepliesOptions, type RedditFeedSort, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioTimeoutError, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokProfileOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPostsOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type
|
|
1217
|
+
export { type AmazonProductOptions, type AmazonSearchOptions, BadRequestError, type GoogleAiModeOptions, type GoogleFlightsOptions, type GoogleHotelsDetailOptions, type GoogleHotelsOptions, type GoogleMapsPlaceOptions, type GoogleMapsReviewsOptions, type GoogleMapsSearchOptions, type GoogleNewsOptions, type GoogleSearchOptions, type GoogleShoppingOptions, type GoogleShoppingProductOptions, type GoogleShoppingStoresOptions, type GoogleTrendingOptions, type GoogleTrendsOptions, type InstagramCommentRepliesOptions, type InstagramFollowOptions, type InstagramPostCommentsOptions, type InstagramPostOptions, type InstagramProfileOptions, type InstagramSearchOptions, type InstagramStoriesOptions, type InstagramUserFeedOptions, InsufficientCreditsError, InvalidAPIKeyError, type LinkedInCompanyOptions, type LinkedInCompanyPostsOptions, type LinkedInCompanyRefOptions, type LinkedInJobOptions, type LinkedInPersonContactOptions, type LinkedInPersonOptions, type LinkedInPersonPostsOptions, type LinkedInPersonRefOptions, type LinkedInPostCommentsOptions, type LinkedInPostOptions, type LinkedInSearchJobsOptions, type LinkedInSearchPeopleOptions, type LinkedInSearchPostsOptions, MissingAPIKeyError, NotFoundError, RateLimitError, type RedditCommentRepliesOptions, type RedditFeedSort, type RedditPopularOptions, type RedditPostCommentsOptions, type RedditPostOptions, type RedditSearchOptions, type RedditSearchSuggestionsOptions, type RedditSort, type RedditSubredditOptions, type RedditSubredditPostsOptions, type RedditUserFeedOptions, type RedditUserOptions, Scavio, ScavioAPIError, type ScavioConfig, ScavioConnectionError, ScavioError, ScavioTimeoutError, type TikTokCommentRepliesOptions, type TikTokHashtagOptions, type TikTokHashtagVideosOptions, type TikTokProfileOptions, type TikTokSearchUsersOptions, type TikTokSearchVideosOptions, type TikTokUserFollowersOptions, type TikTokUserFollowingsOptions, type TikTokUserPostsOptions, type TikTokVideoCommentsOptions, type TikTokVideoOptions, type WalmartProductOptions, type WalmartSearchOptions, type XSearchOptions, type XTrendingOptions, type XTweetCommentsOptions, type XTweetOptions, type XTweetRetweetersOptions, type XUserFeedOptions, type XUserOptions, type YouTubeChannelCommunityOptions, type YouTubeChannelOptions, type YouTubeChannelResolveOptions, type YouTubeChannelSearchOptions, type YouTubeChannelShortsOptions, type YouTubeChannelVideosOptions, type YouTubeCommentRepliesOptions, type YouTubeCommentsOptions, type YouTubeMetadataOptions, type YouTubeRelatedOptions, type YouTubeSearchOptions, type YouTubeShortsOptions, type YouTubeStreamsOptions, type YouTubeSuggestionsOptions, type YouTubeTranscriptOptions, type YouTubeVideoOptions };
|
package/dist/index.js
CHANGED
|
@@ -565,44 +565,44 @@ var YouTubeNamespace = class {
|
|
|
565
565
|
}
|
|
566
566
|
};
|
|
567
567
|
|
|
568
|
-
// src/namespaces/
|
|
569
|
-
var
|
|
568
|
+
// src/namespaces/x.ts
|
|
569
|
+
var XNamespace = class {
|
|
570
570
|
constructor(client) {
|
|
571
571
|
this.client = client;
|
|
572
572
|
}
|
|
573
573
|
client;
|
|
574
574
|
async search(options) {
|
|
575
|
-
return this.client._post("/api/v1/
|
|
575
|
+
return this.client._post("/api/v1/x/search", options);
|
|
576
576
|
}
|
|
577
577
|
async tweet(options) {
|
|
578
|
-
return this.client._post("/api/v1/
|
|
578
|
+
return this.client._post("/api/v1/x/tweet", options);
|
|
579
579
|
}
|
|
580
580
|
async tweetComments(options) {
|
|
581
|
-
return this.client._post("/api/v1/
|
|
581
|
+
return this.client._post("/api/v1/x/tweet/comments", options);
|
|
582
582
|
}
|
|
583
583
|
async tweetRetweeters(options) {
|
|
584
|
-
return this.client._post("/api/v1/
|
|
584
|
+
return this.client._post("/api/v1/x/tweet/retweeters", options);
|
|
585
585
|
}
|
|
586
586
|
async user(options) {
|
|
587
|
-
return this.client._post("/api/v1/
|
|
587
|
+
return this.client._post("/api/v1/x/user", options);
|
|
588
588
|
}
|
|
589
589
|
async userTweets(options) {
|
|
590
|
-
return this.client._post("/api/v1/
|
|
590
|
+
return this.client._post("/api/v1/x/user/tweets", options);
|
|
591
591
|
}
|
|
592
592
|
async userReplies(options) {
|
|
593
|
-
return this.client._post("/api/v1/
|
|
593
|
+
return this.client._post("/api/v1/x/user/replies", options);
|
|
594
594
|
}
|
|
595
595
|
async userMedia(options) {
|
|
596
|
-
return this.client._post("/api/v1/
|
|
596
|
+
return this.client._post("/api/v1/x/user/media", options);
|
|
597
597
|
}
|
|
598
598
|
async userFollowers(options) {
|
|
599
|
-
return this.client._post("/api/v1/
|
|
599
|
+
return this.client._post("/api/v1/x/user/followers", options);
|
|
600
600
|
}
|
|
601
601
|
async userFollowings(options) {
|
|
602
|
-
return this.client._post("/api/v1/
|
|
602
|
+
return this.client._post("/api/v1/x/user/followings", options);
|
|
603
603
|
}
|
|
604
604
|
async trending(options = {}) {
|
|
605
|
-
return this.client._post("/api/v1/
|
|
605
|
+
return this.client._post("/api/v1/x/trending", options);
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
|
|
@@ -665,7 +665,7 @@ var Scavio = class {
|
|
|
665
665
|
reddit;
|
|
666
666
|
tiktok;
|
|
667
667
|
instagram;
|
|
668
|
-
|
|
668
|
+
x;
|
|
669
669
|
linkedin;
|
|
670
670
|
apiKey;
|
|
671
671
|
baseUrl;
|
|
@@ -692,7 +692,7 @@ var Scavio = class {
|
|
|
692
692
|
this.reddit = new RedditNamespace(this);
|
|
693
693
|
this.tiktok = new TikTokNamespace(this);
|
|
694
694
|
this.instagram = new InstagramNamespace(this);
|
|
695
|
-
this.
|
|
695
|
+
this.x = new XNamespace(this);
|
|
696
696
|
this.linkedin = new LinkedInNamespace(this);
|
|
697
697
|
}
|
|
698
698
|
/** @internal */
|