Weather by API-Ninjas

부분 유료
분류별 API Ninjas Team | 업데이트됨 il y a un mois | Weather
인기

9.8 / 10

지연 시간

652ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

this work 1000%

Rapid account: Gouravsandhu 2002
gouravsandhu2002
il y a 10 mois

const options = {
method: ‘GET’,
headers: {
‘content-type’: ‘application/octet-stream’,
‘X-RapidAPI-Key’: ‘763c810bdfmshb9f4669b80c3925p18d818jsn3db5be365864’,
‘X-RapidAPI-Host’: ‘weather-by-api-ninjas.p.rapidapi.com
}
};

fetch(‘https://weather-by-api-ninjas.p.rapidapi.com/v1/weather?city=Lucknow’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입