This library was created to simplify querying the NHL's API from Python. It's as simple as this:
from nhlapi import NHLAPI, SyncClient
api = NHLAPI(SyncClient)
t = api.teams()
print(t)
See the documentation for more information.
This library is licensed under the Zlib license which is a permissive license that permits commerical and non FOSS uses.