Language/Type Script14 [Type Script] openweathermap API를 사용하여 도시 날씨 정보 보여주기 with React openweathermap이란? : 무료로 세계 모든 도시의 현재 날씨 정보 API를 사용할 수 있는 착한 API이다. 현재 날씨 정보 이외에도 일일 예보, 푸시 알림 등 다른 여러 가지 API도 사용할 수 있다. openweathermap을 사용해보자! https://openweathermap.org/ Weather API - OpenWeatherMap Please, sign up to use our fast and easy-to-work weather APIs for free. In case your requirements go beyond our freemium account conditions, you may check the entire list of our subscription plans. .. 2022. 2. 9. [Type Script] 디노(deno) 사용, 타입 정의 파일, shim 라이브러리 사용 디노(deno) : npm과 하는 역할은 비슷하지만 허용되는 라이브러리가 달라 찾아보면서 개발해야한다. 디노 설치 파워셀에서 iwr https://deno.land/x/install/install.ps1 -useb | iex 실행 디노 사용해보기 deno 폴더 안에 index.ts 파일을 만들고 아래와 같이 작성한다. import {bgGreen, black} from 'https://deno.land/std@0.125.0/fmt/colors.ts'; const message:string = 'Ran with deno!'; console.log(black(bgGreen(message))); -> colors라는 외부 라이브러리를 가져오고 이 라이브러리의 API를 사용했다. 그 다음, deno run ./.. 2022. 2. 8. 이전 1 2 3 4 ··· 7 다음