Skip to main content

The google-alerts Python module provides an abstract interface for the Google Alerts service. Google does not provide an official API for this service, so interactions are done through web scripting.

Quick Start

Install the library: pip install google-alerts or python setup.py install

Getting an instance:

ga = GoogleAlerts('your.email@gmail.com', '**password**')

Authenticating your user (does not support 2FA):

ga.authenticate()

Listing monitors:

ga.list()

Example monitor listing:

[{
    "term": "hello world",
    "user_id": "09738342945634096720",
    "language": "en",
    "monitor_id": "89e517961a3148c7:c395b7d271b4eccc:com:en:US",
    "region": "US",
    "rss_link": "https://google.com/alerts/feeds/09738342945634096720/9663349274289663466",
    "delivery": "RSS",
    "match_type": "BEST"
}]

Adding a new monitor:

ga.create("Hello World", {'delivery': 'RSS'})

Modify an existing monitor:

ga.modify("89e517961a3148c7:c395b7d271b4eccc:com:en:US", {'delivery': 'RSS', 'monitor_match': 'ALL'})

Delete a monitor:

ga.delete("89e517961a3148c7:c395b7d271b4eccc:com:en:US")

Features

  • Add new monitors (RSS or Mail)

  • Modify existing monitors

  • Delete monitors by ID or term

  • List all monitors with details

Changelog

To be added.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-alerts-0.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

google_alerts-0.0.1-py2.7.egg (14.1 kB view details)

Uploaded Egg

google_alerts-0.0.1-py2-none-any.whl (5.9 kB view details)

Uploaded Python 2

File details

Details for the file google-alerts-0.0.1.tar.gz.

File metadata

  • Download URL: google-alerts-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for google-alerts-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1e3c5c14d68851b80eef4d331df9d233141ea7e02b87d441e176d6fef1f904fd
MD5 05888cd6645ae063448dc8fd8a5af6ab
BLAKE2b-256 b0337af52fa5976499fa5f5e0484dcf7f2d148d17eac8621708795fff188b5ca

See more details on using hashes here.

File details

Details for the file google_alerts-0.0.1-py2.7.egg.

File metadata

File hashes

Hashes for google_alerts-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 eb219bf17d9dd38cebc0c7b32f26863142e3959c118610232079faf79e6d4756
MD5 c8bd7ce43aa5aa101e9bda46ac843e61
BLAKE2b-256 34183d5edc78ec4d6d58a3f3ed6234fdd2fdfcc43f5a3e36ab629eacd5f0b571

See more details on using hashes here.

File details

Details for the file google_alerts-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for google_alerts-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 084903a293adf2e21d6051aff3de14d2d631c4082ff4848c8aac10df5de79140
MD5 04c30e9778113980dbfe62991d1dfda9
BLAKE2b-256 f4423b04c6880f598d424ef17f5c8a1d70e9592b27e6c890d565f562cf45638d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page