API reference
API-method viewfeed
Signature
struct[] viewfeed(int ID, bool IncludeNonMatching);
Description
Returns the items of the last fetch of the RSS feed with the given ID. Nothing is added to the download queue.
Arguments
- ID
(int)- ID of the feed. The ID is the number in the option name, soFeed1.URLbelongs to the feed with ID1. - IncludeNonMatching
(bool)- Return the items which were not accepted by the feed filter as well.
Return value
An array of structures with the following fields:
- Title
(String)- Title of the item. - Filename
(String)- Name of the nzb-file as provided by the feed. - URL
(String)- Download URL of the nzb-file. - SizeHi
(int)- High 32 bits of the size of the nzb-file in bytes. - SizeLo
(int)- Low 32 bits of the size of the nzb-file in bytes. - SizeMB
(int)- Size of the nzb-file in megabytes. - Category
(String)- Category of the item as provided by the feed. - AddCategory
(String)- Category which would be set for the added nzb-file. - PauseNzb
(bool)-trueif the nzb-file would be added as paused. - Priority
(int)- Priority which would be set for the added nzb-file. - Time
(int)- Publish time of the item (Unix timestamp). - Match
(String)- Result of the feed filter: IGNORED, ACCEPTED or REJECTED. - Rule
(int)- Number of the filter rule which matched the item. - DupeKey
(String)- Duplicate key which would be set for the added nzb-file. - DupeScore
(int)- Duplicate score which would be set for the added nzb-file. - DupeMode
(String)- Duplicate check mode which would be set for the added nzb-file: SCORE, ALL or FORCE. - Status
(String)- Status of the item within the feed: UNKNOWN, BACKLOG, FETCHED or NEW.
Errors
2-Invalid parameter.3-Could not read feed.
Example
Request:
{"method": "viewfeed", "params": [1, false], "id": 1}
Response:
{"result": [
{
"Title" : "My Show S01E01 1080p WEB-DL",
"Filename" : "my.show.s01e01.1080p.web-dl.nzb",
"URL" : "https://indexer.example.com/api?t=get&id=1a2b3c",
"SizeHi" : 0,
"SizeLo" : 1234567,
"SizeMB" : 1,
"Category" : "my series",
"AddCategory" : "my series",
"PauseNzb" : false,
"Priority" : 100,
"Time" : 1760000000,
"Match" : "ACCEPTED",
"Rule" : 1,
"DupeKey" : "my show",
"DupeScore" : 1000,
"DupeMode" : "SCORE",
"Status" : "NEW"
}
], "id": 1}
Introduction
Installation manuals
- Installation on Windows
- Installation on Windows via WinGet
- Installation on macOS
- Installation on macOS via Homebrew
- Installation on Linux
- Installation on Docker
- Installation on Docker - LinuxServer.io version
- Installation on Android
- Installation on Synology
- Installation on QNAP
- Installation on other NAS devices
Building manuals
Configuration
- Backup And Restore Settings
- Performance Tips
- Choosing Cipher
- Behind Other Web Server
- TLS certificate verification
- What is the Default NZBGet Password?
- NZBGet Docker Setup Guide
- NZBGet Port Settings and Access Guide
- How to Configure NZBGet: Complete Setup Guide
- What Is Usenet?
- NZBGet 502 Error: Quick Fix Guide
- How to Upgrade from NZBGet v21.1 to the Latest NZBGet Version
- Slow NZBGet Speeds? Here’s How to Fix It
- NZBGet Performance Optimization Guide
- NZBGet Path and Folder Structure Guide
- How to Link NZBGet with Sonarr, Radarr, and Other Tools
- Sonarr vs VideoSort: How They Work with NZBGet
- NZBGet Storage Guide: Improve Performance with Smarter Path Setup
- How to Configure NZBGet on Android TV
- Using NZBGet with Sonarr and Radarr on Android TV
Performance tuning
- How to Optimize Usenet Performance in NZBGet
- NZBGet SystemHealth: Configuration and Environment Diagnostics
- Testing Usenet Speed and Performance in NZBGet
- Diagnosing and Maximizing Usenet Speeds in NZBGet
- Understanding Download Health in NZBGet
- Finding the Optimal Connection Count in NZBGet
- Primary vs Fill Servers Explained
- Understanding the Statistics Page in NZBGet
Usage
- Quick Filter
- Keyboard Shortcuts
- RSS and duplicate check
- VideoSort
- Console Mode
- Command Line Reference
- Performing Speed Tests
- NZBGet Interface Buttons Explained: What They Do and How to Use Them
- How to Use the NZBGet Status Tab
Development
Extensions
- Extension Scripts
- Post-processing scripts
- Scan Scripts
- Queue Scripts
- Scheduler Scripts
- Feed Scripts
- NZBGet Extension Manager: What It Is and How to Use It
- API reference
News server setup
- Astraweb
- BlockNews
- Cheapnews
- EasyNews
- Eweka
- FreeDiscussions
- Frugal Usenet
- GigaNews
- NewsDemon
- Newsgroup Ninja
- NewsgroupDirect
- Newshosting
- Pure Usenet
- SunnyUsenet
- Supernews
- theCubeNet
- ThunderNews
- TweakNews
- Usenet.Farm
- UsenetExpress
- UsenetServer
- UseNext
- ViperNews
- XLned
- XS News