-
Notifications
You must be signed in to change notification settings - Fork 0
Fandom activities
NeoGames4 edited this page Jun 4, 2022
·
1 revision
This page is about working with Fandom activities like recent changes or discussion posts.
The library offers multiple ways to receive the most recent changes. It is recommended to use the FandomActivity.getRecentChanges(…)-method though. All of its parameters are nullable.
Fandom fandom = new Fandom("disney.fandom.com");
FandomRecentChange[] recentChanges = fandom.getActivity().getRecentChanges(20);
for(FandomRecentChange r : recentChanges) System.out.println("Recent change on " + r.title + " by " + r.user + ": " + r.comment);You can only receive recent changes by a specific user or a specific page as well: …