-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Original Submission:
client.get_object fails when attempting to pull resolutions.
example:
```
resolutions = client.get_object("/ip_addresses/46.232.251.191/resolutions")
```
This works through the API developers console, but not via the vt-py library.
https://developers.virustotal.com/reference/ip-relationships
Is there an improvement that can be made in handling these responses?
While submitting this issue, I realized I should have been using the iterator to iterate through the response instead of the using the get_object method. I read through the examples in the documentation and didn't see any references to when I might need to use the iterator vs when I could use single object calls.
I read through the quick start (https://virustotal.github.io/vt-py/quickstart.html) and the examples, but it wasn't clear that some endpoints don't support single get_object calls and need to be iterated. Instructions on when to use each of the different methods may be helpful, or maybe I missed something documented elsewhere. Thanks!
Metadata
Metadata
Assignees
Labels
No labels