Can't get the oauth script to work with python google-api-client
<p>In this link:</p>

<p><a href="https://developers.google.com/api-client-library/python/start/get_started" rel="nofollow">https://developers.google.com/api-client-library/python/start/get_started</a></p>

<p>There's this script: authorized_api_cmd_line_calendar.py</p>

<p><a href="https://developers.google.com/api-client-library/python/samples/authorized_api_cmd_line_calendar.py" rel="nofollow">https://developers.google.com/api-client-library/python/samples/authorized_api_cmd_line_calendar.py</a></p>

<p>This script raises this error:</p>

<p>C:\Users\user\Desktop>authorized_api_cmd_line_calendar.py [[Client_id]] [[Secret key]] </p>

<pre><code>Traceback (most recent call last):
  File "C:\Users\user\Desktop\authorized_api_cmd_line_calendar.py", line 102, in
 &lt;module&gt;
    main()
  File "C:\Users\user\Desktop\authorized_api_cmd_line_calendar.py", line 60, in
main
    credentials = run(flow, storage)
  File "C:\Python27\lib\site-packages\google_api_python_client-1.1-py2.7.egg\oau
th2client\util.py", line 132, in positional_wrapper
    return wrapped(*args, **kwargs)
TypeError: run() takes at least 3 arguments (2 given)
</code></pre>

<p>In the code, I've found the run function requires flags parameter, but I'm not sure what it should be, other then that using None helps nothing. 
Any help?
Thanks in advance
Yair</p>
