Session Log Downloader
Posted: Tue May 19, 2009 2:34 pm
Plum Folks,
I know that people have posted before requesting if the session logs can be pulled remotely from your servers. You said that this was a future plan, but that for now it was unavailable.
My question is whether it is possible to hack together my own API, or whether it violates your terms of service. From the AJAX in the hosting.plumgroup.com page, I noticed that you must GET these values to the following address:
Parsing and saving the JSON response is no problem, as well as logging in via CURL, but what is the best way to get the session_id for a call? I assume this is your unique identifier internally, but I never get it in any of my outbound postbacks from you. How can I get this value for my calls?
I see an implementation of simply waiting until results are returned for a call, and if it was completed, calling a script to grab this file (while you cache only the last 100 logs). Thanks for any input.
- Joe
I know that people have posted before requesting if the session logs can be pulled remotely from your servers. You said that this was a future plan, but that for now it was unavailable.
My question is whether it is possible to hack together my own API, or whether it violates your terms of service. From the AJAX in the hosting.plumgroup.com page, I noticed that you must GET these values to the following address:
Code: Select all
http://hosting.plumgroup.com/ajax_model_interface.php?
debug:0
function:indexcall
function_name:getRecentCallLog
hosting_account_id:xxxx
index:1
service:sites
session_id:xxxxxx
I see an implementation of simply waiting until results are returned for a call, and if it was completed, calling a script to grab this file (while you cache only the last 100 logs). Thanks for any input.
- Joe