This function retrieves information about the system's available RPM packages.
Note:
You must use either the ns or the package parameters.
| ns required | string An available RPM package namespace. Note: 
 ns=ns=ea ns=altea ns=ea | 
| package required | string An RPM package name on the system. Note: 
 package=package=ea-php55 package=ea-apr-util package=ea-php55 | 
| disable-excludes | integer  Default:  0 Whether the system will disable yum's exclude behavior. 
  Example:  disable-excludes=1 | 
HTTP Request was successful.
| object | |
| object | 
whmapi1 --output=jsonpretty \ package_manager_get_package_info \ ns='ea' \ package='ea-php55'
{- "data": {- "packages": [- {- "architecture": "x86_64",
- "license": "ASL 2.0",
- "long_description": "The mission of the Apache Portable Runtime (APR) is to provide a\\nfree library of C data structures and routines.",
- "package": "ea-apr-util",
- "pkg_dep": {- "conflicts": [- "ea-php55-php-ioncube5"
 ],
- "requires": [- "glibc",
- "libuuid",
- "expat",
- "libdb",
- "ea-apr"
 ]
 },
- "pkg_group": "System Environment/Libraries",
- "release": "7.7.1.cpanel",
- "repo_name": "NYI",
- "short_description": "Apache Portable Runtime Utility library",
- "size": 214647,
- "state": "updatable",
- "version": "1.6.1",
- "version_installed": "1.6.1-4.4.8.cpanel",
- "version_latest": "1.6.1-7.7.1.cpanel"
 }
 ]
 },
- "metadata": {- "command": "package_manager_get_package_info",
- "reason": "OK",
- "result": 1,
- "version": 1
 }
}