Daniel Alm f814a34949 Formatting: Replace several occurrences of `catch (let ...)` with just `catch`. 7 년 전
..
Sources f814a34949 Formatting: Replace several occurrences of `catch (let ...)` with just `catch`. 7 년 전
Makefile 9ca08f873a Make the extension for generated files be ".grpc.swift" 8 년 전
Package.swift 285d9bfed6 Also rename the "gRPC" target to "SwiftGRPC". 7 년 전
README.md 63cfec0858 New Spanner sample and top-level README for Google examples. 8 년 전
RUNME a0249407eb Update examples to build with the current version of SwiftGRPC. 7 년 전

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.