{"id":13877557,"url":"https://github.com/dialogflow/dialogflow-apple-client","last_synced_at":"2025-08-08T02:06:24.407Z","repository":{"id":18658055,"uuid":"21865336","full_name":"dialogflow/dialogflow-apple-client","owner":"dialogflow","description":"iOS SDK for Dialogflow ","archived":false,"fork":false,"pushed_at":"2019-02-20T18:55:07.000Z","size":5126,"stargazers_count":244,"open_issues_count":23,"forks_count":60,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-07-05T03:25:51.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://api.ai","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dialogflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-15T15:32:18.000Z","updated_at":"2025-03-26T21:45:55.000Z","dependencies_parsed_at":"2022-08-21T02:50:53.456Z","dependency_job_id":null,"html_url":"https://github.com/dialogflow/dialogflow-apple-client","commit_stats":null,"previous_names":["api-ai/api-ai-ios-sdk"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/dialogflow/dialogflow-apple-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Fdialogflow-apple-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Fdialogflow-apple-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Fdialogflow-apple-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Fdialogflow-apple-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dialogflow","download_url":"https://codeload.github.com/dialogflow/dialogflow-apple-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Fdialogflow-apple-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269351910,"owners_count":24402678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T08:01:08.268Z","updated_at":"2025-08-08T02:06:24.354Z","avatar_url":"https://github.com/dialogflow.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# DEPRECATED Objective-C(Cocoa) SDK for api.ai\n\n| Deprecated |\n|-------|\n| This Dialogflow client library and Dialogflow API V1 [have been deprecated and will be shut down on October 23th, 2019](https://blog.dialogflow.com/post/migrate-to-dialogflow-api-v2/). Please [migrate to Dialogflow API V2](https://cloud.google.com/dialogflow-enterprise/docs/migrating). |\n\n[![Build Status](https://travis-ci.org/api-ai/api-ai-ios-sdk.svg)](https://travis-ci.org/api-ai/api-ai-ios-sdk)\n[![Version](https://img.shields.io/cocoapods/v/ApiAI.svg?style=flat)](http://cocoapods.org/pods/ApiAI)\n[![License](https://img.shields.io/cocoapods/l/ApiAI.svg?style=flat)](http://cocoapods.org/pods/ApiAI)\n[![Platform](https://img.shields.io/cocoapods/p/ApiAI.svg?style=flat)](http://cocoapods.org/pods/ApiAI)\n\n* [Overview](#overview)\n* [Prerequisites](#prerequisites)\n* [Running the Demo app](#runningthedemoapp)\n* [Integrating api.ai into your iOS app](#integratingintoyourapp)\n\n---------------\n\n## \u003ca name=\"overview\"\u003e\u003c/a\u003eOverview\nThe API.AI Objective-C(Cocoa) SDK makes it easy to integrate speech recognition with API.AI natural language processing API on Apple devices. API.AI allows using voice commands and integration with dialog scenarios defined for a particular agent in API.AI.\n\n## \u003ca name=\"prerequisites\"\u003e\u003c/a\u003ePrerequsites\n* Create an [API.AI account](http://api.ai)\n* Install [CocoaPods](http://cocoapods.org/)\n\n\n## \u003ca name=\"runningthedemoapp\"\u003e\u003c/a\u003eRunning the Demo app\n* Run ```pod update``` in the ApiAiDemo project folder.\n* Open **ApiAIDemo.xworkspace** in Xcode.\n* In **ViewController -viewDidLoad** insert API key.\n  ```\n  configuration.clientAccessToken = @\"YOUR_CLIENT_ACCESS_TOKEN\";\n  ```\n\n  Note: an agent in **api.ai** should exist. Keys could be obtained on the agent's settings page.\n\n* Define sample intents in the agent.\n* Run the app in Xcode.\n  Inputs are possible with text and voice (experimental).\n\n\n## \u003ca name=\"integratingintoyourapp\"\u003e\u003c/a\u003eIntegrating into your app\n### 1. Initialize CocoaPods\n  * Run  ```pod install``` in your project folder.\n\n  * Update **Podfile** to include:\n    ```Podfile\n    pod 'ApiAI'\n    ```\n\n* Run ```pod update```\n\n### 2. Init the SDK.\n  In the ```AppDelegate.h```, add ApiAI.h import and property:\n  ```Objective-C\n  #import \u003cApiAI/ApiAI.h\u003e\n\n  @property(nonatomic, strong) ApiAI *apiAI;\n  ```\n\n  In the AppDelegate.m, add\n  ```Objective-C\n    self.apiAI = [[ApiAI alloc] init];\n\n    // Define API.AI configuration here.\n    id \u003cAIConfiguration\u003e configuration = [[AIDefaultConfiguration alloc] init];\n    configuration.clientAccessToken = @\"YOUR_CLIENT_ACCESS_TOKEN_HERE\";\n\n    self.apiAI.configuration = configuration;\n  ```\n\n### 3. Perform request.\n  ```Objective-C\n  ...\n  // Request using text (assumes that speech recognition / ASR is done using a third-party library, e.g. AT\u0026T)\n  AITextRequest *request = [apiai textRequest];\n  request.query = @[@\"hello\"];\n  [request setCompletionBlockSuccess:^(AIRequest *request, id response) {\n      // Handle success ...\n  } failure:^(AIRequest *request, NSError *error) {\n      // Handle error ...\n  }];\n\n  [_apiAI enqueue:request];\n\n  ```\n## How to make contributions?\nPlease read and follow the steps in the [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## License\nSee [LICENSE](LICENSE).\n\n## Terms\nYour use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the [Google APIs Terms of Service](https://developers.google.com/terms/).\n\nThis is not an official Google product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialogflow%2Fdialogflow-apple-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdialogflow%2Fdialogflow-apple-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialogflow%2Fdialogflow-apple-client/lists"}