This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: yellow; icon-glyph: magic; | |
// Gets the random quotes of anime from internet with random background color to widget | |
// You can change the color of background and color of text by editing the bg_type and textcolor | |
// set bg_type to autofixed or anything for random color generation for background | |
// set bg_type to gradient for random gradient color generation for background | |
// set bg_type to hex value of color eg: #f3f3f3 for appling your favorate color to background | |
// set textcolor to any hex value of color for text | |
// set fontPrimarysize: 25 for full size widget, 15 for medium size widget & 10 for low size widget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: light-gray; icon-glyph: magic; | |
// Create your ID on openweathermap.org | |
// Get your api from there and set that in API_WEATHER | |
// Add your API KEY and the run the scritp in the scriptable app | |
// The City ID for your current location will appear in the log section of the app. | |
//API_KEY | |
let API_WEATHER = "YOUR_API_KEY";//Load Your api here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-blue; icon-glyph: magic; | |
// Create your ID on openweathermap.org | |
// Get your api from there and set that in API_WEATHER | |
// To get CITY_WEATHER means city ID get the longitude and latitute from google maps for your location | |
// Replace the longitude, latitute and YOUR_API_KEY in the given link http://api.openweathermap.org/data/2.5/weather?lat=Latitude&lon=Longitude&appid=YOUR_API_KEY&units=metric and look for your city ID in the resultant text. | |
// Set that ID to CITY_WEATHER | |
//API_KEY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-blue; icon-glyph: magic; | |
// Create your ID on openweathermap.org | |
// Get your api from there and set that in API_WEATHER | |
// To get CITY_WEATHER means city ID get the longitude and latitute from google maps for your location | |
// Replace the longitude, latitute and YOUR_API_KEY in the given link http://api.openweathermap.org/data/2.5/weather?lat=Latitude&lon=Longitude&appid=YOUR_API_KEY&units=metric and look for your city ID in the resultant text. | |
// Set that ID to CITY_WEATHER | |
//API_KEY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: teal; icon-glyph: magic; | |
// To use, add a parameter to the widget with a format of: image.png|padding-top|text-color|ture for online server image or false to load local image|Image filers eg: nature,blur | |
// The image should be placed in the iCloud Scriptable folder (case-sensitive). | |
// The padding-top spacing parameter moves the text down by a set amount. | |
// The text color parameter should be a hex value. | |
// For example, to use the image bkg_fall.PNG with a padding of 40 and a text color of red, | |
// the parameter should be typed as: bkg_fall.png|40|#ff0000|true|nature |