mirror of https://github.com/MISP/PyMISP
Merge branch 'master' of github.com:MISP/PyMISP
commit
9cc3c6e57d
|
@ -52,7 +52,7 @@ python last.py -l 10
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
[PyMISP API documentation is available](http://www.circl.lu/assets/files/PyMISP.pdf).
|
[PyMISP API documentation is available](https://media.readthedocs.org/pdf/pymisp/master/pymisp.pdf).
|
||||||
|
|
||||||
Documentation can be generated with epydoc:
|
Documentation can be generated with epydoc:
|
||||||
|
|
||||||
|
|
|
@ -1012,7 +1012,7 @@ class PyMISP(object):
|
||||||
# ############## Export Attributes in text ####################################
|
# ############## Export Attributes in text ####################################
|
||||||
|
|
||||||
def get_all_attributes_txt(self, type_attr):
|
def get_all_attributes_txt(self, type_attr):
|
||||||
|
"""Get all attributes from a specific type as plain text. Only published and IDS flagged attributes are exported."""
|
||||||
session = self.__prepare_session('txt')
|
session = self.__prepare_session('txt')
|
||||||
url = urljoin(self.root_url, 'attributes/text/download/%s' % type_attr)
|
url = urljoin(self.root_url, 'attributes/text/download/%s' % type_attr)
|
||||||
response = session.get(url)
|
response = session.get(url)
|
||||||
|
|
Loading…
Reference in New Issue