Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강희주
/
Music_Recommendation_Website
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강희주
2022-05-30 00:34:12 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9ff421a697b2203d9fb97d1ea420cc15879e992a
9ff421a6
1 parent
c5f9ae3e
Update WeatherAPI/
delete unnecessary code
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
WeatherCheckAPI/WeatherCheck.js
WeatherCheckAPI/WeatherCheck.js
View file @
9ff421a
...
...
@@ -11,7 +11,7 @@ request("https://api.openweathermap.org/data/2.5/weather?lat=" + userLat + "&lon
var
LocationName
=
jsonObject
.
name
;
//지역 이름
var
WeatherCondition
=
jsonObject
.
weather
[
0
].
main
;
//현재 날씨
var
Temp
=
jsonObject
.
main
.
temp
;
//현재 기온
console
.
log
(
body
);
//
console.log(body);
console
.
log
(
LocationName
);
console
.
log
(
WeatherCondition
);
console
.
log
(
Temp
);
...
...
Please
register
or
login
to post a comment