@azure Hey there,
I don't work for Lockitron, but let me see if I can help.
The Python script you've linked is part of the older V1 API. While the documentation is still available for historical reasons, I'm not sure it works anymore.
V2 is the way to go, and depending on your use case, there may already be something out there that will work. Any particular reason you want to access the lock?