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
userspecifies the user name, defaults to NULL
passwordspecifies the password, defaults to NULL
authenticationspecifies the password, defaults to NULL
tokenspecifies the password, defaults to NULL
user_agentspecifies the password, defaults to NULL
serverURLspecifies the password, defaults to http://research.cip.cgiar.org/agrofims/api/dev/
versionspecifies the version, defaults to 0051
endPointspecifies the end point value, tableName/method.php
endPointspecifies 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)
deepWhether 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.