Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/google/google-api-cpp-client
The core C++ SK for using Google APIs
https://github.com/google/google-api-cpp-client
Last synced: 18 days ago
JSON representation
The core C++ SK for using Google APIs
- Host: GitHub
- URL: https://github.com/google/google-api-cpp-client
- Owner: google
- License: apache-2.0
- Archived: true
- Created: 2013-05-07T16:55:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T21:40:53.000Z (over 5 years ago)
- Last Synced: 2024-07-31T22:44:41.089Z (3 months ago)
- Language: C++
- Homepage: http://google.github.io/google-api-cpp-client/latest/
- Size: 26.3 MB
- Stars: 299
- Watchers: 50
- Forks: 115
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
# 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](https://cloud.google.com/support/).
The current installation has only been tested on Unix/Linux systems;
this release does not support Windows.## Building
### Prerequisites:
* python (Available from http://www.python.org/getit/)
- verified with versions 2.6.4 and 2.7.3
* C++ compiler and Make
- Mac OSX https://developer.apple.com/xcode/
- Linux http://gcc.gnu.org/### Build Steps:
./prepare_dependencies.py
mkdir build && cd build
../external_dependencies/install/bin/cmake ..
make## Running the Samples
See [src/samples/README.md](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/dcad06f5ff0fecfcf7a029efefe62a6b6287b025Here'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-clientOr 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](https://cloud.google.com/support/).
## 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//\/cppFor example, for Drive/v2, you would use
https://developers.google.com/resources/api-libraries/download/drive/v2/cpp