Sign in to follow this  
Followers 0
tobject

Google Docs API samples needed

6 posts in this topic

Need some AutoIt samples/implementation for

Google Docs

===========

- Function DocUpload(DocTitle, DocFileName, GoogleFolderName:string; user, password:string):string - should return URL to uploaded Doc if success or empty

- Function DocGetLink(DocTitle, GoogleFolderName:string; user, password:string):string - should return URL to existing Google Document if success or empty

//Add users from list to doc's share list

- Function DocShare(DocName, GoogleFolder:string

ShareType: (Viewer, Collaborator,Owner);

UsersList : TStringList;

SendInvitation:boolean;

InvitationText:WideString;

user, password:string):boolean

//Remove all users from shared list, except the owner! Never remove the owner!

- Function DocUnShare(DocName, GoogleFolder:string

ShareType2Remove: (Viewer, Collaborator,Owner);

user, password:string):boolean

Google Sites

===========

//Add anouncement type of entry

- Function SiteAddEntry ( PageUnder, sHTML, Title:string

user, password:string)

Thanks

Share this post


Link to post
Share on other sites



I can't even recognize the language that function signature is.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Need some AutoIt samples/implementation for

Google Docs

I realize this is a late addition, but if others come searching here, I'll put my advice in.

If you're serious about gDocs development, you probably ought to learn python, instead of [or in

addition to, au3].

apis appear to be most readily available / used in python and java.

I can't imagine google releasing an api strictly for windows short of the enterprise app things,

like the outlook connector to ease exchange migrators. Of course, if we could get a dev on staff

w/google to do it as his 20% project :mellow:

Another option would be to automate curl or wget, which are available as command line tools for windows,

as well as just about every other o/s known to man.

http://code.google.com/apis/gdata/articles/using_cURL.html

Edited by flyingboz

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

If you're serious about gDocs development, you probably ought to learn python, instead of [or in

addition to, au3].

I actually did. I wasted whole day installing python, trying to compile scripts I got from the net

but I never got anything compiled.

Eventually someone will write Google API for AU3, I guess

Share this post


Link to post
Share on other sites

Just stumbled on this topic while looking for some tips and thought I'd mention googlecl. It provides most of the functionality you're likely to need and is easy enough to automate via stdin/stdout, plus it uses oAuth which is nice.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0