erddapy takes advantage of ERDDAP's RESTful web services and creates the ERDDAP URL for any request, like searching for datasets, acquiring metadata, downloading the data, etc.
Installation
pip install erddapy
Full documentation here.
Finding the dataset ID
To access a dataset on ERDDAP using erdappy, the dataset ID must be known. To find the dataset ID, go to the page containing a listing of all datasets on CanWIN's ERDDAP. The very last column will show the Dataset ID.