Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maryam Hoseini
Weather-API
Commits
b6dc57da
Commit
b6dc57da
authored
Nov 15, 2021
by
Maryam Hoseini
Browse files
second commit
parent
feb1a00c
Changes
1
Hide whitespace changes
Inline
Side-by-side
predict-weather.sh
View file @
b6dc57da
...
...
@@ -4,4 +4,4 @@
API
=
"
$(
cat
key.txt
)
"
city
=
$1
curl
"http://api.weatherapi.com/v1/current.json?key=
$API
&q=
$city
&aqi=no"
curl
"http://api.weatherapi.com/v1/current.json?key=
$API
&q=
$city
&aqi=no"
| jq .current.temp_c
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment