pytx.threat_exchange_member package

Module contents

class pytx.threat_exchange_member.ThreatExchangeMember(**kwargs)[source]

Bases: object

get(attr)[source]

Wrapper around __getattr__ making it easier to use the vocabulary to get class attributes.

Parameters:attr (str) – The name of the attribute to get.
classmethod objects(full_response=False, dict_generator=False)[source]

Get a list of Threat Exchange Members

Parameters:
  • full_response (bool) – Return the full response instead of the generator. Takes precedence over dict_generator.
  • dict_generator (bool) – Return a dictionary instead of an instantiated object.
Returns:

Generator, dict (using json.loads())

to_dict()[source]

Convert this object into a dictionary.

Returns:dict

Table Of Contents

This Page