PoGOEvents is a Scriptable widget that displays current and upcoming Pokemon GO events.
All event data is gathered from from ScrapedDuck, which scrapes LeekDuck.com periodically.
To follow development progress for this widget, check out the Trello board for PoGOEvents/ScrapedDuck.
-
Install Scriptable from the app store.
-
In the app, create a new script and copy/paste the contents of PoGOEvents.js
-
Add a Scriptable widget to your home screen (Small, Medium, and Large widgets are supported). Then edit the widget and select the newly created script in the script field.
- NOTE: If you've recently installed Scriptable, you may need to restart your device in order for the widgets to show up in the widget picker!
- To customize your widget, see Customization.
Due to limitations of Scriptable's parameter field, I've created a separate script (not a widget) that makes it easier to configure the widget to look the way you want.
To use, run the config script within Scriptable itself by tapping on it. You will then be prompted with the following questions:
- Current Events / Upcoming Events
If you'd like to see both current and upcoming events, you will need to add multiple widgets. Optionally, you can place them in a widget stack, making it easy to swipe between current and upcoming.
- System Theme / Dark Theme / Light Theme
- Yes / No
If you want to only see specific event types in this widget, select yes. You will then be prompted to list event types into a text field. For event types, see Event Types below.
- Yes / No
If you want to never see specific event types in this widget, select yes. You will then be prompted to list event types into a text field. For event types, see Event Types below.
- Yes / No
If there are specific events that you never want to see in this widget (Ex: an event that lasts the entire season), select yes. You will then be prompted to list event IDs into a text field. Event IDs are the last section of the URL of the event's page.
Example:
URL: https://www.leekduck.com/events/season-of-alola/
ID: season-of-alola
You are then given a string that you can copy and paste into the parameter field on the widget itself.
If you'd like to manually write out the parameters, here is how they are interpreted by the widget:
<category>|<theme>|<whitelisted even types separated by commas>|<blacklisted event types separated by commas>|<blacklisted event IDs separated by commas>
If a field is unused (at the end), you can optionally leave out the blank |
characters. For example, if you only set a category and theme, <category>|<theme>
would be valid.
LeekDuck has events categorized into several event types. These types are listed in the ScrapedDuck event documentation here.