Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4053

Fivetran REST API get all connectors

$
0
0

I'm currently working on a project where I need to list all connectors across multiple groups in Fivetran. I've managed to retrieve all the groups successfully using the REST API, but I'm having trouble listing all the connectors.

This is how I get all groups:

import requestsimport jsonurl = "https://api.fivetran.com/v1/groups"headers = {"Accept": "application/json;version=2","Authorization": "Basic yourkeyetc"}response = requests.request("GET", url, headers=headers)parsed = json.loads(response.text)print(json.dumps(parsed, indent=4))

But when I try to access https://api.fivetran.com/v1/connectors I get a 405 because that specific URL only allows POST? Any help is appreciated.


Viewing all articles
Browse latest Browse all 4053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>