module TmdbRexx::Client::Network

Constants

RESOURCE

Public Instance Methods

network(network_id, options = {}) click to toggle source

This method is used to retrieve the basic information about a TV network. You can use this ID to search for TV shows with the discover. At this time we don't have much but this will be fleshed out over time.

@see docs.themoviedb.apiary.io/#reference/networks

@param [String] id the network id

@return [Hashie::Mash] build response

@example Get the network api response

TmdbRexx::Client.network("network-id")
# File lib/tmdb_rexx/client/network.rb, line 18
def network(network_id, options = {})
  get([RESOURCE, network_id].join("/"), options)
end