I wrote a little python app that is checking a website for a given price (price radar). This python script takes 3 variables: Start, destination, maximal price. When it finds a correct ride it posts it to a telegram bot. This python Script is on a Raspberry which allready has a Nginx-Server installed and is reachable through Dyn-DNS.
Now I am writing an Android App with which I want to start/control my python script. So I need to start this script and give it the variables I set in the Android App.
Which would be "Best practice" for this use case? Especially when you think about security.