Skip to content

Commit f8f5138

Browse files
feat(api): api update
1 parent ca924a7 commit f8f5138

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 102
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-88d47b7e48bca9b85d068845f7d100d3e6fb5d488b848ce3c47448990afdb9f9.yml
3-
openapi_spec_hash: 55e7bd0cceeebe8fd4a89fc918336531
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-cc76e6e9b7122fdacc45fbd7cf4603aaaca4906ae2de0984b51a5fc7cf8dadd6.yml
3+
openapi_spec_hash: 0b1bc061a669d7c77e5bf1476d083a2d
44
config_hash: 8894c96caeb6df84c9394518810221bd

x-twitter-scraper-java-core/src/main/kotlin/com/x_twitter_scraper/api/models/x/tweets/TweetSearchParams.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private constructor(
3333
/** Pagination cursor from previous response */
3434
fun cursor(): Optional<String> = Optional.ofNullable(cursor)
3535

36-
/** Deprecated — use cursor-based pagination instead */
36+
/** Max tweets to return (server paginates internally). Omit for single page (~20). */
3737
fun limit(): Optional<Long> = Optional.ofNullable(limit)
3838

3939
/** Sort order — Latest (chronological) or Top (engagement-ranked) */
@@ -99,7 +99,7 @@ private constructor(
9999
/** Alias for calling [Builder.cursor] with `cursor.orElse(null)`. */
100100
fun cursor(cursor: Optional<String>) = cursor(cursor.getOrNull())
101101

102-
/** Deprecated — use cursor-based pagination instead */
102+
/** Max tweets to return (server paginates internally). Omit for single page (~20). */
103103
fun limit(limit: Long?) = apply { this.limit = limit }
104104

105105
/**

0 commit comments

Comments
 (0)