{"id":16685544,"url":"https://github.com/imryan/brocade","last_synced_at":"2026-04-29T09:33:45.354Z","repository":{"id":56904046,"uuid":"258840342","full_name":"imryan/Brocade","owner":"imryan","description":"📦 Swift library for the free and open product database.","archived":false,"fork":false,"pushed_at":"2020-07-16T21:31:56.000Z","size":680,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T03:03:17.703Z","etag":null,"topics":["brocade","database","datakick","gtin","product","product-database","upc"],"latest_commit_sha":null,"homepage":"https://www.brocade.io/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-25T17:59:53.000Z","updated_at":"2022-03-11T20:28:31.000Z","dependencies_parsed_at":"2022-08-20T18:40:08.858Z","dependency_job_id":null,"html_url":"https://github.com/imryan/Brocade","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2FBrocade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2FBrocade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2FBrocade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imryan%2FBrocade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imryan","download_url":"https://codeload.github.com/imryan/Brocade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428434,"owners_count":20289317,"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":["brocade","database","datakick","gtin","product","product-database","upc"],"created_at":"2024-10-12T14:47:36.510Z","updated_at":"2026-04-29T09:33:45.279Z","avatar_url":"https://github.com/imryan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 Brocade\nSwift library for the free and open product database.\n\n[![CI Status](https://img.shields.io/travis/imryan/Brocade.svg?style=flat)](https://travis-ci.org/imryan/Brocade)\n[![Version](https://img.shields.io/cocoapods/v/Brocade.svg?style=flat)](https://cocoapods.org/pods/Brocade)\n[![License](https://img.shields.io/cocoapods/l/Brocade.svg?style=flat)](https://cocoapods.org/pods/Brocade)\n[![Platform](https://img.shields.io/cocoapods/p/Brocade.svg?style=flat)](https://cocoapods.org/pods/Brocade)\n\n## Usage\n\n```swift\n// List last 100 items using delegate\nlet brocade = Brocade(delegate: self)\nbrocade.listItems()\n\n// List last 100 items using closure\nbrocade.listItems { (items, error) in\n    debugPrint(\"Items: \\(items). Error: \\(error?.localizedDescription).\")\n}\n\n// Get item by code using delegate\nlet brocade = Brocade(delegate: self)\nbrocade.getItem(code: \"00074887615305\")\n\n// Get item by code using closure\nbrocade.getItem(code: \"00074887615305\") { (item, error) in\n    debugPrint(\"Item: \\(item.itemSummary). Error: \\(error?.localizedDescription).\")\n}\n\n// Search item by query using delegate\nlet brocade = Brocade(delegate: self)\nbrocade.searchItem(query: \"milk\")\n\n// Search item by query using closure\nbrocade.searchItem(query: \"milk\") { (items, error) in\n    debugPrint(\"Items: \\(items). Error: \\(error?.localizedDescription).\")\n}\n```\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n![](Screenshots/list.png)\n![](Screenshots/search.png)\n\t\n## Installation\n\nBrocade is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Brocade'\n```\n\n## Author\n\nRyan Cohen, notryancohen@gmail.com\n\n## License\n\nBrocade is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimryan%2Fbrocade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimryan%2Fbrocade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimryan%2Fbrocade/lists"}