pyFortimanagerAPI
pyFortimanagerAPI copied to clipboard
API idle session timeout
Hi, I'm using this project for querying the fortimanager API. It works really good. The only thing I don't understand is that when my script doesn't make a API call for more than 900 seconds (API settings for Idle timeout), the script fails to get the rest of the policies in other packages.
I tried reloading the session with api.login(...) but it doesn't work.
I am not the best with APIs but maybe you guys could help me find the solution.
Thank you!