Create a menu?

Hello, I want to write an extension for movies.
I wrote a Python script which gets the address of the video (but it changes all the time) so I have to create a menu item and read the list of films JSON file I am writing to