https://www.themoviedb.org API wrapper
- Swift 4.2
- Xcode 10 or greater
- iOS 11.0 or greater
TMDB is available through CocoaPods. To install it add the following line to your Podfile:
pod "tmdb.swift"
If you’re using Carthage, add tmdb.swift to your Cartfile
:
github "amebalabs/tmdb.swift"
Make sure to add tmdb_swift.framework
to "Linked Frameworks and Libraries" and "copy-frameworks" Build Phases.
To retrieve a key follow instructions https://developers.themoviedb.org/3/getting-started/authentication
You can set the API key in tmdb.swift in two ways:
- add
TMDB_API_KEY
to Info.plist of your app - or set
TMDB.apiKey
before you use API
Check example project in this repository
- Website: Ameba
- Gtihub @amebalabs
tmdb.swift is available under the MIT license. See the LICENSE file for more info.