If I have python...
r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
How can I get it to work with...
myvar = 'get'
r = requests.myvar('https://api.github.com/user', auth=('user', 'pass'))
I.e. parse the string through as a command?