This is how I do it with the API:
uplinks = dashboard.appliance.getOrganizationApplianceUplinkStatuses(
org_id, networkIds = net_id.split(), total_pages="all")
net_id is a single network which I first convert to the list that is sent to the API.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.