3 Replies Latest reply on Oct 27, 2019 5:33 PM by Nathan Mannheimer

    Creating a data source from an API call to https://rapidapi.com/

    Patrick Henry Carrera

      Hello All,

       

      I have access to some API calls from https://rapidapi.com/

       

      I am comfortable with tableau and sql but I have not worked with API calls. How would I use the API call (credentials below) to connect a tableau workbook to the data the call will provide? Very new to this so any help would be greatly appreciated.

       

      var unirest = require("unirest");

      var req = unirest("GET", "https://api-nba-v1.p.rapidapi.com/seasons/");

      req.headers({
      "x-rapidapi-host": "api-nba-v1.p.rapidapi.com",
      "x-rapidapi-key": "abcbhsgfdlkaghkfjasbsfkaskdhjsahdkjsahdksaj"
      });


      req.end(function (res) {
      if (res.error) throw new Error(res.error);