Created
June 27, 2012 20:00
-
-
Save kjiwa/3006473 to your computer and use it in GitHub Desktop.
Get a list of your sites in Optify
This file contains 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
Site[] sites = service.getSites(); | |
for (Site site : sites) { | |
System.out.println("Name: " + site.getName() + "\nToken: " + site.getSiteToken() + "\nURL: " + site.getUrl()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment