Skip to content

Commit 72bdd1a

Browse files
release: 0.11.0 (#38)
* feat(api): api update * release: 0.11.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 2350375 commit 72bdd1a

143 files changed

Lines changed: 17356 additions & 584 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.10.2"
2+
".": "0.11.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 123
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik/x-twitter-scraper-5f26f3694399b4ac5a4431c66f7d27c4024f9d0dcd899702de5fde1150e28330.yml
3-
openapi_spec_hash: 362e24e622f9a74ded8b38018e50460c
4-
config_hash: dab26921eb273c16e5570c0485c9ac2c
1+
configured_endpoints: 124
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik/x-twitter-scraper-7bcac1557175956021a62532c55ce29b8822b5a41d0d59ae67787a6326c0ef8a.yml
3+
openapi_spec_hash: 04e28f19097d9b59119101492100c4ab
4+
config_hash: 217d68ca6999ad03cfc4922e9658297e

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.11.0 (2026-08-11)
4+
5+
Full Changelog: [v0.10.2...v0.11.0](https://github.com/Xquik-dev/x-twitter-scraper-php/compare/v0.10.2...v0.11.0)
6+
7+
### Features
8+
9+
* **api:** api update ([1923d07](https://github.com/Xquik-dev/x-twitter-scraper-php/commit/1923d073b3b785606dc087b6558be7da2367ce4b))
10+
311
## 0.10.2 (2026-08-11)
412

513
Full Changelog: [v0.10.1...v0.10.2](https://github.com/Xquik-dev/x-twitter-scraper-php/compare/v0.10.1...v0.10.2)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Install the package from Packagist with Composer:
5454
<!-- x-release-please-start-version -->
5555

5656
```sh
57-
composer require xquik/x-twitter-scraper:^0.10.2
57+
composer require xquik/x-twitter-scraper:^0.11.0
5858
```
5959

6060
<!-- x-release-please-end -->
@@ -98,9 +98,9 @@ $client = new Client(
9898
apiKey: getenv('X_TWITTER_SCRAPER_API_KEY') ?: 'My API Key'
9999
);
100100

101-
$paginatedTweets = $client->x->tweets->search(q: 'from:elonmusk', limit: 10);
101+
$response = $client->x->tweets->search(q: 'from:elonmusk', limit: 10);
102102

103-
var_dump($paginatedTweets->hasNextPage);
103+
var_dump($response);
104104
```
105105

106106
### Value Objects

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<testsuite name="default">
1818
<directory suffix=".php">./tests</directory>
1919
<exclude>./tests/mock-api-router.php</exclude>
20+
<exclude>./tests/UnsupportedMockTests.php</exclude>
2021
<exclude>./tests/Support</exclude>
2122
</testsuite>
2223
</testsuites>

src/Draws/DrawExportParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class DrawExportParams implements BaseModel
3232
use SdkParams;
3333

3434
/**
35-
* Export output format.
35+
* Export output format. PDF entry exports include up to 10,000 rows. Other entry formats include up to 100,000 rows.
3636
*
3737
* @var value-of<Format> $format
3838
*/
@@ -88,7 +88,7 @@ public static function with(
8888
}
8989

9090
/**
91-
* Export output format.
91+
* Export output format. PDF entry exports include up to 10,000 rows. Other entry formats include up to 100,000 rows.
9292
*
9393
* @param Format|value-of<Format> $format
9494
*/

src/Draws/DrawExportParams/Format.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace XTwitterScraper\Draws\DrawExportParams;
1010

1111
/**
12-
* Export output format.
12+
* Export output format. PDF entry exports include up to 10,000 rows. Other entry formats include up to 100,000 rows.
1313
*/
1414
enum Format: string
1515
{

src/Draws/DrawListParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class DrawListParams implements BaseModel
2929
use SdkParams;
3030

3131
/**
32-
* Cursor for keyset pagination from prior response next_cursor.
32+
* Previous nextCursor.
3333
*/
3434
#[Optional]
3535
public ?string $cursor;
@@ -61,7 +61,7 @@ public static function with(?string $cursor = null, ?int $limit = null): self
6161
}
6262

6363
/**
64-
* Cursor for keyset pagination from prior response next_cursor.
64+
* Previous nextCursor.
6565
*/
6666
public function withCursor(string $cursor): self
6767
{

src/Error/Error/LegacyErrorCode.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ enum LegacyErrorCode: string
6464

6565
case MONITOR_ALREADY_EXISTS = 'monitor_already_exists';
6666

67+
case MONITOR_PROFILE_UNAVAILABLE = 'monitor_profile_unavailable';
68+
6769
case NO_MEDIA = 'no_media';
6870

6971
case NO_CREDITS = 'no_credits';
@@ -98,6 +100,10 @@ enum LegacyErrorCode: string
98100

99101
case CONNECTION_CHALLENGE_INACTIVE = 'connection_challenge_inactive';
100102

103+
case COVERAGE_CURSOR_GONE = 'coverage_cursor_gone';
104+
105+
case COVERAGE_CURSOR_UNAVAILABLE = 'coverage_cursor_unavailable';
106+
101107
case DRAFT_NOT_FOUND = 'draft_not_found';
102108

103109
case FAVORITERS_UNAVAILABLE = 'favoriters_unavailable';
@@ -116,6 +122,8 @@ enum LegacyErrorCode: string
116122

117123
case INVALID_COMMUNITY_ID = 'invalid_community_id';
118124

125+
case INVALID_COVERAGE_CURSOR = 'invalid_coverage_cursor';
126+
119127
case INVALID_IDEMPOTENCY_KEY = 'invalid_idempotency_key';
120128

121129
case INVALID_LIST_ID = 'invalid_list_id';

src/Error/Error/StructuredError/Code.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ enum Code: string
6464

6565
case MONITOR_ALREADY_EXISTS = 'monitor_already_exists';
6666

67+
case MONITOR_PROFILE_UNAVAILABLE = 'monitor_profile_unavailable';
68+
6769
case NO_MEDIA = 'no_media';
6870

6971
case NO_CREDITS = 'no_credits';
@@ -98,6 +100,10 @@ enum Code: string
98100

99101
case CONNECTION_CHALLENGE_INACTIVE = 'connection_challenge_inactive';
100102

103+
case COVERAGE_CURSOR_GONE = 'coverage_cursor_gone';
104+
105+
case COVERAGE_CURSOR_UNAVAILABLE = 'coverage_cursor_unavailable';
106+
101107
case DRAFT_NOT_FOUND = 'draft_not_found';
102108

103109
case FAVORITERS_UNAVAILABLE = 'favoriters_unavailable';
@@ -116,6 +122,8 @@ enum Code: string
116122

117123
case INVALID_COMMUNITY_ID = 'invalid_community_id';
118124

125+
case INVALID_COVERAGE_CURSOR = 'invalid_coverage_cursor';
126+
119127
case INVALID_IDEMPOTENCY_KEY = 'invalid_idempotency_key';
120128

121129
case INVALID_LIST_ID = 'invalid_list_id';

0 commit comments

Comments
 (0)