Glad you are finding GAM useful. Note that the GAM download for
Windows is a compiled program so Python is not necessary on the
machine (a program called py2exe takes gam.py, Python and all
necessary libraries and compiles them into a Windows executable).
If you're using Linux or Mac, the GAM Python source requires Python
to be installed (but Python ships with OS X and most Linux distros).
The Google Python libraries are included in the GAM Python source
tarball so they should not need to be downloaded seperately.
Jay
On Jan 8, 10:56 am, Derrel <dvfinc...@gmail.com> wrote:
> This is a terrific program for working with Google Apps--thanks so
> much for creating it. Your examples are clear and easy.
>
> This information is for people just starting with GAM who aren't quite
> sure where to start. I am new to the whole Google Apps API and
> struggled with getting it to work so I'm writing down the basic
> steps.
>
> I installed GAM and.... nothing. Then I had an ah-ha moment. It uses
> Python, so I should probably install Python. I installed Python and...
> nothing. Then another ah-ha moment. Maybe it requires a Python
> library from Google. So I downloaded the Python library and success!
> Basic steps are:
>
> -Download GAM and extract to your directory of choice. Don't forget to
> unzip the Library module as well.
> -Download Python (http://www.python.org/download/) and Install. I
> chose 2.6.4. You may need to restart to get file associations to work
> correctly.
> -Download Google's featured Gdata-Python-Client (http://
> code.google.com/p/gdata-python-client/downloads/list). After unzipping
> the client, I just double-clicked the setup.py in the gdata-2.0.6
> directory and it properly installed the client to my Python directory.
>
> After that, just open a command prompt where you installed GAM and run
> GAM following the examples in the GAM wiki. The first command you run
> will prompt for username (don't put in the email, just the username),
> password, and domain and save an authentication string in token.txt in
> the GAM directory. After that, continue with commands.
Ah-ha! I thought it was compiled, but it wasn't working until I
followed the steps I gave. But I just went back and reviewed what I
had done, and I found I was making two other mistakes simultaneously
that kept GAM from giving results. I was passing incorrect parameters
to it in two separate commands so it couldn't parse correctly for
either command, but I managed to type them correctly AFTER I installed
the other packages. Thanks for the heads up.
Derrrel