Skip to content

/Details Endpont - count optionnal query parameter seems broken #46

@Nicolas-Pellletier

Description

@Nicolas-Pellletier

Hello @LegendEvent,

Thanks for taking the time to developped this tool and sharing it with the community. I'm encounter an issue when requesting the Details Endpoint , in order to get Detailed information about specific entities.

The count optional parameter when requesting the /Details endpoint seems broken.

Here is below my code:

    connection_events_bis = client.details.get(pbid=pbid, eventtype="connection", count=100)
    notice_events = client.details.get(pbid=pbid, eventtype="notice", count=800)
    all_event_types = client.details.get(pbid=pbid, count=100)
    print(f"Il y a un total de {len(connection_events)} connexions")
    print(f"Il y a un total de {len(connection_events_bis)} connexions bis")
    print(f"Il y a un total de {len(notice_events)} notice events")
    print(f"Il y a un total de {len(all_event_types)} events")

Here is the below result:

Il y a un total de 200 connexions
Il y a un total de 0 connexions bis
Il y a un total de 800 notice events
Il y a un total de 0 events

When i use the count parameter with notice eventTypes it looks fine, but then if i don't specify any eventTypes to return or i specify only connection eventTypes to return, i get no result.

Regards

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions