-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be nice to have a NS1.listZones() and/or Zone.list() #68
Comments
Perhaps |
huh, definitely fair to want easier access to list, seems like an oversight. I don't think I'd want it on Zone objects, as it's higher scope, but I think a |
this code more or less works for me (from an api client, not an api patch) data = zones.Zone(api.config, None)._rest.list()
print("known zones:")
for z in data:
print(z["zone"]) |
yep, that works, but it's not really the way we envisioned its use. usually we access this via the "rest layer"
for the "high-level" interface, I still believe that a what I'd like to do, and proposed, is to make |
something akin to
The text was updated successfully, but these errors were encountered: