Python Forum
Parse a REST API call using Python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Parse a REST API call using Python (/thread-26612.html)



Parse a REST API call using Python - GKT - May-07-2020

Hi Experts!

I am a newbie to Python, we are trying to Parse our Tomcat Application logs and pull out all API calls made by users (this part is done). Now i want to Parse each API call and find out which objects/columns/filters they are pulling from our DB.

Example :
Output:
https://abc.xyz.net/abc/8.0/api/Application?appID=1234/DatabaseInstance?environment=TEST&status=Installed/Application?columnSelect=abcIndentifier,DatabaseInstance?columnSelect=dbname
Thanks
GKT


RE: Parse a REST API call using Python - buran - May-07-2020

what have you tried? Show your code in python tags, full traceback if you get any - in error tags. What is expected output?