ShareShortcuts

Sports Scores

View college/professional sports scores from the US in a scrollable format

blackhatteam
Создать форк «Sports Scores»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы blackhatteam получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
34K
Сохранено
0
Действия
30
Категория
Reference
Версия
1.0
Язык
EN

View college/professional sports scores from the US in a scrollable format.

Are you an avid sports fan and want a quick way to see the scores of the day's games for your favorite team(s)?

Scores are viewable by league. As a bonus, you can also view the games scheduled for the day/weekend.

*Scores are only available for MLB, NFL. NHL, NBA, NCAA Basketball and NCAA Football.

Что нового

Версия 1.0

First release

История версий
1.0 11 мар 2023 г.

First release

Что делает

Действий: 30
  1. Comment
    View current sports scores from the US in a scrollable format. V1.0 BlackHat Teams © 2023
  2. Get File
  3. If
  4. Create Folder
  5. Show Alert
  6. Open URLs
  7. Wait
  8. Text
  9. Close Tab
    com.apple.mobilesafari
  10. Show Alert
  11. Text
  12. Choose from Menu
  13. Choose from Menu
    MLB
  14. Get Contents of URL
    https://plaintextsports.com/mlb/
  15. Show Result
  16. Choose from Menu
    NFL
  17. Get Contents of URL
    https://plaintextsports.com/nfl/
  18. Show Result
  19. Choose from Menu
    NBA
  20. Get Contents of URL
    https://plaintextsports.com/nba/
  21. Show Result
  22. Choose from Menu
    NHL
  23. Get Contents of URL
    https://plaintextsports.com/nhl/
  24. Show Result
  25. Choose from Menu
    NCAA Basketball
  26. Get Contents of URL
    https://plaintextsports.com/ncaa-mb
  27. Show Result
  28. Choose from Menu
    NCAA Football
  29. Get Contents of URL
    https://plaintextsports.com/ncaaf
  30. Show Result

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#include 'actions/web'
#include 'actions/documents'
#define color violet
#define glyph personRunning

/*
View current sports scores from the US in a scrollable format. 

V1.0 

BlackHat Teams © 2023
*/
const File = getFileFromFolder(, "Sports", false)

if !File {
	createFolder("Sports")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/sports.html")
	wait(4)
	const Text = "Sports"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	confirm("Setup Complete! Run Shortcut?")
}

menu nil {
item "MLB":
	downloadURL("https://plaintextsports.com/mlb/")
	show("{}\n{}")
item "NFL":
	downloadURL("https://plaintextsports.com/nfl/")
	show("{}\n{}")
item "NBA ":
	downloadURL("https://plaintextsports.com/nba/")
	show("{}\n{}")
item "NHL":
	downloadURL("https://plaintextsports.com/nhl/")
	show("{}\n{}")
item "NCAA Basketball":
	downloadURL("https://plaintextsports.com/ncaa-mb")
	show("{}\n{}")
item "NCAA Football":
	downloadURL("https://plaintextsports.com/ncaaf")
	show("{}\n{}")
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от blackhatteam

См. все

Вам также может понравиться

См. все
Реклама