Questions tagged [rapidapi]

155 questions
0
votes
1 answer

Recording Audio using PyAudio vs Web Audio API

I am looking for your help in building a Shazam clone using the Rapid API: https://rapidapi.com/apidojo/api/shazam/ , I am using the songs/v2/detect endpoint. In my backend I am converting the raw audio file to byte array and base64 encoding it…
0
votes
2 answers

KeyError is raised even though the key I call is part of the JSON dictionary

I'm experimenting with using the python request module along with RapidAPI. I carried out a POST request to Google Translate. It doesn't really matter what the details of the request were, but the response I received, in JSON format, was: {'data':…
0
votes
0 answers

Problem implementation MediaRecorder and Shazam API through RapidApi

I'm currently working on a school project, where I'm creating a sort of clone of Shazam. I'm at the point where I can successfully record audio, and decode it into a base64string, just like the api asks, but it doesn't recognize any songs, since…
0
votes
0 answers

How to access RapidAPI text to speech api?

https://rapidapi.com/appsplosionhelp/api/ai-text-to-code-generation/ This api doesn't use a /get, but it uses a post, so what would I put in the params to access the api. export const articleApi = createApi({ reducerPath:'articleApi', …
0
votes
0 answers

Problem with setting JavaF ImageView image from URL

I build desktop app in JavaFX and Spring (net.rgielen). I use one of RapidAPI API. I am trying to display an image with a URL provided with this API (for example: https://tipsscore.com/resb/team/fiorentina.png), but it does not work. The image is…
cinosz
  • 3
  • 2
0
votes
1 answer

not load data from api in rapidapi flutter App

i need to load the data to my application when i retrive from this link https://jsonplaceholder.typicode.com/albums its work but when i use rapid api not load data the problem is in the connection to the server or not ** the code file here …
0
votes
0 answers

How can I change my rawg API to call it for a angular search component where I can search for both genres and game name?

currently am calling api from getGames() function for specific genres and looking to implement a search component where one can search genres as well as game names my service file is as follows: import { HttpClient } from…
S K
  • 7
  • 2
0
votes
1 answer

Is there a way I can use *ngFor to iterate over an array of objects

I'm trying to find a solution to show the overall result that I am receiving from the API. Currently only one game and its details can be seen in the app. My service looks like this: import { HttpClient } from '@angular/common/http'; import {…
S K
  • 7
  • 2
0
votes
0 answers

How do I work with this cURL API from rapidapi.com

I am used to working with querying data from database, this is my first time of using API, I got the API below from rapidapi.com, I want to use it to compare the cost of living is different states across the world. the major challenge I am having…
IDTech
  • 1
  • 1
0
votes
0 answers

RapidApi is not working while developing react native app

Let me give code for Fetching part and fetched data using part. UseFetch component import { useState, useEffect } from "react"; import axios from "axios"; const useFetch = (endpoint, query) => { const [data, setData] = useState([]); const…
0
votes
1 answer

Why is my API output results are being trimmed with ellipses

I am using a Google search API from rapidapi website. Whenever I enter my inputs I receive output as trimmed one. Is there any way to resolve this? Output image I tried searching for max tokens for that API but unfortunately there was not a column…
0
votes
1 answer

Saving a file with curl and php

I am attempting to use an API from voicerss. The API itself appears to be working. My problem is when the API returns the data to me. In my past experience I have used APIS to retrieve bits of text or sometimes links to files which I can then…
0
votes
0 answers

api for trinding music on (tiktok - anghami - youtube)

**i need api music (tiktok - anghami - youtube) received (music mp3 - song name) in response, free or paid. Most of the sites that I searched only bring a song by its ID number, but I need a list of popular songs on the popular platforms at the…
eslam
  • 141
  • 6
0
votes
0 answers

react evironment variables not working for RapidAPI

I've been trying to create a YouTube clone with RapidAPI and all is working except the enviroment variable I want to use for API key. I'm getting back 403 forbidden every time I try to fetch data with import.meta.env.VITE_API_KEY (in Vite app) as…
0
votes
1 answer

I keep getting an error while using youtube v3 api with RAPIDAPI

I was using the javascript mastery API course on youtube to try and create a youtube clone, but while trying to fetch videos using the api i got somer errors and the react app stopped rerenderng. The error occured after i put in this exact line…