@Test @DisplayName("Tests the TwitchGraphQL Builder") @BeforeAll public static void buildTwitch4J() { EventManager eventManager = new EventManager(); graphQLClient = TwitchGraphQLBuilder.builder() .withEventManager(eventManager) .build(); FollowMutation.Data data = graphQLClient.followUser(TwitchTestUtils.getGraphQLCredential(), 24943033l, false).execute(); System.out.println(data.toString()); }
public CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification) { return new CommandFollowUser(getApolloClient(auth), targetUserId, goLiveNotification); }
TwitchGraphQL { public CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification) { return new CommandFollowUser(getApolloClient(auth), targetUserId, goLiveNotification); } }
TwitchGraphQL { public CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification) { return new CommandFollowUser(getApolloClient(auth), targetUserId, goLiveNotification); } TwitchGraphQL(EventManager eventManager, String clientId, String clientSecret, ProxyConfig proxyConfig); }
TwitchGraphQL { public CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification) { return new CommandFollowUser(getApolloClient(auth), targetUserId, goLiveNotification); } TwitchGraphQL(EventManager eventManager, String clientId, String clientSecret, ProxyConfig proxyConfig); CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification); CommandUnfollowUser unfollowUser(OAuth2Credential auth, Long targetUserId); }
TwitchGraphQL { public CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification) { return new CommandFollowUser(getApolloClient(auth), targetUserId, goLiveNotification); } TwitchGraphQL(EventManager eventManager, String clientId, String clientSecret, ProxyConfig proxyConfig); CommandFollowUser followUser(OAuth2Credential auth, Long targetUserId, Boolean goLiveNotification); CommandUnfollowUser unfollowUser(OAuth2Credential auth, Long targetUserId);  }