Description Details Public fields Active bindings Methods Author(s) References
the AgAPI client provides a general class for all the AgAPI calls. It includes
Generic class for API client calls, all nbaR client classes derive from this class
Specifies the public interface which any data accessing classes must implement.
AgAPI Client Class
user
specifies the user name, defaults to NULL
password
specifies the password, defaults to NULL
authentication
specifies the password, defaults to NULL
token
specifies the password, defaults to NULL
user_agent
specifies the password, defaults to NULL
serverURL
specifies the password, defaults to http://research.cip.cgiar.org/agrofims/api/dev/
version
specifies the version, defaults to 0051
endPoint
specifies the end point value, tableName/method.php
endPoint
specifies the end point value, tableName/method.php
new()
AgAPIClient$new( user = NULL, password = NULL, authentication = NULL, token = NULL, user_agent = NULL, serverURL = "https://research.cip.cgiar.org/agrofims/api/dev", version = "/0135/r" )
print()
AgAPIClient$print(...)
call_api()
AgAPIClient$call_api( url, method, queryParams = NULL, headerParams = NULL, body, ... )
clone()
The objects of this class are cloneable with this method.
AgAPIClient$clone(deep = FALSE)
deep
Whether to make a deep clone.
Omar Benites
Api url structure https://swagger.io/docs/specification/api-host-and-base-path/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.