Questions tagged [rapidapi]

155 questions
1
vote
0 answers

duplicate fetches with RESTful API request (probably?)

I'm building a web application that fetches mixes from my favorite radio stations on soundcloud with the soundcloud rapid API and displays them in a randomized order. I'm building this application using React.js and express.js for the backend. It's…
1
vote
0 answers

Getting 401 unauthorized error rapidapi How do i fix this?

I am currently using RapidAPI and encountering a 401 error. I have double-checked my API key and it seems to be correct, so I'm not sure what the issue might be. Can you please provide some guidance on how to resolve this issue? api.js import axios…
Jayesh Gadhok
  • 39
  • 1
  • 6
1
vote
1 answer

TypeError: Cannot read properties of undefined (reading 'status') in axios

This is the code from the freecodecamp tutorial (https://www.freecodecamp.org/news/how-to-build-react-based-code-editor/), the code is meant for react but my project is for next js and when I run it in the react project I don't get this error but…
user7200977
1
vote
0 answers

PyImgur not Accessing Imgur through Rapid API

I am using the Pyimgur library to upload images to imgur. I can get it to work for non-commercial usage, but when I try to configure it for commercial usage, I get an error. When I change the code from: im =…
1
vote
1 answer

AWS Lambda URL fetch data from Rapid API

I'm new to AWS including Lambda (and stack over flow for that matter so go easy on me please). I want to be able to get data requests from https://rapidapi.com/api-sports/api/api-football and post the results to my S3 or Dynamo DB instances. I've…
Bully82
  • 11
  • 3
1
vote
0 answers

Tiktok API scraping

I have been working on Tiktok scraping lately but I want to scrap a field which would give me average watch time of a particular video. Is there any field like that or any other field which gives same data. thankyou in advance.
Bisma Dar
  • 33
  • 2
1
vote
1 answer

Getting an error trying to run rapidapi call using async and await

I keep getting the following error when I try to run a GET request from Rapid API Uncaught (in promise) ReferenceError: Cannot access 'getData' before initialization const RAPIDAPI_KEY = import.meta.env.VITE_RAPIDAPI_KEY; const GEOLOCATION_URL…
Amen Ra
  • 2,843
  • 8
  • 47
  • 85
1
vote
1 answer

API request Google Apps Scripts

I need to request information from api.I tried to make a request with UrlFetchApp.fetch and fetchAll.In both cases i got nothing.Here s my code: var request1 = { url: "https://seo-fast-audit.p.rapidapi.com/?url=" + url, method : 'GET', …
1
vote
2 answers

Add headers in React Redux toolkit

I am trying to make api calls to Rapid API using react redux toolkit The code snippet import { createApi, fetchBaseQuery } from "@reduxjs/toolkit/query/react"; const cryptoApiHeaders = { "x-rapidapi-host": "coinranking1.p.rapidapi.com", …
fahad uddin
  • 51
  • 1
  • 6
1
vote
1 answer

RapidAPI: How can I find hotel_id in booking.com?

I am using API from RapidAPI for booking.com. I would like to get reviews of a hotel but I do not know how I can find hotel_id (required parameter) for a particular hotel? import requests url =…
Erik
  • 59
  • 1
  • 8
1
vote
1 answer

Getting RapidAPI to work with GoogleSheets to extract IMDB data

Google Sheets with RapidAPI First time trying to get APIs to work! I thought a simple project would be to get a Googlesheet to retrieve movie information based on the title. Googling around I happened upon RapidAPI which has a Googlesheets add-on.…
1
vote
3 answers

TypeError: Cannot read properties of null (reading 'sw') using google-maps api and rapidapi

I am facing this error while using google-maps api and and another api from rapidapi. First this is the code that works: API -> index.js import axios from "axios"; const URL = …
Priyam
  • 124
  • 3
  • 9
1
vote
1 answer

{EASY} Rapid API returning value Dict error

I'm using rapid API to fetch LinkedIn data. This particular API, uses a simple HTTPS GET request and returns json. I'm writing this is Google App Script (Javascript) and return this error when running a test. function callLinkedInAPI () { //…
1
vote
1 answer

404 error with Skyscanner rapid api to get flight infos

I can not get response from skyscanner api. Did I write something…
aynilda
  • 43
  • 4
1
vote
2 answers

rapid api and flutter

trying to use this api in horoscope app, although the cookbook is not available for flutter but i am trying to initiate a request. any help in getting this data from rapid api into flutter will be much appreciated as there is no documentation…
Riyazat Durrani
  • 588
  • 1
  • 8
  • 20
1
2
3
10 11