Giter Site home page Giter Site logo

whitekim / weather_info Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 374 KB

공공데이터포털 Open API를 활용한 날씨 정보 페이지입니다.

Java 22.20% CSS 3.22% JavaScript 74.58%
api dust google-maps-api kma openapi publicdata weather weather-api weather-forecast dust-api

weather_info's Introduction

날씨 정보 페이지 프로젝트

개요

이 프로젝트는 최신 날씨 예보와 대기질 정보를 제공하는 웹 페이지입니다.
공공데이터포털의 오픈 API를 활용하였고 기상청의 단기 예보, 중기 예보 API와 에어코리아의 미세 먼지 정보 API 등을 사용해서 값을 가져옵니다.

주요 기능

  1. 단기 예보: 현재 날씨와 몇 시간 후의 예보를 제공합니다.
  2. 중기 예보: 향후 며칠 간의 날씨 예보를 제공합니다.
  3. 미세 먼지 정보: 대기질과 미세 먼지 수준을 표시합니다.
  4. 기상 특보 : 발령된 기상 특보에 대한 정보를 표시합니다.

사용 기술

  • Java Development Kit (JDK) 1.8: Java 8을 사용하여 개발되었습니다.
  • 전자정부 프레임워크: 프로젝트의 구조와 디자인 요구사항을 충족하기 위해 사용되었습니다.
  • Tomcat 8.5

사용 API

  1. 기상청_단기예보
    • 단기예보 조회
  2. 기상청_중기예보
    • 중기기온조회
    • 중기육상예보조회
    • 중기전망조회
  3. 기상청_기상특보
    • 기상특보통보문조회
  4. 한국환경공단_에어코리아_대기오염통계 현황
    • 시군구별 실시간 평균정보 조회
  5. 구글 지도

사용 방법

  1. data.go.kr에서 구글 지도를 제외한 나머지 API 사용승인 받기
  2. 구글 지도 API 신청
  3. 해당 프로젝트 클론 or 다운로드
  4. 톰캣 다운로드
  5. eclipse or Egov Dev를 사용해서 프로젝트 open
  6. 프로젝트를 실행하기 위해서 톰캣과 연결
  7. main.jsp에 구글 지도 api 등록
      && resource/egov/spring/context-properties.xml에 공공데이터포털에서 받은 인증키 등록
  8. 서버 실행후 127.0.0.1:8080에서 실행 확인

실행화면

메인 페이지

주의 사항

  • JDK 1.8이 설치되어 있는지 확인합니다.
  • API 키 설정 : data.go.kr에 가입후 해당하는 api에 대한 사용 신청

weather_info's People

Contributors

whitekim avatar

Watchers

 avatar

weather_info's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.