Skip to content
Open
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.2.0"
".": "0.3.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 115
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-3b2c6c771ad1da0bbfeb0af115972929ed2c7fcd5e47a79556d66cd21431b224.yml
openapi_spec_hash: de2890233b68387bf5f9b6d19e7d87dc
configured_endpoints: 102
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-cc76e6e9b7122fdacc45fbd7cf4603aaaca4906ae2de0984b51a5fc7cf8dadd6.yml
openapi_spec_hash: 0b1bc061a669d7c77e5bf1476d083a2d
config_hash: 8894c96caeb6df84c9394518810221bd
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.3.0 (2026-04-04)

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

### Features

* **api:** api update ([6595833](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/65958335df38ea35208109db2248093a51f6563b))
* **api:** api update ([9059aff](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/9059aff529800e915fda0f8c3f1c0e19234f3057))
* **api:** api update ([e52e7fb](https://github.com/Xquik-dev/x-twitter-scraper-python/commit/e52e7fba2cb13cdc2dd75fcfe4d281e7e28d445c))

## 0.2.0 (2026-04-01)

Full Changelog: [v0.1.3...v0.2.0](https://github.com/Xquik-dev/x-twitter-scraper-python/compare/v0.1.3...v0.2.0)
Expand Down
88 changes: 18 additions & 70 deletions api.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "x_twitter_scraper"
version = "0.2.0"
version = "0.3.0"
description = "The official Python library for the x-twitter-scraper API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/x_twitter_scraper/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "x_twitter_scraper"
__version__ = "0.2.0" # x-release-please-version
__version__ = "0.3.0" # x-release-please-version
4 changes: 2 additions & 2 deletions src/x_twitter_scraper/resources/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def update_locale(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=AccountUpdateLocaleResponse,
)
Expand Down Expand Up @@ -255,7 +255,7 @@ async def update_locale(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=AccountUpdateLocaleResponse,
)
Expand Down
12 changes: 6 additions & 6 deletions src/x_twitter_scraper/resources/api_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def create(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=APIKeyCreateResponse,
)
Expand All @@ -99,7 +99,7 @@ def list(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=APIKeyListResponse,
)
Expand Down Expand Up @@ -136,7 +136,7 @@ def revoke(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=APIKeyRevokeResponse,
)
Expand Down Expand Up @@ -195,7 +195,7 @@ async def create(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=APIKeyCreateResponse,
)
Expand All @@ -218,7 +218,7 @@ async def list(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=APIKeyListResponse,
)
Expand Down Expand Up @@ -255,7 +255,7 @@ async def revoke(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
security={},
security={"api_key": True},
),
cast_to=APIKeyRevokeResponse,
)
Expand Down
8 changes: 8 additions & 0 deletions src/x_twitter_scraper/resources/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ def update(
Update integration

Args:
filters: Event filter rules (JSON)

message_template: Custom message template (JSON)

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -442,6 +446,10 @@ async def update(
Update integration

Args:
filters: Event filter rules (JSON)

message_template: Custom message template (JSON)

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down
8 changes: 6 additions & 2 deletions src/x_twitter_scraper/resources/radar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from __future__ import annotations

from typing_extensions import Literal

import httpx

from ..types import radar_retrieve_trending_topics_params
Expand Down Expand Up @@ -50,7 +52,8 @@ def retrieve_trending_topics(
count: int | Omit = omit,
hours: int | Omit = omit,
region: str | Omit = omit,
source: str | Omit = omit,
source: Literal["github", "google_trends", "hacker_news", "polymarket", "reddit", "trustmrr", "wikipedia"]
| Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -132,7 +135,8 @@ async def retrieve_trending_topics(
count: int | Omit = omit,
hours: int | Omit = omit,
region: str | Omit = omit,
source: str | Omit = omit,
source: Literal["github", "google_trends", "hacker_news", "polymarket", "reddit", "trustmrr", "wikipedia"]
| Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down
Loading
Loading