Kristopher Wuollett 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) há 2 anos atrás
..
Sources 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) há 2 anos atrás
Makefile 3b6a69e9dd Fix compile issues in Google/NaturalLanguage (#643) há 6 anos atrás
Package.resolved 4b0a131673 updated NaturalLanguage example to Xcode 14 and latest package versions (#1489) há 3 anos atrás
Package.swift b88c22209e Drop support for Swift 5.0 (#1070) há 5 anos atrás
README.md 882b91eedf Add sample Google API call using SwiftGRPCNIO. (#448) há 6 anos atrás
RUNME 3b6a69e9dd Fix compile issues in Google/NaturalLanguage (#643) há 6 anos atrás

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.