GNManager {geonapi} | R Documentation |
GeoNetwork REST API Manager
Description
The function GNManager$new
will set-up the right Geonetwork
manager depending on the GeoNetwork version specified by the user. For the time-being,
GeoNetwork with version < 4 will be interfaced with the GeoNetwork legacy API (see detailed
documentation at GNLegacyAPIManager), while starting with GeoNetwork 3.2, the new
GeoNetwork OpenAPI will be used.
Format
R6Class
object.
Value
Object of R6Class
with methods for communication with
the API of a GeoNetwork instance.
Super class
geonapi::GNAbstractManager
-> GNManager
Methods
Public methods
Inherited methods
Method new()
Initializes a GNManager
Usage
GNManager$new(url, user = NULL, pwd = NULL, version, logger = NULL)
Arguments
url
url
user
user
pwd
pwd
version
version
logger
logger
Method clone()
The objects of this class are cloneable with this method.
Usage
GNManager$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
GMManager$new("http://localhost:8080/geonetwork", "admin", "geonetwork", "3.0.0")
## End(Not run)
[Package geonapi version 0.7-2 Index]