mirror of
https://github.com/Lyxminxx/weatherCLI.git
synced 2026-10-11 12:52:01 +02:00
copyright
This commit is contained in:
1 parent
4b62ccfa49
commit
c0c162351b
5 files changed
+63
-2
No files matched your search
@@ -1,3 +1,11 @@
|
|||||||
|
WeatherCLI - Copyright (C) 2025 Lyxminx
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
# WeatherCLI
|
||||||
|
# Copyright (C) 2025 Lyxminx
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Imports
|
# Imports
|
||||||
import requests
|
import requests
|
||||||
from os import system, name
|
from os import system, name
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
# WeatherCLI
|
||||||
|
# Copyright (C) 2025 Lyxminx
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# Imports
|
# Imports
|
||||||
from functions import *
|
from functions import *
|
||||||
from possistions import *
|
from possistions import *
|
||||||
|
|||||||
+19
-1
@@ -1,3 +1,20 @@
|
|||||||
|
# WeatherCLI
|
||||||
|
# Copyright (C) 2025 Lyxminx
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
# Add your cities here, by setting latitude and longitude.
|
# Add your cities here, by setting latitude and longitude.
|
||||||
cities = {
|
cities = {
|
||||||
"Oslo" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=59.9333&lon=10.7166",
|
"Oslo" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=59.9333&lon=10.7166",
|
||||||
@@ -5,4 +22,5 @@ cities = {
|
|||||||
"Skien" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=59.2089&lon=9.606",
|
"Skien" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=59.2089&lon=9.606",
|
||||||
"Tromsø" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=69.6827&lon=18.9427",
|
"Tromsø" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=69.6827&lon=18.9427",
|
||||||
"Molde" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=62.73724&lon=7.16073"
|
"Molde" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=62.73724&lon=7.16073"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13,5 +13,8 @@ Contributions are welcome! Whether it's adding new cities, improving the code, o
|
|||||||
4. **Fix Bugs & Improve Code** – Found a bug? Want to optimize something? Submit a PR.
|
4. **Fix Bugs & Improve Code** – Found a bug? Want to optimize something? Submit a PR.
|
||||||
5. **Spread the Word** – If you like this project, give it a ⭐ and share it.
|
5. **Spread the Word** – If you like this project, give it a ⭐ and share it.
|
||||||
|
|
||||||
**License:** This project is GPL 3.0 licensed, meaning your contributions must also be open-source.
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the GNU General Public License v3.0 or later - see the [LICENSE](LICENSE) file for details.
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user