{"id":1899,"url":"https://github.com/ContinuousLearning/PokemonKit","last_synced_at":"2025-08-02T05:33:31.381Z","repository":{"id":56921442,"uuid":"52676334","full_name":"ContinuousLearning/PokemonKit","owner":"ContinuousLearning","description":"Pokeapi wrapper, written in Swift","archived":false,"fork":false,"pushed_at":"2020-07-15T14:11:25.000Z","size":22068,"stargazers_count":105,"open_issues_count":6,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-17T14:04:20.596Z","etag":null,"topics":["pokeapi","pokemon"],"latest_commit_sha":null,"homepage":"","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/ContinuousLearning.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-02-27T16:34:23.000Z","updated_at":"2025-03-24T20:28:19.000Z","dependencies_parsed_at":"2022-08-21T04:50:44.055Z","dependency_job_id":null,"html_url":"https://github.com/ContinuousLearning/PokemonKit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ContinuousLearning/PokemonKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContinuousLearning%2FPokemonKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContinuousLearning%2FPokemonKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContinuousLearning%2FPokemonKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContinuousLearning%2FPokemonKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContinuousLearning","download_url":"https://codeload.github.com/ContinuousLearning/PokemonKit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContinuousLearning%2FPokemonKit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339405,"owners_count":24234544,"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-02T02:00:12.353Z","response_time":74,"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":["pokeapi","pokemon"],"created_at":"2024-01-05T20:15:58.496Z","updated_at":"2025-08-02T05:33:29.884Z","avatar_url":"https://github.com/ContinuousLearning.png","language":"Swift","funding_links":[],"categories":["SDK","Unofficial"],"sub_categories":["Unofficial","Other free courses"],"readme":"# PokemonKit\n\n[![Build Status](https://travis-ci.org/ContinuousLearning/PokemonKit.svg?branch=master)](https://travis-ci.org/ContinuousLearning/PokemonKit)\n[![Version](https://img.shields.io/cocoapods/v/PokemonKit.svg?style=flat)](http://cocoapods.org/pods/PokemonKit)\n[![License](https://img.shields.io/cocoapods/l/PokemonKit.svg?style=flat)](http://cocoapods.org/pods/PokemonKit)\n[![Platform](https://img.shields.io/cocoapods/p/PokemonKit.svg?style=flat)](http://cocoapods.org/pods/PokemonKit)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![codebeat badge](https://codebeat.co/badges/8394f59e-c142-4477-b535-3d0b58007f78)](https://codebeat.co/projects/github-com-continuouslearning-pokemonkit)\n[![ghit.me](https://ghit.me/badge.svg?repo=ContinuousLearning/PokemonKit)](https://ghit.me/repo/ContinuousLearning/PokemonKit)\n\n## What is this?\nPokemonKit is a swift wrapper for Pokeapi. \n\nPokemonKit use Alamofire and PromiseKit for async web requests handling.\n\n## Usage\n\n```swift\nimport PokemonKit\n\nPokemonKit.fetchBerry(\"1\")\n            .then { berryInfo in\n                self.testLabel.text = berryInfo.name;\n            }.onError {error in\n                print(error)\n        }\n```\n\n## TODO\n\n- [x] Wrap all API end points\n- [x] Fully [Documented](http://continuouslearning.github.io/PokemonKit/)\n- [ ] Fully tested\n- [x] Carthage Support\n- [ ] Unit test don't call server\n- [x] Remove PromiseKit (So many build errors, not worth it)\n- [ ] Porting back to Objective-C\n\n## Installation\n\nPokemonKit is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'PokemonKit'\n```\n\nIf your using Carthage you can add a PokemonKit by adding it to your Cartfile:\n\n```ruby\ngithub \"ContinuousLearning/PokemonKit\" ~\u003e 2.0\n```\n\nIn your Info.plist, add\n```plist\n\u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\n\u003cdict\u003e\n\t\u003ckey\u003eNSExceptionDomains\u003c/key\u003e\n\t\u003cdict\u003e\n\t\t\u003ckey\u003epokeapi.co\u003c/key\u003e\n\t\t\u003cdict\u003e\n\t\t\t\u003ckey\u003eNSIncludesSubdomains\u003c/key\u003e\n\t\t\t\u003ctrue/\u003e\n\t\t\t\u003ckey\u003eNSTemporaryExceptionAllowsInsecureHTTPLoads\u003c/key\u003e\n\t\t\t\u003ctrue/\u003e\n\t\t\t\u003ckey\u003eNSTemporaryExceptionMinimumTLSVersion\u003c/key\u003e\n\t\t\t\u003cstring\u003eTLSv1.1\u003c/string\u003e\n\t\t\u003c/dict\u003e\n\t\u003c/dict\u003e\n\u003c/dict\u003e\n```\n\n## Author\n\nYeung Yiu Hung, hkclex@gmail.com\n\n## License\n\nPokemonKit is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FContinuousLearning%2FPokemonKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FContinuousLearning%2FPokemonKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FContinuousLearning%2FPokemonKit/lists"}