Tim Burks 9ce9d6914e Rename generated files to "<FILE>.rpc.swift". 8 years ago
..
Sources 3cfc04a783 Move Google samples under a common directory + minor cleanup of Makefile. 8 years ago
Makefile 9ce9d6914e Rename generated files to "<FILE>.rpc.swift". 8 years ago
Package.swift c92da144e9 Update Example dependencies to use 0.3.2 8 years ago
README.md 63cfec0858 New Spanner sample and top-level README for Google examples. 8 years ago
RUNME 9ce9d6914e Rename generated files to "<FILE>.rpc.swift". 8 years ago

README.md

Calling the Google Cloud Natural Language API

This directory contains a very simple sample that calls the Google Cloud Natural Language API. Calls are made directly to the Cloud Natural Language RPC interface. In practice, these would be wrapped in idiomatic code.

Use RUNME to generate the necessary Protocol Buffer and gRPC support code. It uses protoc and the Swift Protocol Buffer and gRPC plugins, so please be sure these are in your path. The plugins can be built by running make in the top-level Plugins directory.

Prerequisites

Please be sure to perform the preliminary steps in Examples/Google/README.