Skip to content

Avtandilko/NetBoxPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Example:

BASE_API_URL = 'http://site.com/api/'
API_HEADERS = {
        'Authorization': 'Token *****',
        'Accept': 'application/json',
        'Content-Type': 'application/json'}
    
ITEM_GROUP = 'dcim'
ITEM_TYPE = 'devices'


if __name__ == "__main__":
    netbox = NetBoxPython(BASE_API_URL, API_HEADERS, ITEM_GROUP, ITEM_TYPE)
    netbox.form_request_string()
    netbox.get_all_items()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages