team-cymru-api
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
- Fork it.
- Create a branch (
git checkout -b my_team_cymru_api
) - Commit your changes (
git commit -am "Added Something Cool"
) - Push to the branch (
git push origin my_team_cymru_api
) - Open a Pull Request
- Wait for me to figure out what the heck a pull request is...