Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.86 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.86 KB

TMDb - The Movie Database

CI Integration Documentation

A Swift Package for The Movie Database (TMDb) https://www.themoviedb.org

Requirements

  • Swift 5.7+
  • OS
    • macOS 10.15+
    • iOS 13+
    • watchOS 6+
    • tvOS 13+

Installation

Add the TMDb package as a dependency to your Package.swift file, and add it as a dependency to your target.

// swift-tools-version:5.7

import PackageDescription

let package = Package(
  name: "MyProject",

  dependencies: [
    .package(url: "https://github.com/adamayoung/TMDb.git", from: "9.0.0")
  ],

  targets: [
    .target(name: "MyProject", dependencies: ["TMDb"])
  ]
)

Xcode project

Add the TMDb package to your Project's Package dependencies.

Setup

Get an API Key

Create an API key from The Movie Database web site https://www.themoviedb.org/documentation/api.

Documentation

Documentation and examples of usage can be found at https://adamayoung.github.io/TMDb/documentation/tmdb/

References

License

This library is licensed under the Apache License 2.0. See LICENSE for details.