team-cymru-api

Team Cymru - Malware Hash Registry API


License
GPL-3.0
Install
pip install team-cymru-api==1.0.4

Documentation

cymru-api logo

team-cymru-api

PyPI version Build Status Downloads Support blacktop via Gittip

Team Cymru - Malware Hash Registry API

https://www.team-cymru.org/Services/

Installation

$ pip install team-cymru-api

Usage

import json
from team_cymru_api import TeamCymruApi

team_cymru = TeamCymruApi()

response =  team_cymru.get_cymru('039ea049f6d0f36f55ec064b3b371c46')
print json.dumps(response, sort_keys=False, indent=4)

Output:

{
    "last_seen_utc": "2014-01-06T22:34:57Z",
    "response_code": 200,
    "detected": "86"
}

Testing

To run the tests:

$ ./tests

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b my_team_cymru_api)
  3. Commit your changes (git commit -am "Added Something Cool")
  4. Push to the branch (git push origin my_team_cymru_api)
  5. Open a Pull Request
  6. Wait for me to figure out what the heck a pull request is...