Skip to content

backdrop-contrib/trakt_tv

Repository files navigation

Trakt TV API Module

This module has been created to integrate with the Trakt TV API in a limited manner. This is a new module, custom made for Backdrop CMS.

This module should be fully functional, but with very limted features. I will release it once I know that one or two other people have tested it out. It's a very niche module, but may be useful to some folks interested in learning how to access API's.

It currently, does the following.

  1. Allows a site vistor to view a list of the top 20 trending shows on Trakt TV.
  2. Allows a site vistor to search for a specific TV show in the Trakt TV database.
  3. Allows a site vistor to create a node with the following data for any TV show.
    • Title
    • Trakt ID
    • Desciption / Overview
    • Rating
    • Tagline
    • Year
    • Status
    • Website
    • Genres
    • Network
  4. Provides a "Recently watched on Trakt" block showing the site owner's most recently scrobbled episodes, for placement in any layout region. The number of episodes shown is configurable, and results are cached for 15 minutes to avoid hammering the Trakt API.
  5. Provides an "Upcoming on Trakt" block showing episodes airing soon for shows on the site owner's Trakt watchlist. The time window (3 days to 1 month) is configurable, and results are cached for 15 minutes.

This module creates a content type called TV Show with all of the fields required by this module.

image

We are open to idea for how to expand this module.

Requirements

Installation

These fields are required. image

Copy the Client ID, Client Secret, and Redirect URI. For the final step, you will need to "authorize" the URI and paste the provided code into admin/config/media/trakt_tv/auth-exchange.

image

Your code will be here after you authorize your site: image

Issues

Bugs and feature requests should be reported in the Issue Queue.

Current Maintainer

Credits

  • Sponsored by Simplo

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

About

A very simple implementation of the Trakt TV API for Backdrop CMS.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages