質問

I have a site on google sites which is for members only, and I want to write a mobile app (using PhoneGap) that will provide read-only access to that site.

Is there any way to use Google APIs Client Library for JavaScript in order to access Google Sites API so the mobile app can authenticate itself and query the site?

役に立ちましたか?

解決

I ended up using Google Apps Script to write a script that return the data I need. I authorized the script to access my site (as the script runs as my user), and authorized everyone that has the script URL to execute the script, and then I made my PHoneGap app get the data using the script URL.

Seems like a nice and simple (and free) way to utilize Google cloud services to do what I needed.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top