Skip to content

BiscuitBobby/todomeki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

pip package to scrape and track events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages