Hello,
I am trying to set up an API (my first one) from Crunchbase via Rapid API. The code snippet is below. I have tried configuring it using a Text Input and the Download tool but I haven't been successful.
The instructions indicate that the 2 required fields in the header are X-RapidAPI-Host and X-RapidAPI-Key, with numerous optional fields such as Updated Since and Locations ( e.g. locations=California,San Francisco).
Any help is appreciated.
var unirest = require("unirest");
var req = unirest("GET", "https://crunchbase-crunchbase-v1.p.rapidapi.com/odm-organizations");
req.headers({
"x-rapidapi-host": "crunchbase-crunchbase-v1.p.rapidapi.com",
"x-rapidapi-key": "abcd1234"
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
Solved! Go to Solution.
I found the answer here:
https://community.alteryx.com/t5/Engine-Works-Blog/REST-API-In-5-Minutes-No-Coding/ba-p/8137
Hey Rusa,
Can you share an example on how you got this set up with rapid API with a .yxmd file?
I'm having a difficult time setting this up and it would great if I can see how you did this.
thanks,
Rusa,
I figured it out. Adding my screenshots just in case anyone else has issues