ShareShortcuts
Dupliquer « Weather pro »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que gooey321 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
55K
Enregistré
4
Actions
63
Catégorie
Productivity
Version
2.1
Langue
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!

Nouveautés

Version 2.1

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

Historique des versions
2.1 19 août 2022

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

2.0 15 mai 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 déc. 2020

First release

Ce qu’il fait

63 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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: {}")
	}
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de gooey321

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité