VACCOVID - coronavirus, vaccine and treatment tracker

無料
よって vaccovidlive | 更新済み 14 дней назад | Data
人気

0.4 / 10

レイテンシー

222ms

サービスレベル

0%

Health Check

N/A

すべてのディスカッションに戻る

What is the baseURL?

Rapid account: Amandaalexandre
amandaalexandre
2 года назад

First of all, thank you for creating such an extensive and intuitive API for free. I was struggling to find an updated API whose endpoints are just as comprehensive as yours.

Today, I tried configuring my baseUrl in axios as:

https://vaccovid-coronavirus-vaccine-and-treatment-tracker.p.rapidapi.com

OR

https://vaccovid-coronavirus-vaccine-and-treatment-tracker.p.rapidapi.com/api/npm-covid-data

But got a 404 error on both instances. Requests work fine on Rapid API website, so I know I’m doing something wrong.

I prefer to use create.axios with a baseUrl first then repeating code with GET method.

Rapid account: Amandaalexandre
amandaalexandre Commented год назад

I managed to get it to working. Thank you very much!

Rapid account: Vaccovid
vaccovid Commented 2 года назад

Hi there.
the base url is "https://vaccovid-coronavirus-vaccine-and-treatment-tracker.p.rapidapi.com/"
For fetching data on different endpoints, pleas use the assigned API as listed in Endpoints section.

if you faced any further error, inform me on Telegram and I will fix the issue ASAP.
Telegram id: @Arman_Feili
Bests.

Rapid account: Amandaalexandre
amandaalexandre Commented 2 года назад

I got it to work by using https://vaccovid-coronavirus-vaccine-and-treatment-tracker.p.rapidapi.com/api/npm-covid-data/countries, but I’ll stll need to use other endpoints in other features.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿