Skip to content

Commit 0f5ae57

Browse files
release: 0.3.0 (#4)
* feat(api): api update * feat(api): api update * codegen metadata * codegen metadata * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * codegen metadata * codegen metadata * codegen metadata * codegen metadata * chore: update SDK settings * codegen metadata * codegen metadata * codegen metadata * codegen metadata * codegen metadata * release: 0.3.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent f5f9890 commit 0f5ae57

383 files changed

Lines changed: 9707 additions & 36979 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.2.0"
2+
".": "0.3.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: 115
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-3b2c6c771ad1da0bbfeb0af115972929ed2c7fcd5e47a79556d66cd21431b224.yml
3-
openapi_spec_hash: de2890233b68387bf5f9b6d19e7d87dc
4-
config_hash: 8894c96caeb6df84c9394518810221bd
1+
configured_endpoints: 117
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-d40c57a05527faf060d21c0e013729f371d88017b10680cea7c8fd6780ffaef5.yml
3+
openapi_spec_hash: 597ebc460cf86740b9f6f7c95478dece
4+
config_hash: 8521caa746275ca99eb3ba7bb3d6d90f

CHANGELOG.md

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

3+
## 0.3.0 (2026-04-08)
4+
5+
Full Changelog: [v0.2.0...v0.3.0](https://github.com/Xquik-dev/x-twitter-scraper-csharp/compare/v0.2.0...v0.3.0)
6+
7+
### Features
8+
9+
* **api:** api update ([4b57dda](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/4b57dda5deed7a8f529f35ca701a6d8def223db9))
10+
* **api:** api update ([4579c6f](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/4579c6f393788ffb35297d33d3390bdf29dcd557))
11+
* **api:** api update ([e6d6ad8](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/e6d6ad8bd2b7b54bc9cd6cf8b99cf35f3b4ef436))
12+
* **api:** api update ([aa6de12](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/aa6de123de4aa69f3aec8767875c196952f0c8ea))
13+
* **api:** api update ([ca7b861](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/ca7b861b08a4746fabf69896051df37b014a8c0e))
14+
* **api:** api update ([902c35c](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/902c35cdde409c616f97466abb232414b7733333))
15+
* **api:** api update ([08d35d1](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/08d35d12205c4bae6c0bb04ebae61d0523fb7879))
16+
* **api:** api update ([5c7f059](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/5c7f0591f585d60618bb527d4f6b19ad26a3635e))
17+
18+
19+
### Chores
20+
21+
* update SDK settings ([d10d8fd](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/d10d8fda09de4b204b5eb3b9d2c90f5483bef143))
22+
323
## 0.2.0 (2026-04-01)
424

525
Full Changelog: [v0.1.0...v0.2.0](https://github.com/Xquik-dev/x-twitter-scraper-csharp/compare/v0.1.0...v0.2.0)

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ TweetSearchParams parameters = new()
3535
Limit = 10,
3636
};
3737

38-
var response = await client.X.Tweets.Search(parameters);
38+
var paginatedTweets = await client.X.Tweets.Search(parameters);
3939

40-
Console.WriteLine(response);
40+
Console.WriteLine(paginatedTweets);
4141
```
4242

4343
## Client configuration
@@ -80,7 +80,7 @@ To temporarily use a modified client configuration, while reusing the same conne
8080
```csharp
8181
using System;
8282

83-
var response = await client
83+
var paginatedTweets = await client
8484
.WithOptions(options =>
8585
options with
8686
{
@@ -90,7 +90,7 @@ var response = await client
9090
)
9191
.X.Tweets.Search(parameters);
9292

93-
Console.WriteLine(response);
93+
Console.WriteLine(paginatedTweets);
9494
```
9595

9696
Using a [`with` expression](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/with-expression) makes it easy to construct the modified options.
@@ -101,7 +101,7 @@ The `WithOptions` method does not affect the original client or service.
101101

102102
To send a request to the X Twitter Scraper API, build an instance of some `Params` class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a C# class.
103103

104-
For example, `client.X.Tweets.Search` should be called with an instance of `TweetSearchParams`, and it will return an instance of `Task<TweetSearchResponse>`.
104+
For example, `client.X.Tweets.Search` should be called with an instance of `TweetSearchParams`, and it will return an instance of `Task<PaginatedTweets>`.
105105

106106
## Binary responses
107107

@@ -149,10 +149,10 @@ For non-streaming responses, you can deserialize the response into an instance o
149149

150150
```csharp
151151
using System;
152-
using XTwitterScraper.Models.X.Tweets;
152+
using XTwitterScraper.Models;
153153

154154
var response = await client.WithRawResponse.X.Tweets.Search(parameters);
155-
TweetSearchResponse deserialized = await response.Deserialize();
155+
PaginatedTweets deserialized = await response.Deserialize();
156156
Console.WriteLine(deserialized);
157157
```
158158

@@ -210,13 +210,13 @@ Or configure a single method call using [`WithOptions`](#modifying-configuration
210210
```csharp
211211
using System;
212212

213-
var response = await client
213+
var paginatedTweets = await client
214214
.WithOptions(options =>
215215
options with { MaxRetries = 3 }
216216
)
217217
.X.Tweets.Search(parameters);
218218

219-
Console.WriteLine(response);
219+
Console.WriteLine(paginatedTweets);
220220
```
221221

222222
### Timeouts
@@ -237,13 +237,13 @@ Or configure a single method call using [`WithOptions`](#modifying-configuration
237237
```csharp
238238
using System;
239239

240-
var response = await client
240+
var paginatedTweets = await client
241241
.WithOptions(options =>
242242
options with { Timeout = TimeSpan.FromSeconds(42) }
243243
)
244244
.X.Tweets.Search(parameters);
245245

246-
Console.WriteLine(response);
246+
Console.WriteLine(paginatedTweets);
247247
```
248248

249249
### Proxies
@@ -386,8 +386,8 @@ By default, the SDK will not throw an exception in this case. It will throw `XTw
386386
If you would prefer to check that the response is completely well-typed upfront, then either call `Validate`:
387387

388388
```csharp
389-
var response = client.X.Tweets.Search(parameters);
390-
response.Validate();
389+
var paginatedTweets = client.X.Tweets.Search(parameters);
390+
paginatedTweets.Validate();
391391
```
392392

393393
Or configure the client using the `ResponseValidation` option:
@@ -403,13 +403,13 @@ Or configure a single method call using [`WithOptions`](#modifying-configuration
403403
```csharp
404404
using System;
405405

406-
var response = await client
406+
var paginatedTweets = await client
407407
.WithOptions(options =>
408408
options with { ResponseValidation = true }
409409
)
410410
.X.Tweets.Search(parameters);
411411

412-
Console.WriteLine(response);
412+
Console.WriteLine(paginatedTweets);
413413
```
414414

415415
## Semantic versioning

0 commit comments

Comments
 (0)