ContinuousLearning / Pokemonkit
Licence: mit
Pokeapi wrapper, written in Swift
Stars: ✭ 105
Programming Languages
swift
15916 projects
Labels
Projects that are alternatives of or similar to Pokemonkit
Poryscript
High-level scripting language for gen 3 pokemon decompilation projects
Stars: ✭ 25 (-76.19%)
Mutual labels: pokemon
Hyper Pokemon
Tailor-made Pokémon themes for your Hyper terminal
Stars: ✭ 939 (+794.29%)
Mutual labels: pokemon
Oakdex Pokedex
Ruby Gem and Node Package for comprehensive Generation 1-7 Pokedex data, including 809 Pokémon, uses JSON schemas to verify the data
Stars: ✭ 44 (-58.1%)
Mutual labels: pokemon
Pmd Red
Decompilation of Pokémon Mystery Dungeon: Red Rescue Team
Stars: ✭ 65 (-38.1%)
Mutual labels: pokemon
Ancientbeast
Turn Based Strategy Game. Master your beasts! 🐺
Stars: ✭ 907 (+763.81%)
Mutual labels: pokemon
Pokemongo Bot
A full functional bot that can act like the normal phone app
Stars: ✭ 1,053 (+902.86%)
Mutual labels: pokemon
Pokequest Wiki
📕 Pokémon Quest Dex designed for Web / 方可梦图鉴
Stars: ✭ 41 (-60.95%)
Mutual labels: pokemon
Polished Map
A map and tileset editor for pokecrystal, pokered, and hacks based on them like Polished Crystal. Written in C++ with FLTK.
Stars: ✭ 100 (-4.76%)
Mutual labels: pokemon
Clean Arch Pokemon
Clean Architecture de um modo divertido e prático integrando uma API com uma API de Pokémon.
Stars: ✭ 103 (-1.9%)
Mutual labels: pokemon
Capturesight
Applet and Overlay to view Pokemon, Raid seeds, Future shiny frames/IVs, and more!
Stars: ✭ 81 (-22.86%)
Mutual labels: pokemon
PokemonKit
What is this?
PokemonKit is a swift wrapper for Pokeapi.
PokemonKit use Alamofire and PromiseKit for async web requests handling.
Usage
import PokemonKit
PokemonKit.fetchBerry("1")
.then { berryInfo in
self.testLabel.text = berryInfo.name;
}.onError {error in
print(error)
}
TODO
- [x] Wrap all API end points
- [x] Fully Documented
- [ ] Fully tested
- [x] Carthage Support
- [ ] Unit test don't call server
- [x] Remove PromiseKit (So many build errors, not worth it)
- [ ] Porting back to Objective-C
Installation
PokemonKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'PokemonKit'
If your using Carthage you can add a PokemonKit by adding it to your Cartfile:
github "ContinuousLearning/PokemonKit" ~> 2.0
In your Info.plist, add
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>pokeapi.co</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
</dict>
</dict>
</dict>
Author
Yeung Yiu Hung, [email protected]
License
PokemonKit is available under the MIT license. See the LICENSE file for more info.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].