To make it easier to integrate with the TMDB API, we provide and support a variety of SDKs (Software Development Kits) and client libraries for popular programming languages.

These libraries handle authentication, request formatting, and response parsing, allowing you to focus on building your application.

Official SDKs and Libraries

The following are officially supported SDKs and libraries for the TMDB API:

  • Library: tmdb-api-client
  • Installation:
npm install tmdb-api-client
  • Usage example
    const TMDB = require('tmdb-api-client');
    const client = new TMDB('YOUR_API_KEY');

    client.movies.getPopular()
        .then(response => console.log(response.results))
        .catch(error => console.error(error));

Community-Maintained Libraries

In addition to the official SDKs, the TMDB community has contributed libraries for other programming languages. These are not officially supported but may be useful:

  • Library: go-tmdb

  • GitHub: go-tmdb

  • Installation:

go get github.com/cyruzin/go-tmdb
  • Usage examples:
package main

import (
    "fmt"
    "github.com/cyruzin/go-tmdb"
)

func main() {
    tmdbClient, err := tmdb.Init("YOUR_API_KEY")
    if err != nil {
        panic(err)
    }

    movies, err := tmdbClient.GetMoviePopular(nil)
    if err != nil {
        panic(err)
    }

    for _, movie := range movies.Results {
        fmt.Println(movie.Title)
    }
}

To see other SDK and Libraries that our API support, pls visit our Wrappers & Libraries page

By using these SDKs and libraries, you can streamline your integration with the TMDB API and focus on building amazing applications! 🚀