public Network getNetworkInfo(int networkId) throws MovieDbException {
        TmdbParameters parameters = new TmdbParameters();
        parameters.add(Param.ID, networkId);

        URL url = new ApiUrl(apiKey, MethodBase.NETWORK).buildUrl(parameters);
        String webpage = httpTools.getRequest(url);

        try {
            return MAPPER.readValue(webpage, Network.class);
        } catch (IOException ex) {
            throw new MovieDbException(ApiExceptionType.MAPPING_FAILED, "Failed to get network information", url, ex);
        }
    }
public Network getNetworkInfo ( int networkId ) throws MovieDbException { TmdbParameters parameters = new TmdbParameters ( ) ; parameters . add ( Param . ID , networkId ) ; URL url = new ApiUrl ( apiKey , MethodBase . NETWORK ) . buildUrl ( parameters ) ; String webpage = httpTools . getRequest ( url ) ; try { return MAPPER . readValue ( webpage , Network . class ) ; } catch ( IOException ex ) { throw new MovieDbException ( ApiExceptionType . MAPPING_FAILED , "Failed to get network information" , url , ex ) ; } }
This method is used to retrieve the basic information about a TV network.
<p>
You can use this ID to search for TV shows with the discover method.

@param networkId
@return
@throws MovieDbException