x-twitter-scraper 0.16.0 → 0.18.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 +44 -5
- package/README.md +1 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/detect-platform.d.mts +3 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts +3 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/events.d.mts +50 -11
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +50 -11
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.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 +2 -1
- package/resources/monitors/index.d.mts.map +1 -1
- package/resources/monitors/index.d.ts +2 -1
- package/resources/monitors/index.d.ts.map +1 -1
- package/resources/monitors/index.js +3 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs +1 -0
- package/resources/monitors/index.mjs.map +1 -1
- package/resources/monitors/keywords.d.mts +10 -96
- package/resources/monitors/keywords.d.mts.map +1 -1
- package/resources/monitors/keywords.d.ts +10 -96
- package/resources/monitors/keywords.d.ts.map +1 -1
- package/resources/monitors/monitors.d.mts +6 -2
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +6 -2
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +4 -0
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +4 -0
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/monitors/posts.d.mts +344 -0
- package/resources/monitors/posts.d.mts.map +1 -0
- package/resources/monitors/posts.d.ts +344 -0
- package/resources/monitors/posts.d.ts.map +1 -0
- package/resources/monitors/posts.js +94 -0
- package/resources/monitors/posts.js.map +1 -0
- package/resources/monitors/posts.mjs +90 -0
- package/resources/monitors/posts.mjs.map +1 -0
- package/resources/shared.d.mts +577 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +577 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/support/index.d.mts +1 -1
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +1 -1
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/index.js.map +1 -1
- package/resources/support/index.mjs.map +1 -1
- package/resources/support/support.d.mts +2 -2
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +2 -2
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.js.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets.d.mts +12 -20
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +12 -20
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/webhooks.d.mts +5 -4
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +5 -4
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/accounts.d.mts +14 -4
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +14 -4
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +6 -4
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +6 -4
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/broadcasts.d.mts +3 -131
- package/resources/x/broadcasts.d.mts.map +1 -1
- package/resources/x/broadcasts.d.ts +3 -131
- package/resources/x/broadcasts.d.ts.map +1 -1
- package/resources/x/communities/communities.d.mts +92 -1
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +92 -1
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +14 -0
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +14 -0
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/index.d.mts +1 -1
- package/resources/x/communities/index.d.mts.map +1 -1
- package/resources/x/communities/index.d.ts +1 -1
- package/resources/x/communities/index.d.ts.map +1 -1
- package/resources/x/communities/index.js.map +1 -1
- package/resources/x/communities/index.mjs.map +1 -1
- package/resources/x/community-notes.d.mts +122 -510
- package/resources/x/community-notes.d.mts.map +1 -1
- package/resources/x/community-notes.d.ts +122 -510
- package/resources/x/community-notes.d.ts.map +1 -1
- package/resources/x/community-notes.js.map +1 -1
- package/resources/x/community-notes.mjs.map +1 -1
- package/resources/x/index.d.mts +7 -6
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +7 -6
- 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/jobs.d.mts +144 -291
- package/resources/x/jobs.d.mts.map +1 -1
- package/resources/x/jobs.d.ts +144 -291
- package/resources/x/jobs.d.ts.map +1 -1
- package/resources/x/jobs.js.map +1 -1
- package/resources/x/jobs.mjs.map +1 -1
- package/resources/x/lists.d.mts +21 -419
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +21 -419
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/spaces.d.mts +213 -693
- package/resources/x/spaces.d.mts.map +1 -1
- package/resources/x/spaces.d.ts +213 -693
- package/resources/x/spaces.d.ts.map +1 -1
- package/resources/x/spaces.js.map +1 -1
- package/resources/x/spaces.mjs.map +1 -1
- package/resources/x/sports.d.mts +1512 -0
- package/resources/x/sports.d.mts.map +1 -0
- package/resources/x/sports.d.ts +1512 -0
- package/resources/x/sports.d.ts.map +1 -0
- package/resources/x/sports.js +91 -0
- package/resources/x/sports.js.map +1 -0
- package/resources/x/sports.mjs +87 -0
- package/resources/x/sports.mjs.map +1 -0
- package/resources/x/tweets/tweets.d.mts +11 -13
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +11 -13
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/users/users.d.mts +29 -585
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +29 -585
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/x.d.mts +55 -118
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +55 -118
- 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/skills/x-twitter-scraper/references/api-endpoints-x-api.md +1 -0
- package/src/client.ts +8 -0
- package/src/internal/detect-platform.ts +2 -2
- package/src/resources/events.ts +72 -10
- package/src/resources/index.ts +1 -0
- package/src/resources/monitors/index.ts +21 -0
- package/src/resources/monitors/keywords.ts +10 -118
- package/src/resources/monitors/monitors.ts +46 -0
- package/src/resources/monitors/posts.ts +463 -0
- package/src/resources/shared.ts +773 -200
- package/src/resources/support/index.ts +1 -0
- package/src/resources/support/support.ts +2 -0
- package/src/resources/support/tickets.ts +14 -21
- package/src/resources/webhooks.ts +5 -4
- package/src/resources/x/accounts.ts +19 -4
- package/src/resources/x/broadcasts.ts +3 -159
- package/src/resources/x/communities/communities.ts +113 -0
- package/src/resources/x/communities/index.ts +3 -0
- package/src/resources/x/community-notes.ts +137 -582
- package/src/resources/x/index.ts +70 -0
- package/src/resources/x/jobs.ts +160 -334
- package/src/resources/x/lists.ts +21 -493
- package/src/resources/x/spaces.ts +227 -817
- package/src/resources/x/sports.ts +1877 -0
- package/src/resources/x/tweets/tweets.ts +15 -15
- package/src/resources/x/users/users.ts +29 -693
- package/src/resources/x/x.ts +191 -128
- 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
- package/src/lib/.keep +0 -2
package/src/resources/x/x.ts
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
} from './account-connection-challenges';
|
|
18
18
|
import * as AccountsAPI from './accounts';
|
|
19
19
|
import {
|
|
20
|
+
AccountBulkRetryParams,
|
|
20
21
|
AccountBulkRetryResponse,
|
|
21
22
|
AccountCreateParams,
|
|
22
23
|
AccountCreateResponse,
|
|
@@ -63,6 +64,9 @@ import {
|
|
|
63
64
|
CommunityNoteRetrieveContributorParams,
|
|
64
65
|
CommunityNoteRetrieveContributorResponse,
|
|
65
66
|
CommunityNotes,
|
|
67
|
+
CommunityNotesContributor,
|
|
68
|
+
CommunityNotesRatingOutcome,
|
|
69
|
+
PaginatedCommunityNotes,
|
|
66
70
|
} from './community-notes';
|
|
67
71
|
import * as DmAPI from './dm';
|
|
68
72
|
import {
|
|
@@ -78,6 +82,7 @@ import * as FollowersAPI from './followers';
|
|
|
78
82
|
import { FollowerCheckParams, FollowerCheckResponse, Followers } from './followers';
|
|
79
83
|
import * as JobsAPI from './jobs';
|
|
80
84
|
import {
|
|
85
|
+
Job,
|
|
81
86
|
JobListLocationsParams,
|
|
82
87
|
JobListLocationsResponse,
|
|
83
88
|
JobRetrieveParams,
|
|
@@ -117,8 +122,70 @@ import {
|
|
|
117
122
|
ProfileUpdateParams,
|
|
118
123
|
ProfileUpdateResponse,
|
|
119
124
|
} from './profile';
|
|
125
|
+
import * as SportsAPI from './sports';
|
|
126
|
+
import {
|
|
127
|
+
FootballBoxScore,
|
|
128
|
+
FootballDrive,
|
|
129
|
+
FootballFumbleStats,
|
|
130
|
+
FootballLeague,
|
|
131
|
+
FootballOdds,
|
|
132
|
+
FootballPassingStats,
|
|
133
|
+
FootballPeriod,
|
|
134
|
+
FootballPlay,
|
|
135
|
+
FootballPlayDetail,
|
|
136
|
+
FootballPlayDetailPenalty,
|
|
137
|
+
FootballPlayDetailPlayer,
|
|
138
|
+
FootballPlayOnField,
|
|
139
|
+
FootballPlayPost,
|
|
140
|
+
FootballPlayScore,
|
|
141
|
+
FootballPlayStart,
|
|
142
|
+
FootballPlayer,
|
|
143
|
+
FootballPlayerHeadshots,
|
|
144
|
+
FootballPlayerStats,
|
|
145
|
+
FootballPlayerStatsConversions,
|
|
146
|
+
FootballPlayerStatsDefense,
|
|
147
|
+
FootballPlayerStatsExtraPoints,
|
|
148
|
+
FootballPlayerStatsFieldGoals,
|
|
149
|
+
FootballPlayerStatsPunts,
|
|
150
|
+
FootballPlayerStatsReceiving,
|
|
151
|
+
FootballPlayerXUser,
|
|
152
|
+
FootballPlays,
|
|
153
|
+
FootballQuarter,
|
|
154
|
+
FootballReturnStats,
|
|
155
|
+
FootballRushingStats,
|
|
156
|
+
FootballSchedule,
|
|
157
|
+
FootballScheduleGame,
|
|
158
|
+
FootballScheduleGameOdds,
|
|
159
|
+
FootballSchedulePeriod,
|
|
160
|
+
FootballScoreboard,
|
|
161
|
+
FootballScoreboardSituation,
|
|
162
|
+
FootballSide,
|
|
163
|
+
FootballTeamBox,
|
|
164
|
+
FootballTeamScore,
|
|
165
|
+
FootballTeamTotals,
|
|
166
|
+
FootballTeamTotalsPenalties,
|
|
167
|
+
FootballTeamTotalsThirdDowns,
|
|
168
|
+
SportListGamesParams,
|
|
169
|
+
SportRetrieveAudienceParams,
|
|
170
|
+
SportRetrieveBoxScoreParams,
|
|
171
|
+
SportRetrievePlaysParams,
|
|
172
|
+
SportRetrieveScoreboardParams,
|
|
173
|
+
Sports,
|
|
174
|
+
SportsGameAudience,
|
|
175
|
+
SportsGameAudienceChat,
|
|
176
|
+
SportsGameAudienceChatOpensIn,
|
|
177
|
+
SportsGameAudienceTeamPick,
|
|
178
|
+
SportsGameAudienceTeamPicks,
|
|
179
|
+
SportsGameAudienceViewers,
|
|
180
|
+
SportsTeam,
|
|
181
|
+
SportsTeamColor,
|
|
182
|
+
SportsTeamLogos,
|
|
183
|
+
SportsTeamRecord,
|
|
184
|
+
} from './sports';
|
|
120
185
|
import * as SpacesAPI from './spaces';
|
|
121
186
|
import {
|
|
187
|
+
Space,
|
|
188
|
+
SpaceParticipant,
|
|
122
189
|
SpaceRetrieveParams,
|
|
123
190
|
SpaceRetrieveReplayParams,
|
|
124
191
|
SpaceRetrieveReplayResponse,
|
|
@@ -132,6 +199,8 @@ import { WriteActionRetrieveResponse, WriteActions } from './write-actions';
|
|
|
132
199
|
import * as CommunitiesAPI from './communities/communities';
|
|
133
200
|
import {
|
|
134
201
|
Communities,
|
|
202
|
+
CommunityAnalytics,
|
|
203
|
+
CommunityAnalyticsMetric,
|
|
135
204
|
CommunityCreateParams,
|
|
136
205
|
CommunityCreateResponse,
|
|
137
206
|
CommunityDeleteParams,
|
|
@@ -142,6 +211,7 @@ import {
|
|
|
142
211
|
CommunityListSuggestedResponse,
|
|
143
212
|
CommunityListTopicsParams,
|
|
144
213
|
CommunityListTopicsResponse,
|
|
214
|
+
CommunityRetrieveAnalyticsParams,
|
|
145
215
|
CommunityRetrieveInfoParams,
|
|
146
216
|
CommunityRetrieveInfoResponse,
|
|
147
217
|
CommunityRetrieveMembersParams,
|
|
@@ -255,6 +325,7 @@ export class X extends APIResource {
|
|
|
255
325
|
broadcasts: BroadcastsAPI.Broadcasts = new BroadcastsAPI.Broadcasts(this._client);
|
|
256
326
|
communityNotes: CommunityNotesAPI.CommunityNotes = new CommunityNotesAPI.CommunityNotes(this._client);
|
|
257
327
|
spaces: SpacesAPI.Spaces = new SpacesAPI.Spaces(this._client);
|
|
328
|
+
sports: SportsAPI.Sports = new SportsAPI.Sports(this._client);
|
|
258
329
|
|
|
259
330
|
/**
|
|
260
331
|
* Returns the accounts, topics, hashtags & cashtags X suggests while someone types
|
|
@@ -1067,67 +1138,69 @@ export namespace XGetNotificationsResponse {
|
|
|
1067
1138
|
}
|
|
1068
1139
|
}
|
|
1069
1140
|
|
|
1070
|
-
|
|
1141
|
+
/**
|
|
1142
|
+
* A place X offers trends for.
|
|
1143
|
+
*/
|
|
1144
|
+
export interface TrendLocation {
|
|
1071
1145
|
/**
|
|
1072
|
-
*
|
|
1146
|
+
* Country name. Null for Worldwide.
|
|
1073
1147
|
*/
|
|
1074
|
-
|
|
1148
|
+
country: string | null;
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* 2-letter country code. Null for Worldwide.
|
|
1152
|
+
*/
|
|
1153
|
+
countryCode: string | null;
|
|
1075
1154
|
|
|
1076
|
-
|
|
1155
|
+
name: string;
|
|
1077
1156
|
|
|
1078
1157
|
/**
|
|
1079
|
-
*
|
|
1158
|
+
* WOEID of the country or region above it. Null for Worldwide.
|
|
1080
1159
|
*/
|
|
1081
|
-
|
|
1160
|
+
parentWoeid: number | null;
|
|
1082
1161
|
|
|
1083
1162
|
/**
|
|
1084
|
-
*
|
|
1163
|
+
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1085
1164
|
*/
|
|
1086
|
-
|
|
1087
|
-
}
|
|
1165
|
+
placeType: string | null;
|
|
1088
1166
|
|
|
1089
|
-
export namespace XGetTrendLocationsResponse {
|
|
1090
1167
|
/**
|
|
1091
|
-
*
|
|
1168
|
+
* X's numeric code for the kind of place.
|
|
1092
1169
|
*/
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* Country name. Null for Worldwide.
|
|
1096
|
-
*/
|
|
1097
|
-
country: string | null;
|
|
1170
|
+
placeTypeCode: number | null;
|
|
1098
1171
|
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1172
|
+
/**
|
|
1173
|
+
* X's legacy Yahoo GeoPlanet reference. It may not resolve.
|
|
1174
|
+
*/
|
|
1175
|
+
url: string | null;
|
|
1103
1176
|
|
|
1104
|
-
|
|
1177
|
+
/**
|
|
1178
|
+
* Location ID. Pass it as woeid to /x/trends.
|
|
1179
|
+
*/
|
|
1180
|
+
woeid: number;
|
|
1181
|
+
}
|
|
1105
1182
|
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1183
|
+
export interface XGetTrendLocationsResponse {
|
|
1184
|
+
/**
|
|
1185
|
+
* Locations returned & charged.
|
|
1186
|
+
*/
|
|
1187
|
+
count: number;
|
|
1110
1188
|
|
|
1111
|
-
|
|
1112
|
-
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1113
|
-
*/
|
|
1114
|
-
placeType: string | null;
|
|
1189
|
+
locations: Array<TrendLocation>;
|
|
1115
1190
|
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1191
|
+
/**
|
|
1192
|
+
* Locations that match the filters, before limit.
|
|
1193
|
+
*/
|
|
1194
|
+
total: number;
|
|
1120
1195
|
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1196
|
+
/**
|
|
1197
|
+
* What to send instead. Present only when no location matches.
|
|
1198
|
+
*/
|
|
1199
|
+
message?: string;
|
|
1200
|
+
}
|
|
1125
1201
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
*/
|
|
1129
|
-
woeid: number;
|
|
1130
|
-
}
|
|
1202
|
+
export namespace XGetTrendLocationsResponse {
|
|
1203
|
+
export type Location = TrendLocation;
|
|
1131
1204
|
}
|
|
1132
1205
|
|
|
1133
1206
|
export interface XGetTrendsResponse {
|
|
@@ -1147,7 +1220,7 @@ export interface XGetTrendsResponse {
|
|
|
1147
1220
|
* The place country or location named. Absent when woeid picked the place or the
|
|
1148
1221
|
* request named none.
|
|
1149
1222
|
*/
|
|
1150
|
-
location?:
|
|
1223
|
+
location?: TrendLocation;
|
|
1151
1224
|
|
|
1152
1225
|
/**
|
|
1153
1226
|
* The time at asked for, as Xquik read it. A span such as 24h shows here as the
|
|
@@ -1182,48 +1255,7 @@ export namespace XGetTrendsResponse {
|
|
|
1182
1255
|
url?: string;
|
|
1183
1256
|
}
|
|
1184
1257
|
|
|
1185
|
-
|
|
1186
|
-
* The place country or location named. Absent when woeid picked the place or the
|
|
1187
|
-
* request named none.
|
|
1188
|
-
*/
|
|
1189
|
-
export interface Location {
|
|
1190
|
-
/**
|
|
1191
|
-
* Country name. Null for Worldwide.
|
|
1192
|
-
*/
|
|
1193
|
-
country: string | null;
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* 2-letter country code. Null for Worldwide.
|
|
1197
|
-
*/
|
|
1198
|
-
countryCode: string | null;
|
|
1199
|
-
|
|
1200
|
-
name: string;
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* WOEID of the country or region above it. Null for Worldwide.
|
|
1204
|
-
*/
|
|
1205
|
-
parentWoeid: number | null;
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1209
|
-
*/
|
|
1210
|
-
placeType: string | null;
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* X's numeric code for the kind of place.
|
|
1214
|
-
*/
|
|
1215
|
-
placeTypeCode: number | null;
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* X's legacy Yahoo GeoPlanet reference. It may not resolve.
|
|
1219
|
-
*/
|
|
1220
|
-
url: string | null;
|
|
1221
|
-
|
|
1222
|
-
/**
|
|
1223
|
-
* Location ID. Pass it as woeid to /x/trends.
|
|
1224
|
-
*/
|
|
1225
|
-
woeid: number;
|
|
1226
|
-
}
|
|
1258
|
+
export type Location = TrendLocation;
|
|
1227
1259
|
}
|
|
1228
1260
|
|
|
1229
1261
|
export interface XGetTrendsHistoryResponse {
|
|
@@ -1265,7 +1297,7 @@ export interface XGetTrendsHistoryResponse {
|
|
|
1265
1297
|
* The place the request named by country or location. Absent when it sent a woeid
|
|
1266
1298
|
* or named no place.
|
|
1267
1299
|
*/
|
|
1268
|
-
location?:
|
|
1300
|
+
location?: TrendLocation;
|
|
1269
1301
|
}
|
|
1270
1302
|
|
|
1271
1303
|
export namespace XGetTrendsHistoryResponse {
|
|
@@ -1313,48 +1345,7 @@ export namespace XGetTrendsHistoryResponse {
|
|
|
1313
1345
|
}
|
|
1314
1346
|
}
|
|
1315
1347
|
|
|
1316
|
-
|
|
1317
|
-
* The place the request named by country or location. Absent when it sent a woeid
|
|
1318
|
-
* or named no place.
|
|
1319
|
-
*/
|
|
1320
|
-
export interface Location {
|
|
1321
|
-
/**
|
|
1322
|
-
* Country name. Null for Worldwide.
|
|
1323
|
-
*/
|
|
1324
|
-
country: string | null;
|
|
1325
|
-
|
|
1326
|
-
/**
|
|
1327
|
-
* 2-letter country code. Null for Worldwide.
|
|
1328
|
-
*/
|
|
1329
|
-
countryCode: string | null;
|
|
1330
|
-
|
|
1331
|
-
name: string;
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* WOEID of the country or region above it. Null for Worldwide.
|
|
1335
|
-
*/
|
|
1336
|
-
parentWoeid: number | null;
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* X's kind of place. Town, Country, Supername for Worldwide, or Unknown.
|
|
1340
|
-
*/
|
|
1341
|
-
placeType: string | null;
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
* X's numeric code for the kind of place.
|
|
1345
|
-
*/
|
|
1346
|
-
placeTypeCode: number | null;
|
|
1347
|
-
|
|
1348
|
-
/**
|
|
1349
|
-
* X's legacy Yahoo GeoPlanet reference. It may not resolve.
|
|
1350
|
-
*/
|
|
1351
|
-
url: string | null;
|
|
1352
|
-
|
|
1353
|
-
/**
|
|
1354
|
-
* Location ID. Pass it as woeid to /x/trends.
|
|
1355
|
-
*/
|
|
1356
|
-
woeid: number;
|
|
1357
|
-
}
|
|
1348
|
+
export type Location = TrendLocation;
|
|
1358
1349
|
}
|
|
1359
1350
|
|
|
1360
1351
|
export interface XSearchPlacesResponse {
|
|
@@ -1876,9 +1867,11 @@ X.Lists = Lists;
|
|
|
1876
1867
|
X.Broadcasts = Broadcasts;
|
|
1877
1868
|
X.CommunityNotes = CommunityNotes;
|
|
1878
1869
|
X.Spaces = Spaces;
|
|
1870
|
+
X.Sports = Sports;
|
|
1879
1871
|
|
|
1880
1872
|
export declare namespace X {
|
|
1881
1873
|
export {
|
|
1874
|
+
type TrendLocation as TrendLocation,
|
|
1882
1875
|
type XAutocompleteSearchResponse as XAutocompleteSearchResponse,
|
|
1883
1876
|
type XGetArticleResponse as XGetArticleResponse,
|
|
1884
1877
|
type XGetHashflagsResponse as XGetHashflagsResponse,
|
|
@@ -2007,6 +2000,7 @@ export declare namespace X {
|
|
|
2007
2000
|
|
|
2008
2001
|
export {
|
|
2009
2002
|
Jobs as Jobs,
|
|
2003
|
+
type Job as Job,
|
|
2010
2004
|
type JobRetrieveResponse as JobRetrieveResponse,
|
|
2011
2005
|
type JobListLocationsResponse as JobListLocationsResponse,
|
|
2012
2006
|
type JobSearchResponse as JobSearchResponse,
|
|
@@ -2045,6 +2039,8 @@ export declare namespace X {
|
|
|
2045
2039
|
|
|
2046
2040
|
export {
|
|
2047
2041
|
Communities as Communities,
|
|
2042
|
+
type CommunityAnalytics as CommunityAnalytics,
|
|
2043
|
+
type CommunityAnalyticsMetric as CommunityAnalyticsMetric,
|
|
2048
2044
|
type CommunityCreateResponse as CommunityCreateResponse,
|
|
2049
2045
|
type CommunityDeleteResponse as CommunityDeleteResponse,
|
|
2050
2046
|
type CommunityListSuggestedResponse as CommunityListSuggestedResponse,
|
|
@@ -2056,6 +2052,7 @@ export declare namespace X {
|
|
|
2056
2052
|
type CommunityListPopularParams as CommunityListPopularParams,
|
|
2057
2053
|
type CommunityListSuggestedParams as CommunityListSuggestedParams,
|
|
2058
2054
|
type CommunityListTopicsParams as CommunityListTopicsParams,
|
|
2055
|
+
type CommunityRetrieveAnalyticsParams as CommunityRetrieveAnalyticsParams,
|
|
2059
2056
|
type CommunityRetrieveInfoParams as CommunityRetrieveInfoParams,
|
|
2060
2057
|
type CommunityRetrieveMembersParams as CommunityRetrieveMembersParams,
|
|
2061
2058
|
type CommunityRetrieveModeratorsParams as CommunityRetrieveModeratorsParams,
|
|
@@ -2074,6 +2071,7 @@ export declare namespace X {
|
|
|
2074
2071
|
type AccountReauthResponse as AccountReauthResponse,
|
|
2075
2072
|
type AccountCreateParams as AccountCreateParams,
|
|
2076
2073
|
type AccountListParams as AccountListParams,
|
|
2074
|
+
type AccountBulkRetryParams as AccountBulkRetryParams,
|
|
2077
2075
|
type AccountReauthParams as AccountReauthParams,
|
|
2078
2076
|
};
|
|
2079
2077
|
|
|
@@ -2116,6 +2114,9 @@ export declare namespace X {
|
|
|
2116
2114
|
|
|
2117
2115
|
export {
|
|
2118
2116
|
CommunityNotes as CommunityNotes,
|
|
2117
|
+
type CommunityNotesContributor as CommunityNotesContributor,
|
|
2118
|
+
type CommunityNotesRatingOutcome as CommunityNotesRatingOutcome,
|
|
2119
|
+
type PaginatedCommunityNotes as PaginatedCommunityNotes,
|
|
2119
2120
|
type CommunityNoteListContributorDeletedNotesResponse as CommunityNoteListContributorDeletedNotesResponse,
|
|
2120
2121
|
type CommunityNoteListContributorNotesResponse as CommunityNoteListContributorNotesResponse,
|
|
2121
2122
|
type CommunityNoteRetrieveContributorResponse as CommunityNoteRetrieveContributorResponse,
|
|
@@ -2126,6 +2127,8 @@ export declare namespace X {
|
|
|
2126
2127
|
|
|
2127
2128
|
export {
|
|
2128
2129
|
Spaces as Spaces,
|
|
2130
|
+
type Space as Space,
|
|
2131
|
+
type SpaceParticipant as SpaceParticipant,
|
|
2129
2132
|
type SpaceRetrieveResponse as SpaceRetrieveResponse,
|
|
2130
2133
|
type SpaceRetrieveReplayResponse as SpaceRetrieveReplayResponse,
|
|
2131
2134
|
type SpaceSearchResponse as SpaceSearchResponse,
|
|
@@ -2133,4 +2136,64 @@ export declare namespace X {
|
|
|
2133
2136
|
type SpaceRetrieveReplayParams as SpaceRetrieveReplayParams,
|
|
2134
2137
|
type SpaceSearchParams as SpaceSearchParams,
|
|
2135
2138
|
};
|
|
2139
|
+
|
|
2140
|
+
export {
|
|
2141
|
+
Sports as Sports,
|
|
2142
|
+
type FootballLeague as FootballLeague,
|
|
2143
|
+
type FootballTeamScore as FootballTeamScore,
|
|
2144
|
+
type FootballSchedulePeriod as FootballSchedulePeriod,
|
|
2145
|
+
type FootballOdds as FootballOdds,
|
|
2146
|
+
type FootballScheduleGameOdds as FootballScheduleGameOdds,
|
|
2147
|
+
type FootballScheduleGame as FootballScheduleGame,
|
|
2148
|
+
type SportsTeamColor as SportsTeamColor,
|
|
2149
|
+
type SportsTeamLogos as SportsTeamLogos,
|
|
2150
|
+
type SportsTeam as SportsTeam,
|
|
2151
|
+
type FootballSchedule as FootballSchedule,
|
|
2152
|
+
type FootballScoreboardSituation as FootballScoreboardSituation,
|
|
2153
|
+
type FootballSide as FootballSide,
|
|
2154
|
+
type FootballPeriod as FootballPeriod,
|
|
2155
|
+
type FootballPlayScore as FootballPlayScore,
|
|
2156
|
+
type FootballPlayStart as FootballPlayStart,
|
|
2157
|
+
type FootballPlayOnField as FootballPlayOnField,
|
|
2158
|
+
type FootballPlayDetailPlayer as FootballPlayDetailPlayer,
|
|
2159
|
+
type FootballPlayDetailPenalty as FootballPlayDetailPenalty,
|
|
2160
|
+
type FootballPlayDetail as FootballPlayDetail,
|
|
2161
|
+
type FootballPlayPost as FootballPlayPost,
|
|
2162
|
+
type FootballPlay as FootballPlay,
|
|
2163
|
+
type FootballPlayerHeadshots as FootballPlayerHeadshots,
|
|
2164
|
+
type FootballPlayerXUser as FootballPlayerXUser,
|
|
2165
|
+
type FootballPlayer as FootballPlayer,
|
|
2166
|
+
type FootballScoreboard as FootballScoreboard,
|
|
2167
|
+
type FootballTeamTotalsThirdDowns as FootballTeamTotalsThirdDowns,
|
|
2168
|
+
type FootballFumbleStats as FootballFumbleStats,
|
|
2169
|
+
type FootballPassingStats as FootballPassingStats,
|
|
2170
|
+
type FootballTeamTotalsPenalties as FootballTeamTotalsPenalties,
|
|
2171
|
+
type FootballRushingStats as FootballRushingStats,
|
|
2172
|
+
type FootballTeamTotals as FootballTeamTotals,
|
|
2173
|
+
type FootballPlayerStatsReceiving as FootballPlayerStatsReceiving,
|
|
2174
|
+
type FootballPlayerStatsDefense as FootballPlayerStatsDefense,
|
|
2175
|
+
type FootballReturnStats as FootballReturnStats,
|
|
2176
|
+
type FootballPlayerStatsPunts as FootballPlayerStatsPunts,
|
|
2177
|
+
type FootballPlayerStatsFieldGoals as FootballPlayerStatsFieldGoals,
|
|
2178
|
+
type FootballPlayerStatsExtraPoints as FootballPlayerStatsExtraPoints,
|
|
2179
|
+
type FootballPlayerStatsConversions as FootballPlayerStatsConversions,
|
|
2180
|
+
type FootballPlayerStats as FootballPlayerStats,
|
|
2181
|
+
type FootballTeamBox as FootballTeamBox,
|
|
2182
|
+
type FootballBoxScore as FootballBoxScore,
|
|
2183
|
+
type FootballDrive as FootballDrive,
|
|
2184
|
+
type FootballQuarter as FootballQuarter,
|
|
2185
|
+
type FootballPlays as FootballPlays,
|
|
2186
|
+
type SportListGamesParams as SportListGamesParams,
|
|
2187
|
+
type SportRetrieveScoreboardParams as SportRetrieveScoreboardParams,
|
|
2188
|
+
type SportRetrieveBoxScoreParams as SportRetrieveBoxScoreParams,
|
|
2189
|
+
type SportRetrievePlaysParams as SportRetrievePlaysParams,
|
|
2190
|
+
type SportsTeamRecord as SportsTeamRecord,
|
|
2191
|
+
type SportsGameAudienceViewers as SportsGameAudienceViewers,
|
|
2192
|
+
type SportsGameAudienceTeamPick as SportsGameAudienceTeamPick,
|
|
2193
|
+
type SportsGameAudienceTeamPicks as SportsGameAudienceTeamPicks,
|
|
2194
|
+
type SportsGameAudienceChatOpensIn as SportsGameAudienceChatOpensIn,
|
|
2195
|
+
type SportsGameAudienceChat as SportsGameAudienceChat,
|
|
2196
|
+
type SportsGameAudience as SportsGameAudience,
|
|
2197
|
+
type SportRetrieveAudienceParams as SportRetrieveAudienceParams,
|
|
2198
|
+
};
|
|
2136
2199
|
}
|
package/src/version.ts
CHANGED
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.18.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.18.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
package/src/lib/.keep
DELETED