Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.0"
".": "0.4.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 110
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-4a12c672870ee7282ad1d00f262e20fb360a8296b64a774628d1d0252e12694a.yml
openapi_spec_hash: 2e298ff704f550c80c2d07d9adadba6d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-2adc33156b4b42a4be18cc20c0205b38f0432d7958da99c65ee9b3f6a555ea0e.yml
openapi_spec_hash: be760f5620a268521d6793f65576a61f
config_hash: 320a9cb2f1293d1a7b73c63ab5865af5
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.4.1 (2026-04-25)

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

### Bug Fixes

* escape ampersand in OpenAPI summaries for C# XML docs ([210ef0f](https://github.com/Xquik-dev/x-twitter-scraper-php/commit/210ef0f5474ce59757f40de783503d6ca8e6bb4b))


### Documentation

* add Contributor Covenant 2.1 Code of Conduct ([#2192](https://github.com/Xquik-dev/x-twitter-scraper-php/issues/2192)) ([9b5a580](https://github.com/Xquik-dev/x-twitter-scraper-php/commit/9b5a580eb39c479709602e6be3dc9c83bdb57cef))

## 0.4.0 (2026-04-22)

Full Changelog: [v0.3.0...v0.4.0](https://github.com/Xquik-dev/x-twitter-scraper-php/compare/v0.3.0...v0.4.0)
Expand Down
2 changes: 1 addition & 1 deletion src/Services/TrendsRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(private Client $client) {}
/**
* @api
*
* Get trending hashtags & topics by region (alias)
* Get trending hashtags and topics by region (alias)
*
* @param array{count?: int, woeid?: int}|TrendListParams $params
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/TrendsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(private Client $client)
/**
* @api
*
* Get trending hashtags & topics by region (alias)
* Get trending hashtags and topics by region (alias)
*
* @param int $count Number of trending topics to return (1-50, default 30)
* @param int $woeid Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey)
Expand Down
2 changes: 1 addition & 1 deletion src/Services/X/CommunitiesRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function delete(
/**
* @api
*
* Get community name, description & member count
* Get community name, description and member count
*
* @param string $id Community ID
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/X/CommunitiesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function delete(
/**
* @api
*
* Get community name, description & member count
* Get community name, description and member count
*
* @param string $id Community ID
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/X/MediaRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct(private Client $client) {}
/**
* @api
*
* Download images & videos from tweets
* Download images and videos from tweets
*
* @param array{
* tweetIDs?: list<string>, tweetInput?: string
Expand Down
2 changes: 1 addition & 1 deletion src/Services/X/MediaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct(private Client $client)
/**
* @api
*
* Download images & videos from tweets
* Download images and videos from tweets
*
* @param list<string> $tweetIDs Array of tweet URLs or IDs (bulk, max 50)
* @param string $tweetInput Tweet URL or ID (single tweet)
Expand Down
4 changes: 2 additions & 2 deletions src/Services/X/TweetsRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function create(
/**
* @api
*
* Get tweet with full text, author, metrics & media
* Get tweet with full text, author, metrics and media
*
* @param string $id Tweet ID
* @param RequestOpts|null $requestOptions
Expand Down Expand Up @@ -337,7 +337,7 @@ public function getThread(
/**
* @api
*
* Search tweets with X query operators & pagination
* Search tweets with X query operators and pagination
*
* @param array{
* q: string,
Expand Down
4 changes: 2 additions & 2 deletions src/Services/X/TweetsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function create(
/**
* @api
*
* Get tweet with full text, author, metrics & media
* Get tweet with full text, author, metrics and media
*
* @param string $id Tweet ID
* @param RequestOpts|null $requestOptions
Expand Down Expand Up @@ -303,7 +303,7 @@ public function getThread(
/**
* @api
*
* Search tweets with X query operators & pagination
* Search tweets with X query operators and pagination
*
* @param string $q Search query (keywords,
* @param string $cursor Pagination cursor from previous response
Expand Down
2 changes: 1 addition & 1 deletion src/Services/X/UsersRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct(private Client $client) {}
/**
* @api
*
* Get user profile with follower counts & verification
* Get user profile with follower counts and verification
*
* @param string $id X username (without @) or user ID
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/X/UsersService.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(private Client $client)
/**
* @api
*
* Get user profile with follower counts & verification
* Get user profile with follower counts and verification
*
* @param string $id X username (without @) or user ID
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/XRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getNotifications(
/**
* @api
*
* Get trending hashtags & topics from X by region
* Get trending hashtags and topics from X by region
*
* @param array{count?: int, woeid?: int}|XGetTrendsParams $params
* @param RequestOpts|null $requestOptions
Expand Down
2 changes: 1 addition & 1 deletion src/Services/XService.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function getNotifications(
/**
* @api
*
* Get trending hashtags & topics from X by region
* Get trending hashtags and topics from X by region
*
* @param int $count Number of trending topics to return (1-50, default 30)
* @param int $woeid Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey)
Expand Down
2 changes: 1 addition & 1 deletion src/Trends/TrendListParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use XTwitterScraper\Core\Contracts\BaseModel;

/**
* Get trending hashtags & topics by region (alias).
* Get trending hashtags and topics by region (alias).
*
* @see XTwitterScraper\Services\TrendsService::list()
*
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace XTwitterScraper;

// x-release-please-start-version
const VERSION = '0.4.0';
const VERSION = '0.4.1';
// x-release-please-end
2 changes: 1 addition & 1 deletion src/X/Media/MediaDownloadParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use XTwitterScraper\Core\Contracts\BaseModel;

/**
* Download images & videos from tweets.
* Download images and videos from tweets.
*
* @see XTwitterScraper\Services\X\MediaService::download()
*
Expand Down
2 changes: 1 addition & 1 deletion src/X/Tweets/TweetSearchParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use XTwitterScraper\X\Tweets\TweetSearchParams\QueryType;

/**
* Search tweets with X query operators & pagination.
* Search tweets with X query operators and pagination.
*
* @see XTwitterScraper\Services\X\TweetsService::search()
*
Expand Down
2 changes: 1 addition & 1 deletion src/X/XGetTrendsParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use XTwitterScraper\Core\Contracts\BaseModel;

/**
* Get trending hashtags & topics from X by region.
* Get trending hashtags and topics from X by region.
*
* @see XTwitterScraper\Services\XService::getTrends()
*
Expand Down