We have free access to law with canlii.org in Canada.
Bylaws are hard to lookup and are city-specific.
My blog post on this topic: https://www.cameronhuff.com/blog/ontario-case-law-private/ and https://www.cameronhuff.com/blog/canlii-licensing-terms/.