Created
September 21, 2011 13:38
-
-
Save dwins/1232047 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env python | |
from geoserver.catalog import Catalog | |
cat = Catalog("http://localhost:8080/geoserver/rest/") | |
for r in cat.get_resources(): | |
print "Resource %s %s %s" % (r.workspace, r.store, r.name) | |
for name in dir(r): | |
print "\t", name + ":", getattr(r, name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment