diff --git a/examples/cache_all.py b/examples/cache_all.py new file mode 100644 index 0000000..00e3eea --- /dev/null +++ b/examples/cache_all.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from keys import misp_url, misp_key, misp_verifycert +from pymisp import PyMISP + + +def init(url, key): + return PyMISP(url, key, misp_verifycert, 'json') + + +if __name__ == '__main__': + misp = init(misp_url, misp_key) + misp.cache_all_feeds() \ No newline at end of file