Fly to (Guided Mode) instruction from external program

HI there I need to find out how I can get fly to Guided mode from an external program. I have a program that can send me GEO tags. I need mission planner to read that GEO tag and fly to that location automatically. Does any one know where I can get a python script for this kind instruction set.

there are a few ways you can do this

via http, or via python.

eg1 http://127.0.0.1:56781/guided?lat=-34&lng=117.8&alt=30