Code개발일지
postman (OpenWeather API)
Minhhk
2022. 12. 5. 16:50
Postman API Platform | Sign Up for Free
Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
www.postman.com
С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.openweathermap.org/data/2.5/weather?id={city id}&appid={your api key}
중괄호를 없애고 city id 와 api key를 넣으면 실행이 된다
위와 같이 JSON 형식 선택,,
GET -> 서울 아이디 1835848 -> 서울 데이터를 받아온다