Skip to content

Commit 433d0bc

Browse files
Burak Bayırkriptoburak
andauthored
release: 0.11.2 (#53)
Signed-off-by: kriptoburak <kriptoburak@users.noreply.github.com> Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
1 parent 1a038e9 commit 433d0bc

7 files changed

Lines changed: 23 additions & 29 deletions

File tree

.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.11.1"
2+
".": "0.11.2"
33
}

CHANGELOG.md

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

3+
## 0.11.2 (2026-08-21)
4+
5+
Full Changelog: [v0.11.1...v0.11.2](https://github.com/Xquik-dev/x-twitter-scraper-python/compare/v0.11.1...v0.11.2)
6+
7+
### Documentation
8+
9+
* remove repeated Python SDK copy and clarify examples
10+
311
## 0.11.1 (2026-08-20)
412

513
Full Changelog: [v0.11.0...v0.11.1](https://github.com/Xquik-dev/x-twitter-scraper-python/compare/v0.11.0...v0.11.1)
@@ -151,7 +159,7 @@ Full Changelog: [v0.4.0...v0.4.1](https://github.com/Xquik-dev/x-twitter-scraper
151159

152160
### Documentation
153161

154-
* add Contributor Covenant 2.1 Code of Conduct ([#2192](https://github.com/Xquik-dev/x-twitter-scraper-python/issues/2192)) ([06635a2](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/06635a2a9951934ecca52515211dbcec2714e46f))
162+
* add Contributor Covenant 2.1 Code of Conduct ([06635a2](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/06635a2a9951934ecca52515211dbcec2714e46f))
155163

156164
## 0.4.0 (2026-04-22)
157165

@@ -248,16 +256,12 @@ Full Changelog: [v0.1.1...v0.1.2](https://github.com/Xquik-dev/x-twitter-scraper
248256

249257
## 0.1.1 (2026-03-30)
250258

251-
Full Changelog: [v0.1.0...v0.1.1](https://github.com/Xquik-dev/x-twitter-scraper-python/compare/v0.1.0...v0.1.1)
252-
253259
### Chores
254260

255261
* update SDK settings ([3ff9848](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/3ff98489454de0a9bcd2378c214e5407a7c04f53))
256262

257263
## 0.1.0 (2026-03-30)
258264

259-
Full Changelog: [v0.0.1...v0.1.0](https://github.com/Xquik-dev/x-twitter-scraper-python/compare/v0.0.1...v0.1.0)
260-
261265
### Features
262266

263267
* **api:** api update ([3e4e51b](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/3e4e51bfa74558e9d38d3b1aba5ff55785f638d3))

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: Xquik Python SDK for Twitter Search & X Automation
44
type: software
55
authors:
66
- name: Xquik
7-
version: 0.11.1
8-
date-released: 2026-08-20
7+
version: 0.11.2
8+
date-released: 2026-08-21
99
url: https://github.com/Xquik-dev/x-twitter-scraper-python
1010
repository-code: https://github.com/Xquik-dev/x-twitter-scraper-python
1111
license: Apache-2.0

README.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@
66
[![PyPI version](https://img.shields.io/pypi/v/x_twitter_scraper.svg?label=pypi%20(stable))](https://pypi.org/project/x_twitter_scraper/)
77

88
Use the Xquik Python SDK for Twitter search, timelines, profiles & followers.
9-
Manage media, webhooks & X automation with sync or async clients.
10-
It provides a Twitter API alternative through documented Xquik REST routes.
9+
Manage media, webhooks & X automation through documented Xquik REST routes.
1110

1211
[Python SDK Guide](https://docs.xquik.com/sdks/python) | [API Map](api.md) | [REST API](https://docs.xquik.com/api-reference/overview) | [Webhooks](https://docs.xquik.com/api-reference/webhooks/create) | [MCP Guide](https://docs.xquik.com/mcp/overview)
1312

1413
[Stainless](https://www.stainless.com/) generates this SDK.
1514

1615
## Common Twitter & X Tasks
1716

18-
Map each task to its REST route.
19-
2017
| Task | REST Route | Usage |
2118
| --- | --- | --- |
2219
| Search tweets without the X API | `GET /x/tweets/search` | Use keyword or advanced operator queries. |
@@ -25,6 +22,7 @@ Map each task to its REST route.
2522
| Scrape following accounts | `GET /x/users/{id}/following` | Use an extraction for complete datasets. |
2623
| Read a home timeline | `GET /x/timeline` | Approve this private read. |
2724
| Export large X datasets | `POST /extractions` | Poll status, then download results. |
25+
| Run giveaway draws | `POST /draws` | Pick winners from post replies. |
2826
| Download or upload media | `/x/media/*` | Use typed file helpers. |
2927
| Monitor an account | `POST /monitors` | Deliver events through HMAC webhooks. |
3028
| Post or reply | `POST /x/tweets` | Confirm the account and payload. |
@@ -34,10 +32,6 @@ Map each task to its REST route.
3432
Use the typed REST SDK in application code. Add `https://xquik.com/mcp` to MCP clients.
3533
Follow the [MCP guide](https://docs.xquik.com/mcp/overview) for current authentication support.
3634

37-
## Giveaway Draws & Extractions
38-
39-
Run giveaway draws and export extraction results from Python pipelines.
40-
4135
## Package & Registry Trust
4236

4337
- Package: [PyPI `x_twitter_scraper`](https://pypi.org/project/x_twitter_scraper/)
@@ -49,7 +43,6 @@ Run giveaway draws and export extraction results from Python pipelines.
4943
## Installation
5044

5145
```sh
52-
# Install from PyPI.
5346
pip install x_twitter_scraper
5447
```
5548

@@ -62,7 +55,7 @@ import os
6255
from x_twitter_scraper import XTwitterScraper
6356

6457
client = XTwitterScraper(
65-
api_key=os.environ.get("X_TWITTER_SCRAPER_API_KEY"), # This is the default and can be omitted
58+
api_key=os.environ.get("X_TWITTER_SCRAPER_API_KEY"), # Optional; the client reads this variable.
6659
)
6760

6861
response = client.x.tweets.search(
@@ -84,7 +77,7 @@ import asyncio
8477
from x_twitter_scraper import AsyncXTwitterScraper
8578

8679
client = AsyncXTwitterScraper(
87-
api_key=os.environ.get("X_TWITTER_SCRAPER_API_KEY"), # This is the default and can be omitted
80+
api_key=os.environ.get("X_TWITTER_SCRAPER_API_KEY"), # Optional; the client reads this variable.
8881
)
8982

9083

@@ -105,7 +98,6 @@ Both clients expose the same resources and methods.
10598
The async client uses `httpx`. Install `aiohttp` for an alternative backend:
10699

107100
```sh
108-
# Install from PyPI.
109101
pip install x_twitter_scraper[aiohttp]
110102
```
111103

@@ -120,7 +112,7 @@ from x_twitter_scraper import AsyncXTwitterScraper
120112

121113
async def main() -> None:
122114
async with AsyncXTwitterScraper(
123-
api_key=os.environ.get("X_TWITTER_SCRAPER_API_KEY"), # This is the default and can be omitted
115+
api_key=os.environ.get("X_TWITTER_SCRAPER_API_KEY"), # Optional; the client reads this variable.
124116
http_client=DefaultAioHttpClient(),
125117
) as client:
126118
response = await client.x.tweets.search(
@@ -140,7 +132,6 @@ Responses use [Pydantic models](https://docs.pydantic.dev) with these helpers:
140132
- Serialize to JSON with `model.to_json()`.
141133
- Convert to a dictionary with `model.to_dict()`.
142134

143-
Typed requests and responses provide editor completion and documentation.
144135
Set `python.analysis.typeCheckingMode` to `basic` in VS Code to catch type errors.
145136

146137
## File Uploads
@@ -184,7 +175,7 @@ except x_twitter_scraper.APIConnectionError as e:
184175
except x_twitter_scraper.RateLimitError as e:
185176
print("Rate limited. Retry later.")
186177
except x_twitter_scraper.APIStatusError as e:
187-
print("The server returned another non-2xx status.")
178+
print("Server returned a non-2xx status.")
188179
print(e.status_code)
189180
print(e.response)
190181
```
@@ -214,7 +205,6 @@ from x_twitter_scraper import XTwitterScraper
214205

215206
# Set the client default:
216207
client = XTwitterScraper(
217-
# default is 2
218208
max_retries=0,
219209
)
220210

@@ -235,7 +225,7 @@ from x_twitter_scraper import XTwitterScraper
235225

236226
# Set the client default:
237227
client = XTwitterScraper(
238-
# 20 seconds (default is 1 minute)
228+
# 20 seconds; default: 1 minute.
239229
timeout=20.0,
240230
)
241231

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "x_twitter_scraper"
3-
version = "0.11.1"
3+
version = "0.11.2"
44
description = "Python SDK for Twitter search, followers, webhooks & X automation through Xquik. Not affiliated with X Corp."
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/x_twitter_scraper/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
66

77
__title__ = "x_twitter_scraper"
8-
__version__ = "0.11.1" # x-release-please-version
8+
__version__ = "0.11.2" # x-release-please-version

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)