Porting "Mark as Played"

I just have a plex.py that I have on my computer along with the Python install, and I pip install the plexapi package