简体   繁体   English

如何从谷歌应用引擎开发应用服务器批量下载

[英]How to bulk download from google app engine dev app server

The documentation online implies that data can be downloaded from the development server (just one kind at-a-time: 在线文档暗示可以从开发服务器下载数据(一次只能一种:

Downloading all entities of all kinds only works on App Engine, and does not work with the development server. 下载所有类型的实体仅适用于App Engine,不适用于开发服务器。

Should the url switch be passed with localhost as the argument? 是否应该使用localhost作为参数传递url开关? I've searched and continue to search but can find no examples. 我搜索并继续搜索,但没有找到任何例子。

    appcfg.py download_data --application=<your_app_id> --kind=<kind>
    --url=http://your_app_id.appspot.com/[remote_api_path]
    --filename=<data-filename>

I have added into the app.yaml: 我已经添加到app.yaml:

    builtins:
    - remote_api: on

What is the remote_api_path if you have enabled the remote_api builtin? 如果你启用了remote_api内置,那么remote_api_path是什么?

I hope someone can provide an example of command-line arguments that will allow bulk-downloading of data for specific kinds. 我希望有人可以提供一个命令行参数的例子,它允许批量下载特定类型的数据。

Thanks in advance :) 提前致谢 :)

Try with something like this: 试试这样的事情:

appcfg.py download_data 
    --application=YourAppID --kind=YourKind
    --url=http://localhost:YourPort/_ah/remote_api 
    --filename=YourFileName

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM