reading material
This commit is contained in:
parent
aeaba9bcc5
commit
8b60202f35
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
## Skills
|
## Skills
|
||||||
|
|
||||||
|
- [ ] Translations
|
||||||
- [ ] Alarms
|
- [ ] Alarms
|
||||||
- [ ] Calendar
|
- [ ] Calendar
|
||||||
- [ ] Gmail
|
- [ ] Gmail
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
#using FastAPI because I used that for ThermalTodos with auth0 auth and dont want to relearn auth0
|
@ -1,4 +1,10 @@
|
|||||||
|
|
||||||
|
"""
|
||||||
|
Basically going to be the same as timers.py
|
||||||
|
|
||||||
|
Maybe we just call timers.py from here?
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
class Alarms:
|
class Alarms:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -1 +1,12 @@
|
|||||||
# TODO: Handle all authentication stuff for verifying client is who we think it is in here.
|
# TODO: Handle all authentication stuff for verifying client is who we think it is in here.
|
||||||
|
|
||||||
|
"""
|
||||||
|
Reading material for this:
|
||||||
|
|
||||||
|
https://auth0.com/blog/using-m2m-authorization/
|
||||||
|
https://git.imsam.ca/sam/ThermalTodos/src/branch/main/application/main.py (FastAPI + Auth0)
|
||||||
|
(previous link is based on this) https://auth0.com/blog/build-and-secure-fastapi-server-with-auth0/
|
||||||
|
|
||||||
|
THIS IS GOING TO BE AN ABSOLUTE PAIN TO WORK ON, I SPENT LITERALLY ABOUT 8 HOURS JUST ON THERMALTODOS AUTH
|
||||||
|
I HOPE THIS ISNT AS PAINFUL
|
||||||
|
"""
|
@ -1,4 +1,10 @@
|
|||||||
|
|
||||||
|
"""
|
||||||
|
Reading Material:
|
||||||
|
|
||||||
|
https://developers.google.com/calendar/api/quickstart/python
|
||||||
|
https://git.imsam.ca/sam/ThermalTodos/src/branch/main/application/sync_calendar.py (readonly application of previous link)
|
||||||
|
"""
|
||||||
|
|
||||||
class Cal:
|
class Cal:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -1 +1,2 @@
|
|||||||
ntfy_url="jgjaifnfi"
|
ntfy_url="jgjaifnfi"
|
||||||
|
deepl_api_key=""
|
@ -1,4 +1,10 @@
|
|||||||
|
|
||||||
|
"""
|
||||||
|
Reading Material:
|
||||||
|
|
||||||
|
https://developers.google.com/gmail/api/quickstart/python
|
||||||
|
https://git.imsam.ca/sam/ThermalTodos/src/branch/main/application/sync_calendar.py (for autherizing user)
|
||||||
|
"""
|
||||||
|
|
||||||
class Gmail:
|
class Gmail:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
|
Using notification logic from timers.py to notify at specified time
|
||||||
|
have web app to access list of reminders? (notion api?)
|
||||||
|
|
||||||
|
look into location based reminders and see if thats possible (maybe ntfy.sh supports this?)
|
||||||
|
"""
|
||||||
|
|
||||||
class Reminders: # ntfy.sh notification?
|
class Reminders: # ntfy.sh notification?
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.trigger_phrase = "reminders"
|
self.trigger_phrase = "reminders"
|
@ -1,6 +1,6 @@
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
if __name__ == "__main__": # Handle
|
if __name__ == "__main__": # Handle running this script directly vs as a project
|
||||||
from config import ntfy_url
|
from config import ntfy_url
|
||||||
from utility import parsetime2
|
from utility import parsetime2
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user