Hi @mgordic - are you trying to get a specific channel on a team, or all channels on a team? I don't think our api currently supports getting all the channels on a team, but we are working on an APIv4 that should support that. You can join our team site "APIv4" channel for updates if it's something you're interested in.
You can check out our api documentation for what's currently supported and examples - I think the closest thing right now is getting all the channels for one user on a specific team.