如何使用EndPoints在Google App Engine中的Objective-C中生成API库

时间:2022-11-14 23:17:23

I used google app engine as my backend server. I watched the google I/O video, and it said it can generate the IOS api library in EndPoints by command line. But I couldn't find the way to do that, and there is no information about it on the Internet. Is there anyone who uses google app engine as their IOS app backend and could answer my question?

我使用谷歌应用引擎作为我的后端服务器。我观看了谷歌I / O视频,它说它可以通过命令行在EndPoints中生成IOS api库。但我找不到这样做的方法,互联网上也没有关于它的信息。是否有人使用谷歌应用程序引擎作为他们的IOS应用程序后端,并可以回答我的问题?

2 个解决方案

#1


0  

Working with GAE, there is no way to generate an API "in objective-c". Google app engine infrastructure supports Java and python, so you need to write your API in one of these languages to deploy it in GAE cloud.

使用GAE,无法在“objective-c”中生成API。 Google应用引擎基础架构支持Java和python,因此您需要使用其中一种语言编写API以将其部署在GAE云中。

Then, in your iOS application, you will need to communicate with the APIs you just deployed in GAE, this can be done with a so called client library. Here is an example of a client library for Objective-C.

然后,在您的iOS应用程序中,您需要与刚刚在GAE中部署的API进行通信,这可以通过所谓的客户端库来完成。以下是Objective-C的客户端库示例。

#2


0  

Cloud Endpoints is still under Trusted Tester program. You can sign up here:

Cloud Endpoints仍在Trusted Tester计划下。你可以在这里注册:

http://endpoints-trusted-tester.appspot.com/

UPDATE Official docs on generating iOS client libs can be found here:

更新有关生成iOS客户端库的官方文档可以在这里找到:

#1


0  

Working with GAE, there is no way to generate an API "in objective-c". Google app engine infrastructure supports Java and python, so you need to write your API in one of these languages to deploy it in GAE cloud.

使用GAE,无法在“objective-c”中生成API。 Google应用引擎基础架构支持Java和python,因此您需要使用其中一种语言编写API以将其部署在GAE云中。

Then, in your iOS application, you will need to communicate with the APIs you just deployed in GAE, this can be done with a so called client library. Here is an example of a client library for Objective-C.

然后,在您的iOS应用程序中,您需要与刚刚在GAE中部署的API进行通信,这可以通过所谓的客户端库来完成。以下是Objective-C的客户端库示例。

#2


0  

Cloud Endpoints is still under Trusted Tester program. You can sign up here:

Cloud Endpoints仍在Trusted Tester计划下。你可以在这里注册:

http://endpoints-trusted-tester.appspot.com/

UPDATE Official docs on generating iOS client libs can be found here:

更新有关生成iOS客户端库的官方文档可以在这里找到: