Add Google Calendar birthday sync
- Fetches iCal feed from Google Calendar - Parses events containing 'birthday' - Extracts names and dates - Merges with existing birthday-tracker database - Notifies via Telegram + Gotify when new birthdays added - Runs weekly on Sundays at 10 AM - Added 30 birthdays from Google Calendar on first run
This commit is contained in:
@@ -6,25 +6,43 @@
|
||||
"birthday": "06-02",
|
||||
"birth_year": 1951,
|
||||
"notes": "Cancer treatment ongoing - be extra thoughtful. Loves gardening, cooking, family time.",
|
||||
"gift_ideas": ["Flowers", "Gardening supplies", "Photo album", "Day spa voucher", "Home-cooked meal"],
|
||||
"gift_ideas": [
|
||||
"Flowers",
|
||||
"Gardening supplies",
|
||||
"Photo album",
|
||||
"Day spa voucher",
|
||||
"Home-cooked meal"
|
||||
],
|
||||
"past_gifts": []
|
||||
},
|
||||
{
|
||||
"name": "Harvey Martin",
|
||||
"name": "Harvey Martin",
|
||||
"relationship": "Dad",
|
||||
"birthday": "12-08",
|
||||
"birth_year": 1949,
|
||||
"notes": "Full-time carer for Grace. Needs respite/support. Loves tech gadgets, wine, coffee.",
|
||||
"gift_ideas": ["Ember mug", "Wine subscription", "Coffee beans", "Tech gadget", "Day out voucher"],
|
||||
"gift_ideas": [
|
||||
"Ember mug",
|
||||
"Wine subscription",
|
||||
"Coffee beans",
|
||||
"Tech gadget",
|
||||
"Day out voucher"
|
||||
],
|
||||
"past_gifts": []
|
||||
},
|
||||
{
|
||||
"name": "Elizabeth Martin",
|
||||
"relationship": "Sister",
|
||||
"relationship": "Sister",
|
||||
"birthday": "09-11",
|
||||
"birth_year": 1990,
|
||||
"notes": "Vegan - avoid food gifts unless specifically vegan. Creative, environmentally conscious.",
|
||||
"gift_ideas": ["Vegan cookbook", "Eco-friendly products", "Plants", "Art supplies", "Experience gift"],
|
||||
"gift_ideas": [
|
||||
"Vegan cookbook",
|
||||
"Eco-friendly products",
|
||||
"Plants",
|
||||
"Art supplies",
|
||||
"Experience gift"
|
||||
],
|
||||
"past_gifts": []
|
||||
},
|
||||
{
|
||||
@@ -33,8 +51,314 @@
|
||||
"birthday": "07-XX",
|
||||
"birth_year": 2016,
|
||||
"notes": "8 years old (born July 2016). Loves games, books, LEGO, sports.",
|
||||
"gift_ideas": ["LEGO set", "Books", "Board games", "Sports equipment", "Science kit"],
|
||||
"gift_ideas": [
|
||||
"LEGO set",
|
||||
"Books",
|
||||
"Board games",
|
||||
"Sports equipment",
|
||||
"Science kit"
|
||||
],
|
||||
"past_gifts": []
|
||||
},
|
||||
{
|
||||
"name": "Jamie Greer",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "03-30",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Jamie Greer's birthday",
|
||||
"birth_year": 2019
|
||||
},
|
||||
{
|
||||
"name": "Martin (Kristy’s)",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "11-01",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Martin (Kristy’s) Birthday lunch ",
|
||||
"birth_year": 2020
|
||||
},
|
||||
{
|
||||
"name": "Josh O'keefe",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "05-03",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Josh O'keefe's birthday dinner",
|
||||
"birth_year": 2019
|
||||
},
|
||||
{
|
||||
"name": "JK 40th",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-19",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: JK's 40th Birthday Zoom Champagne Sundowner!",
|
||||
"birth_year": 2020
|
||||
},
|
||||
{
|
||||
"name": "Pick up Elizabeth",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-20",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Pick up Elizabeth's birthday cake",
|
||||
"birth_year": 2025
|
||||
},
|
||||
{
|
||||
"name": "Jackie R’s",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-19",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Jackie R’s birthday",
|
||||
"birth_year": 2021
|
||||
},
|
||||
{
|
||||
"name": "Michael Somic",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "10-15",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Michael Somic birthday ",
|
||||
"birth_year": 2020
|
||||
},
|
||||
{
|
||||
"name": "Anthony",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "02-05",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Anthony birthday lunch",
|
||||
"birth_year": 2023
|
||||
},
|
||||
{
|
||||
"name": "Adrianna’s special",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "02-25",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Adrianna’s special birthday 🥳",
|
||||
"birth_year": 2023
|
||||
},
|
||||
{
|
||||
"name": "Elizabeth",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-11",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Elizabeth's birthday",
|
||||
"birth_year": 2020
|
||||
},
|
||||
{
|
||||
"name": "By Justin a",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "11-23",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: By Justin a birthday present",
|
||||
"birth_year": 2019
|
||||
},
|
||||
{
|
||||
"name": "Elizabeth",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-22",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Elizabeth's birthday party",
|
||||
"birth_year": 2019
|
||||
},
|
||||
{
|
||||
"name": "Kerry Milne",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "11-04",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Kerry Milne birthday soirée ",
|
||||
"birth_year": 2023
|
||||
},
|
||||
{
|
||||
"name": "Simon te Brinke",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "06-28",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Simon te Brinke's birthday celebrations",
|
||||
"birth_year": 2024
|
||||
},
|
||||
{
|
||||
"name": "Jackie 50th",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-22",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Jackie 50th Birthday Drinks 🥳",
|
||||
"birth_year": 2024
|
||||
},
|
||||
{
|
||||
"name": "Georga Stewart 30th",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "10-12",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Georga Stewart's 30th birthday party",
|
||||
"birth_year": 2019
|
||||
},
|
||||
{
|
||||
"name": "Pineapples",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "03-03",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Pineapples Birthday",
|
||||
"birth_year": 2019
|
||||
},
|
||||
{
|
||||
"name": "Terry’s 50th",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "01-18",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Terry’s 50th birthday",
|
||||
"birth_year": 2020
|
||||
},
|
||||
{
|
||||
"name": "Kanya’s",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "03-05",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Kanya’s birthday drinks",
|
||||
"birth_year": 2021
|
||||
},
|
||||
{
|
||||
"name": "Martin rages",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "10-29",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Martin rages birthday",
|
||||
"birth_year": 2022
|
||||
},
|
||||
{
|
||||
"name": "Elly",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "08-21",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Elly's birthday",
|
||||
"birth_year": 2010
|
||||
},
|
||||
{
|
||||
"name": "Jackie Cash",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "09-25",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Jackie Cash Birthday Drinks 🥳",
|
||||
"birth_year": 2022
|
||||
},
|
||||
{
|
||||
"name": "Bianca’s",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "02-21",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Bianca’s Birthday Brunch",
|
||||
"birth_year": 2021
|
||||
},
|
||||
{
|
||||
"name": "Daniel Surprise",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "03-22",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Daniel's Surprise Birthday Lunch",
|
||||
"birth_year": 2025
|
||||
},
|
||||
{
|
||||
"name": "Pick up Alex",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "07-06",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Pick up Alex's birthday cake",
|
||||
"birth_year": 2025
|
||||
},
|
||||
{
|
||||
"name": "Mums",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "06-04",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Mums birthday ",
|
||||
"birth_year": 2023
|
||||
},
|
||||
{
|
||||
"name": "Joshua",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "05-02",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Joshua's birthday drinks",
|
||||
"birth_year": 2021
|
||||
},
|
||||
{
|
||||
"name": "Lee’s",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "02-18",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Lee’s birthday Drinks",
|
||||
"birth_year": 2023
|
||||
},
|
||||
{
|
||||
"name": "Jamie’s Good Friday",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "03-29",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Jamie’s Good Friday Birthday Cruise",
|
||||
"birth_year": 2024
|
||||
},
|
||||
{
|
||||
"name": "Daniels",
|
||||
"relationship": "Contact (from Google Calendar)",
|
||||
"birthday": "05-28",
|
||||
"source": "google-calendar",
|
||||
"gift_ideas": [],
|
||||
"past_gifts": [],
|
||||
"notes": "Found in Google Calendar: Daniels birthday",
|
||||
"birth_year": 2011
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
|
||||
Reference in New Issue
Block a user