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
The table of contents is too big for display.
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.3.0"
".": "0.4.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 117
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-d40c57a05527faf060d21c0e013729f371d88017b10680cea7c8fd6780ffaef5.yml
openapi_spec_hash: 597ebc460cf86740b9f6f7c95478dece
config_hash: 8521caa746275ca99eb3ba7bb3d6d90f
configured_endpoints: 110
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-4a12c672870ee7282ad1d00f262e20fb360a8296b64a774628d1d0252e12694a.yml
openapi_spec_hash: 2e298ff704f550c80c2d07d9adadba6d
config_hash: 320a9cb2f1293d1a7b73c63ab5865af5
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 0.4.0 (2026-04-22)

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

### Features

* **api:** api update ([739e7ff](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/739e7ff053b9f231bd7f4a76803a2631439d3947))
* **api:** api update ([8d82368](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/8d823689cec9b413e618c9bfdc5a7d4b837b21b4))
* **api:** api update ([3a5a9e7](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/3a5a9e7d951ad61707709a91bffee20594eb58e9))
* **api:** api update ([5000bc9](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/5000bc965aa7184aaabaeec001679bd7b37f5b88))


### Bug Fixes

* **tests:** round-trip urls correctly ([1773360](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/1773360afd7751305c2fbad2350919bcc2e14e5e))


### Chores

* sync OpenAPI spec ([9ad82a2](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/9ad82a28788a0fa5853bc28666c04d8bf35220b9))
* wire production_repo for all targets ([3eb0d89](https://github.com/Xquik-dev/x-twitter-scraper-csharp/commit/3eb0d897f16b37a69272cd99292c95243c27515b))

## 0.3.0 (2026-04-08)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/Xquik-dev/x-twitter-scraper-csharp/compare/v0.2.0...v0.3.0)
Expand Down
46 changes: 1 addition & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ Or manually:
```csharp
using XTwitterScraper;

XTwitterScraperClient client = new()
{
ApiKey = "My API Key",
BearerToken = "My Bearer Token",
};
XTwitterScraperClient client = new() { ApiKey = "My API Key" };
```

Or using a combination of the two approaches.
Expand Down Expand Up @@ -321,46 +317,6 @@ var parameters = TweetSearchParams.FromRawUnchecked
);
```

### Nested Parameters

Undocumented properties, or undocumented values of documented properties, on nested parameters can be set similarly, using a dictionary in the constructor of the nested parameter.

```csharp
using System.Collections.Generic;
using System.Text.Json;
using XTwitterScraper.Models.Integrations;

IntegrationCreateParams parameters = new()
{
Config = new
(
new Dictionary<string, JsonElement>
{
{ "custom_nested_param", JsonSerializer.SerializeToElement(42) }
}
)
};
```

Required properties on the nested parameter can also be changed or omitted using the `FromRawUnchecked` method:

```csharp
using System.Collections.Generic;
using System.Text.Json;
using XTwitterScraper.Models.Integrations;

IntegrationCreateParams parameters = new()
{
Config = Config.FromRawUnchecked
(
new Dictionary<string, JsonElement>
{
{ "required_property", JsonSerializer.SerializeToElement("custom value") }
}
)
};
```

### Response properties

To access undocumented response properties, the `RawData` property can be used:
Expand Down
Loading
Loading