cliffennis 1 Posted March 24, 2016 Share Posted March 24, 2016 Just getting into the API documentation a little and have a couple of questions. First, is there a way to generate API secrets and keys instead of using plain text user names and passwords? Second, is there any existing documentation on pulling the JSON data using PHP? Link to comment Share on other sites More sharing options...
ESET Staff MartinK 383 Posted March 25, 2016 ESET Staff Share Posted March 25, 2016 First, is there a way to generate API secrets and keys instead of using plain text user names and passwords? There is currently no other authentication method available. Communication between ServerApi and ERA Server itself uses TLS so it should be safe in case ServerApi methods are called in safe manner. Regardless of previous I would strongly recommend to create specific ERA user (with limited permissions, i.e. only for reading specific data) for ServerApi connection. Second, is there any existing documentation on pulling the JSON data using PHP? We are not aware of any documentation for PHP. We only come across tools using c++ or python to handle API calls. Link to comment Share on other sites More sharing options...
sdnian 6 Posted March 29, 2016 Share Posted March 29, 2016 (edited) First, is there a way to generate API secrets and keys instead of using plain text user names and passwords? There is currently no other authentication method available. Communication between ServerApi and ERA Server itself uses TLS so it should be safe in case ServerApi methods are called in safe manner. Regardless of previous I would strongly recommend to create specific ERA user (with limited permissions, i.e. only for reading specific data) for ServerApi connection. Second, is there any existing documentation on pulling the JSON data using PHP? We are not aware of any documentation for PHP. We only come across tools using c++ or python to handle API calls. Do you have any documents or sample codes that using python to access ServerApi ? Edited March 29, 2016 by sdnian Link to comment Share on other sites More sharing options...
ESET Staff MartinK 383 Posted March 29, 2016 ESET Staff Share Posted March 29, 2016 Do you have any documents or sample codes that using python to access ServerApi ? There is no documentation, nor example code. Technically it is only wrapper over c++ libraries for which you could use few alternatives, we used for testing purposes ctypes module Link to comment Share on other sites More sharing options...
jdev 0 Posted March 21, 2017 Share Posted March 21, 2017 Is there still no example code for integrating the api with php? im having probems connecting to the api Link to comment Share on other sites More sharing options...
Recommended Posts