everyaction.services.Targets

class everyaction.services.Targets(ea: EAClient)

Represents the Targets service.

Methods

get(target_id, /)

See GET /targets/{targetId}.

list(*[, limit])

See GET /targets.

get(target_id: int, /) Target

See GET /targets/{targetId}.

Parameters

target_id – The targetId path parameter.

Returns

The resulting Target object.

list(*, limit: Optional[int] = None, **kwargs: EAValue) List[Target]

See GET /targets.

Parameters
  • limit – Maximum number of records to get for this request.

  • kwargs – The applicable query arguments and JSON data for the request.

Returns

List of the resulting Target objects.

Keyword Arguments
  • expand

  • status

  • type