{"id":19635769,"url":"https://github.com/codepath/ios_yelp_swift","last_synced_at":"2025-04-28T08:30:59.913Z","repository":{"id":20964348,"uuid":"24253120","full_name":"codepath/ios_yelp_swift","owner":"codepath","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-26T22:49:05.000Z","size":267,"stargazers_count":69,"open_issues_count":5,"forks_count":109,"subscribers_count":17,"default_branch":"master","last_synced_at":"2023-05-10T14:13:30.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codepath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-20T03:53:55.000Z","updated_at":"2023-05-10T14:13:30.201Z","dependencies_parsed_at":"2022-07-25T08:31:57.162Z","dependency_job_id":null,"html_url":"https://github.com/codepath/ios_yelp_swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fios_yelp_swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fios_yelp_swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fios_yelp_swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepath%2Fios_yelp_swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepath","download_url":"https://codeload.github.com/codepath/ios_yelp_swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224102137,"owners_count":17256099,"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","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-11-11T12:26:51.735Z","updated_at":"2024-11-11T12:26:52.395Z","avatar_url":"https://github.com/codepath.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Basic Yelp client\n\nThis is a headless example of how to implement an OAuth 1.0a Yelp API client. The Yelp API provides an application token that allows applications to make unauthenticated requests to their search API.\n\n### Next steps\n\n- Check out `BusinessesViewController.swift` to see how to use the `Business` model.\n\n### Sample request\n\n**Basic search with query**\n\n```\nBusiness.searchWithTerm(\"Thai\", completion: { (businesses: [Business]!, error: Error!) -\u003e Void in\n    self.businesses = businesses\n    \n    for business in businesses {\n        print(business.name!)\n        print(business.address!)\n    }\n})\n```\n\n**Advanced search with categories, sort, and deal filters**\n\n```\nBusiness.searchWithTerm(\"Restaurants\", sort: .distance, categories: [\"asianfusion\", \"burgers\"], deals: true) { (businesses: [Business]!, error: Error!) -\u003e Void in\n\n    for business in businesses {\n        print(business.name!)\n        print(business.address!)\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepath%2Fios_yelp_swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepath%2Fios_yelp_swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepath%2Fios_yelp_swift/lists"}