Track event details from web resultse
Project description
Don't miss approaching events and opportunities again. Scrape online results for upcoming events and track them.
Example code:
import dotenv
import os
from todomeki import Watcher
dotenv.load_dotenv()
# set up Watcher with google api key for gemini and programmable search engine (api_key),
# search engine id (cx) and location (gl) "us", "uk", "au", "cn", "in", etc
watcher = Watcher(api_key=os.getenv('search_key'), cx=os.getenv('engine_id'), gl="gb")
# search for event
query = input("Enter your search query: ")
watcher.track_event(query)
# return upcoming events in 30 day range
watcher.nearing_events()
# manually add event
watcher.manually_add_event('BiscuitBobby workshop', '12/2/2024')
# remove event
watcher.remove_event('BiscuitBobby workshop')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
todomeki-0.1.2.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file todomeki-0.1.2.tar.gz.
File metadata
- Download URL: todomeki-0.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dde2759c0b2d49ed846945c50bf53f517e0a3b106d8cf593b6b644176aead6a
|
|
| MD5 |
9a853815d0c5df63944e6308b1185e14
|
|
| BLAKE2b-256 |
96a563ebc6d2e9f6d268e155f9c8a07fad393fb614571329e01532994ffef758
|
File details
Details for the file todomeki-0.1.2-py3-none-any.whl.
File metadata
- Download URL: todomeki-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7f1f330b0b8e53833683f6bce1681f3d0955400d7e024e08f0430d8dbe86376
|
|
| MD5 |
a72949c2afa22a352fcb4f76c3c24372
|
|
| BLAKE2b-256 |
0de3c7d49cf879a31b11a627623b00df504a8e3ac233bd9f2b13e2c013ed16d1
|