opendns / pyinvestigate

Python module to interface with the OpenDNS Investigate API
MIT License
62 stars 31 forks source link

pdns_domain not honoring filters #30

Open b-l-a-c-k-b-e-a-r-d opened 4 years ago

b-l-a-c-k-b-e-a-r-d commented 4 years ago

I believe the issue is here:

https://github.com/opendns/pyinvestigate/blob/master/investigate/investigate.py#L354

It is creating the params dict with the values of sortorder, sortby, recordType as keys instead of those keys being strings ('sortorder', 'sortby', 'recordType').

It appears this is impacting all of the pdns_ methods.

milindshah commented 4 years ago

Good point. We will fix it. @pranali139 - could you take an action?

k3vb0t commented 4 years ago

Any update? This still seems to be an issue.

Thanks

pranali139 commented 4 years ago

It should be fixed. Try pulling latest code. If you still have issue can you let us know what query are you trying?