[tiago.cruz@mordor env]$ python
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pynetbox
>>> nb = pynetbox.api(
... 'http://netbox.acme.com',
... token='xd6xf3x2dx987x70x4xf'
... )
Traceback (most recent call last):
File "<stdin>", line 3, in <module>
File "/tmp/teste/env/lib/python2.6/site-packages/pynetbox/api.py", line 88, in __init__
base_url = "{}/api".format(url)
ValueError: zero length field name in format
>>>
Hello,
Is pynetbox supposed to work with python2.6 (CentOS6?)
example: