카테고리 없음
실습 / Postman으로 날씨 받아오기
qlek1108
2023. 3. 27. 15:17
- https://openweathermap.org/ 들가기
Сurrent weather and forecast - OpenWeatherMap
Access current weather data for any location on Earth including over 200,000 cities! The data is frequently updated based on the global and local weather models, satellites, radars and a vast network of weather stations. how to obtain APIs (subscriptions w
openweathermap.org
- 로그인 (아이디 없다면 회원가입)
- api keys 들어가서 key값 가지고오기
- api doc에 들어가서 이런 주소 긁어오기 (city id = 도시 id, your api key = 내 key값)
api.openweathermap.org/data/2.5/weather?id={city id}&appid={your api key}
- postman에 입력해줌
- 이런 값이 나옴