ShareShortcuts
Fork “Weather pro”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så gooey321 får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
55K
Gemt
4
Handlinger
63
Kategori
Produktivitet
Version
2.1
Sprog
EN

You can see many weather-related things about your location like the UV, the temperature, the feels-like, temperature, the sunset time and the sunrise time, and much much more! If you think I should add something or have any feedback please put them in the comment section this will help me make this shortcut better for everyone! (please don’t copy this shortcut please!) My YouTube channel: https://www.youtube.com/channel/UCcgeH0t-4nsYEqkyVlWk8oQ Get new shortcut updates first!

Nyheder

Version 2.1

This update includes the air pollutants in your area and your local air quality index.

Versionshistorik
2.1 19. aug. 2022

This update includes the air pollutants in your area and your local air quality index.

2.0 15. maj 2022

In this update the things added/fixed include: added Wind Speed, fixed a text mistake (an extra pm in sunset time) and more detailed daily forecast description.

1.0 10. dec. 2020

First release

Hvad den gør

63 handlinger
  1. Dictionary
  2. Text
  3. Create Folder
  4. Get IP Address
  5. If
  6. Show Result
  7. Stop This Shortcut
  8. If
  9. Speak Text
  10. Choose from Menu
    Weather☁️pro
  11. Choose from Menu
    Login
  12. Get File
  13. Set Variable
    Passcode
  14. Ask for Input
    What is your password?
  15. If
  16. Show Result
  17. If
  18. Choose from Menu
    Create a passcode
  19. Ask for Input
    What is your new password?
  20. Set Variable
    Newpassword
  21. Save File
  22. Show Result
  23. Get Current Location
  24. Get Current Weather
  25. Set Variable
    ✅location
  26. Location
  27. Number
  28. Repeat
  29. Get Current Weather
  30. Date
  31. Set Variable
    Date
  32. Text
  33. Choose from Menu
    …
  34. Choose from Menu
    Hourly forcast
  35. Get Weather Forecast
  36. Show Result
  37. Choose from Menu
    Daily forcast
  38. Get Weather Forecast
  39. Show Result
  40. Choose from Menu
    UV index
  41. Get Details of Weather
  42. Show Result
  43. Choose from Menu
    Feels like
  44. Get Details of Weather
  45. Show Result
  46. Choose from Menu
    Sunrise time
  47. Get Details of Weather
  48. Show Result
  49. Choose from Menu
    Sunset time
  50. Get Details of Weather
  51. Show Result
  52. Choose from Menu
    Wind direction
  53. Get Details of Weather
  54. Show Result
  55. Choose from Menu
    Wind speed
  56. Get Details of Weather
  57. Show Result
  58. Choose from Menu
    air pollutants
  59. Get Details of Weather
  60. Show Result
  61. Choose from Menu
    air quality index
  62. Get Details of Weather
  63. Show Result

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#include 'actions/text'
#include 'actions/network'
#include 'actions/documents'
#define color yellow
#define glyph trueTone

createFolder("Weather☁️pro/")
const CurrentIPAddress = getExternalIP()

if !CurrentIPAddress {
	show("Your internet connection appears to be offline.")
	stop()
} else {
}
speak("Welcome to Weather☁️pro")

menu "Weather☁️pro" {
item "Login":
	getFile("Weather☁️pro/passcode.txt")
	@Passcode
	const ProvidedInput = prompt("What is your password?")
	if ProvidedInput == @Passcode {
		show("You have logged in.")
	} else {
	}
item "Create a passcode":
	prompt("What is your new password?")
	@Newpassword
	saveFile("Weather☁️pro/passcode.txt", @Newpassword)
	show("You have created a new password.")
}
const CurrentLocation = getCurrentLocation()
getCurrentWeather(CurrentLocation)
@location
location(@location)
const Number = 10000000000000000

repeat _ for Number {
	getCurrentWeather(@location)
	currentDate()
	@Date
	menu  {
	item "Hourly forcast":
		getWeatherForecast("Hourly")
		show("Hourly forecast: {}")
	item "Daily forcast":
		getWeatherForecast()
		show("Daily forecast (top one is today): {}")
	item "UV index":
		getWeatherDetail(@location, "UV Index")
		show("UV:{}")
	item "Feels like":
		getWeatherDetail(@location, "Feels Like")
		show("feels like: {}")
	item "Sunrise time":
		getWeatherDetail(@location, "Sunrise Time")
		show("Sunrise time: {}")
	item "Sunset time":
		getWeatherDetail(@location, "Sunset Time")
		show("sunset time: {} ")
	item "Wind direction":
		getWeatherDetail(@location, "Wind Direction")
		show("Wind direction: {}")
	item "Wind speed":
		getWeatherDetail(@location, "Wind Speed")
		show("Wind speed: {}")
	item "air pollutants":
		getWeatherDetail(@location, "Air Pollutants")
		show("Air pollutants: {}")
	item "air quality index":
		getWeatherDetail(@location, "Air Quality Index")
		show("Air quality index: {}")
	}
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra gooey321

Se alle

Du vil måske også kunne lide

Se alle
Annonce