API & library
OpenWeather API 적용해보기 !
개발자 갸갸
2019. 8. 19. 15:46
Postman의 GET 방식으로 테스트를 해보겠습니다.
첫 번째로 https://openweathermap.org/
Сurrent weather and forecast - OpenWeatherMap
Agricultural API for Satellite and Weather data This is a set of APIs that can provide Satellite imagery, Weather data and other products for agriculture, based on geodata. You can easily power your application with a combination of satellite and weather d
openweathermap.org
사이트에 들어가서 회원가입을 합니다.
그러면 등록한 이메일로
이렇게 API KEY가 옵니다.
Postman을 킨 뒤
my api key에 받은 key값을 넣어줍니다 그러면 json 형식으로
값이 날라옵니다 q 값에 자기가 원하는 지역을 넣어줍니다 ex) Seoul, London
그러면
이렇게 날씨 값들이 json 형식으로 날아옵니다 !
감사합니다