Skip to content

Edvinas1122/LocationTriggerScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocationTriggerScripts

Personal python scripts that triggers actions in a list based on current location pragmatic for iPhone platform, but if ask I can deliver script for Android also :)

server comunicates messages via Discord platform

Dependencies:

  1. pip install openai
  2. pip install pyicloud==0.9.6.1
  3. other dependencies to be updated

API & Services registration required:

  1. Discord - only needs a server with a hook
  2. Google Geocode - https://developers.google.com/maps/documentation/geocoding/overview
  3. OpenAi - https://openai.com/blog/openai-api
  4. iCloud account - https://www.icloud.com/

Configs to update:

  1. _config.py -> config.py - must have api keys logins and passwords
  2. _addressList.json -> addressList.json intended to contain list of triggerable addresses and acctions

Application idea structure in abstraction:

  1. Linux Server
  2. Phone location extraction 2.1 Position Extraction 2.2 Position Translation into address, or business
  3. Information delivirence to users phone (discord, facebook mesanger, IRC server client...)
  4. A list of address triggered actions()

Files:

  1. loopUpdateLocation.py -> runtime handle
  2. actions.py -> holds triggarable actions

about programming style: writen in functional hierarchical modular style. It's them scripts after all.

About

Personal python automations based on current location

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published