• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

google/google-api-cpp-client: The core C++ SK for using Google APIs

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

google/google-api-cpp-client

开源软件地址(OpenSource Url):

https://github.com/google/google-api-cpp-client

开源编程语言(OpenSource Language):

C++ 97.5%

开源软件介绍(OpenSource Introduction):

Google API C++ Client

This repository is deprecated as of May 30th 2019. Please do not use this for any new projects.

PLEASE READ: If you have a support contract with Google, and need help with this library - please create an issue in the support console.

The current installation has only been tested on Unix/Linux systems; this release does not support Windows.

Building

Prerequisites:

Build Steps:

./prepare_dependencies.py
mkdir build && cd build
../external_dependencies/install/bin/cmake ..
make

Running the Samples

See src/samples/README.md

Building Clients for Other APIs

To download additional APIs specialized for individual Google Services see: http://google.github.io/google-api-cpp-client/latest/available_service_apis.html and use this precise version of the apis client generator: https://github.com/google/apis-client-generator/tree/dcad06f5ff0fecfcf7a029efefe62a6b6287b025

Here's an example invocation:

$ python apis-client-generator/src/googleapis/codegen/generate_library.py --api_name=drive --api_version=v2 --language=cpp --output_dir=/tmp/generated

It should be possible to build this from existing installed libraries. However, the build scripts are not yet written to find them. For initial support simplicity we download and build all the dependencies in the prepare_dependencies.py script for the time being as a one-time brute force preparation.

Getting Help

If you have problems, questions or suggestions, contact: The Google group at https://groups.google.com/group/google-api-cpp-client

Or you may also ask questions on StackOverflow at: http://stackoverflow.com with the tag google-api-cpp-client

PLEASE READ: If you have a support contract with Google, and need help with this library - please create an issue in the support console.

Status

This SDK is deprecated and archived. We don't accept patches any more.

About the branches

The master branch is where development is done. It usually is compatible with the generated libraries available from from google.developers.com. On occasion it gets aheaad of those. It usually catches up in a few days.

The latest generated libraries for any Google API is available automatically from https://developers.google.com/resources/api-libraries/download/<API>/<VERSION>/cpp

For example, for Drive/v2, you would use https://developers.google.com/resources/api-libraries/download/drive/v2/cpp




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap