Skip to main content

Google News Search - Python client

Collect Google News headlines, publishers, publication dates and article links.

This client starts the hosted Apify Actor, waits for completion and downloads Dataset records. It also reads SUMMARY and ERRORS when available. Source coverage and result fields depend on the Actor.

Install

pip install apivault-google-news-search

Run

Set APIFY_TOKEN in your environment. Replace the example values with your own valid inputs from the Actor input form.

from apivault_google_news_search import Client, WaitTimeout

client = Client()
actor_input = {
    "queries": [
        "OpenAI"
    ],
    "maxResults": 5
}
result = client.run(actor_input, max_total_charge_usd=0.05, max_rows=100)
print(result.run_id, len(result.rows), result.truncated)
print(result.summary)

An Apify account and token are required. The package has no subscription of its own; hosted runs are billed by Apify under the Actor pricing. The event charge cap may not include platform usage. Review the current price before changing it. max_rows limits the download, not the Actor collection or its charges; configure an Actor result limit too.

Resume and diagnostics

client.start(input) returns a run ID; client.wait(run_id) and client.result(run_id) resume an existing run. A WaitTimeout exposes run_id. Starting a run is never automatically retried. Use an existing run ID after a connection or waiting failure to avoid duplicate paid runs. Failed and aborted runs raise ActorError. No-match and partial results require inspecting summary and errors; diagnostic rows must not be mistaken for useful results.

Rows can be serialized as JSON or used in your own CSV/Excel pipeline. Native Dataset exports are available in Apify. Optional integrations and credentials depend on the Actor.

Hosted Actor | Source | PyPI

Python client · PyPI · n8n source and workflow · npm

Source coverage and limits

News feeds are bounded snapshots. Daily mode and optional article text use the hosted Actor settings and can increase resources. Neither mode guarantees a complete archive. Repeat runs can bill the same delivered article again. Keep your own articleId-based history for monitoring.

Metadata

Release files for apivault-google-news-search 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apivault-google-news-search 0.1.0
File Size Uploaded Provenance Actions
apivault_google_news_search-0.1.0.tar.gz 5.5 kB Without provenance Details for apivault_google_news_search-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apivault-google-news-search 0.1.0
File Interpreter ABI Platform Actions
apivault_google_news_search-0.1.0-py3-none-any.whl Python 3 none any Details for apivault_google_news_search-0.1.0-py3-none-any.whl

Total release size: 11.7 kB

Release files / apivault_google_news_search-0.1.0.tar.gz

Download URL apivault_google_news_search-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f98fda370b4a524c1e75c955b2eba1198667cb028c92bff0d6bc279d6164dd0f
BLAKE2b-256 checksum
How to use checksums
72242c4b8786bb3d6a4e43726e4ed2bc0c5829e800e96b6b8212f063c88dd11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / apivault_google_news_search-0.1.0-py3-none-any.whl

Download URL apivault_google_news_search-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f73457bffc00266ec41ed05ddd08bc7faa3783454d03bc70d19a7644549deadd
BLAKE2b-256 checksum
How to use checksums
025d935b8a42e1d2a35ef525b2a2205c4ea774b33f7d17dda7e89d98318f7684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for apivault-google-news-search 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page