Convert Curl Commands To Python