Skip to content

Commit 45bc21e

Browse files
feat(api): api update
1 parent 9e45085 commit 45bc21e

39 files changed

Lines changed: 122 additions & 126 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 117
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-4db406196a46990fa10aec79fa43057730892455c8f98c1a8ba1fdf073c63a4a.yml
3-
openapi_spec_hash: d576fec2de09fbd259489ead289f6139
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-6b4bcecd87f7f923858fa3afb23878738328f0d77665d69a4908be1d785a6f72.yml
3+
openapi_spec_hash: 4390e0241c0a3beb7c758c862a0d17a6
44
config_hash: 858d125643c0fca8bbbce07d3a2ce4b5

lib/x_twitter_scraper/client.rb

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,31 @@ class Client < XTwitterScraper::Internal::Transport::BaseClient
2222
# @return [String, nil]
2323
attr_reader :bearer_token
2424

25-
# Account info & settings
25+
# Account info and settings
2626
# @return [XTwitterScraper::Resources::Account]
2727
attr_reader :account
2828

2929
# API key management (session auth only)
3030
# @return [XTwitterScraper::Resources::APIKeys]
3131
attr_reader :api_keys
3232

33-
# Subscription & billing
33+
# Subscription, billing, and credits
3434
# @return [XTwitterScraper::Resources::Subscribe]
3535
attr_reader :subscribe
3636

37-
# Tweet composition, drafts, writing styles & radar
37+
# AI tweet composition, drafts, writing styles, and radar
3838
# @return [XTwitterScraper::Resources::Compose]
3939
attr_reader :compose
4040

41-
# Tweet composition, drafts, writing styles & radar
41+
# AI tweet composition, drafts, writing styles, and radar
4242
# @return [XTwitterScraper::Resources::Drafts]
4343
attr_reader :drafts
4444

45-
# Tweet composition, drafts, writing styles & radar
45+
# AI tweet composition, drafts, writing styles, and radar
4646
# @return [XTwitterScraper::Resources::Styles]
4747
attr_reader :styles
4848

49-
# Tweet composition, drafts, writing styles & radar
49+
# AI tweet composition, drafts, writing styles, and radar
5050
# @return [XTwitterScraper::Resources::Radar]
5151
attr_reader :radar
5252

@@ -66,19 +66,18 @@ class Client < XTwitterScraper::Internal::Transport::BaseClient
6666
# @return [XTwitterScraper::Resources::Draws]
6767
attr_reader :draws
6868

69-
# Webhook endpoint management & delivery
69+
# Webhook endpoint management and delivery
7070
# @return [XTwitterScraper::Resources::Webhooks]
7171
attr_reader :webhooks
7272

7373
# Push notification integrations (Telegram)
7474
# @return [XTwitterScraper::Resources::Integrations]
7575
attr_reader :integrations
7676

77-
# X data lookups (subscription required)
7877
# @return [XTwitterScraper::Resources::X]
7978
attr_reader :x
8079

81-
# Trending topics by region
80+
# Trending topics and hashtags by region
8281
# @return [XTwitterScraper::Resources::Trends]
8382
attr_reader :trends
8483

@@ -88,7 +87,7 @@ class Client < XTwitterScraper::Internal::Transport::BaseClient
8887
# @return [XTwitterScraper::Resources::Support]
8988
attr_reader :support
9089

91-
# Subscription & billing
90+
# Subscription, billing, and credits
9291
# @return [XTwitterScraper::Resources::Credits]
9392
attr_reader :credits
9493

lib/x_twitter_scraper/resources/account.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Account info & settings
5+
# Account info and settings
66
class Account
77
# Get account info
88
#

lib/x_twitter_scraper/resources/compose.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Tweet composition, drafts, writing styles & radar
5+
# AI tweet composition, drafts, writing styles, and radar
66
class Compose
77
# Compose, refine, or score a tweet
88
#

lib/x_twitter_scraper/resources/credits.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Subscription & billing
5+
# Subscription, billing, and credits
66
class Credits
77
# Get credits balance
88
#

lib/x_twitter_scraper/resources/drafts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Tweet composition, drafts, writing styles & radar
5+
# AI tweet composition, drafts, writing styles, and radar
66
class Drafts
77
# Save a tweet draft
88
#

lib/x_twitter_scraper/resources/radar.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Tweet composition, drafts, writing styles & radar
5+
# AI tweet composition, drafts, writing styles, and radar
66
class Radar
77
# Some parameter documentations has been truncated, see
88
# {XTwitterScraper::Models::RadarRetrieveTrendingTopicsParams} for more details.

lib/x_twitter_scraper/resources/styles.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Tweet composition, drafts, writing styles & radar
5+
# AI tweet composition, drafts, writing styles, and radar
66
class Styles
77
# Get cached style profile
88
#

lib/x_twitter_scraper/resources/subscribe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Subscription & billing
5+
# Subscription, billing, and credits
66
class Subscribe
77
# Get checkout or billing URL
88
#

lib/x_twitter_scraper/resources/trends.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
module XTwitterScraper
44
module Resources
5-
# Trending topics by region
5+
# Trending topics and hashtags by region
66
class Trends
7-
# Get regional trending topics
7+
# Get trending hashtags & topics by region (alias)
88
#
99
# @overload list(count: nil, woeid: nil, request_options: {})
1010
#

0 commit comments

Comments
 (0)