I want to create an application in google app engine using php,
Is there any way to login in to my google account using php and create an application dynamically.
views:
151answers:
2Currently, the only way I know to create an app engine app via PHP is through Quercus, the PHP implementation on top of the JVM, as per this post.
Edit: that was "create an app" in the sensible sense of the words -- the running code, simple configuration, data files, &c, that together make up an app -- back when the question was short and ambiguous.
As the question has now been clarified as being instead a quest to violate google's terms and conditions by automating an administrative operation in breach of section 2.3 ("""2.3. You agree not to (a) access (or attempt to access) the administrative interface of the Service by any means other than through the interface that is provided by Google in connection with the Service"""), the case is very different -- my response to that request I'll leave in a comment on this answer.
It seems Google provides no way to automatically create apps on their App Engine.
But as long as you can do it from a browser, you can simulate the app registering process with http queries, using cURL for instance, in PHP.
cURL allows you to send http queries, optionnally with POST data, cookies, etc...you can also set a user-agent. You can pretty much emulate every browser's behaviours. Here, you will have to make a POST query containing the data you're supposed to have filled in the app registering form.
More on cURL on the PHP doc, and there's even a StackOverflow tag for it.