Created
July 25, 2015 18:49
-
-
Save netmanchris/2569a21cf0dd8099492b to your computer and use it in GitHub Desktop.
Add Custom View Main function
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
def main(): | |
# checks to see if the imc credentials are already available | |
if auth == None or url == None: | |
imc_creds() | |
view_name = create_new_view() | |
view_list = get_custom_views() | |
view_id = get_view_id(view_name) | |
dev_list = filter_dev_category() | |
add_device_to_view(dev_list, view_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment