Giter Site home page Giter Site logo

cymon-python's Introduction

cymon-python

Python library for Cymon.io APIs

Install

pip install cymon

Examples

Without API authentication:

from cymon import Cymon
api = Cymon()
api.ip_events('185.27.134.165')

With API authentication:

from cymon import Cymon
api = Cymon('A4HD6N0V3J357GM7D189V17Y0S')
api.ip_domains('185.27.134.165')

Output

{u'count': 4,
 u'next': None,
 u'previous': None,
 u'results': [{u'created': u'2015-07-03T19:16:40',
   u'description': u'Posted: 2015-07-03 21:16:07\nIDS Alerts: 0\nURLQuery Alerts: 1\nBlacklists: 0\nMalicious page URL: hxxp://hostingpl.base.pk/aol.php',
   u'details_url': u'http://urlquery.net/report.php?id=1435950967981',
   u'tag': u'malicious activity',
   u'title': u'Malicious activity reported by urlquery.net',
   u'updated': u'2015-07-03T19:16:40'},
  {u'created': u'2015-03-01T18:11:19',
   u'description': None,
   u'details_url': None,
   u'tag': u'malware',
   u'title': u'Malware reported by Google SafeBrowsing',
   u'updated': u'2015-03-01T18:11:19'},
  {u'created': u'2015-02-28T19:48:16',
   u'description': None,
   u'details_url': u'http://app.webinspector.com/public/reports/show_website?result=2&site=http%3A%2F%2Fbymert1903.0fees.us',
   u'tag': u'malicious activity',
   u'title': u'Malicious website reported by app.webinspector.com',
   u'updated': u'2015-02-28T19:48:16'},
  {u'created': u'2015-02-23T14:32:10',
   u'description': None,
   u'details_url': None,
   u'tag': u'malware',
   u'title': u'Malware reported by AlienVault Reputation System',
   u'updated': u'2015-02-23T14:32:10'}]}

Available methods

  • ip_lookup()
  • ip_events()
  • ip_domains()
  • ip_urls()
  • ip_blacklist()
  • domain_lookup()
  • domain_blacklist()
  • url_lookup()

cymon-python's People

Contributors

akashmalhotra avatar hawkandbaby avatar r0yfire avatar wsxqaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cymon-python's Issues

no domain_blacklist attribute

I have been trying to use this library to update get a domain_blacklist returning and always get an error.

In [4]: api.domain_blacklist('malware')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-27aa5f593144> in <module>()
----> 1 api.domain_blacklist('malware')

AttributeError: 'Cymon' object has no attribute 'domain_blacklist'

I have put in my API key already and I don't see the domain_blacklist option when i do help(api).
I know it is part of the package but I can't seem to see it for some reason. I have installed this through pip and have tried to upgrade it and reinstall it through pip.

SSL: CERTIFICATE_VERIFY_FAILED

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)>

This just started happening - not sure if it has to do with the Cymon.io API, or not but my other APIs seem to be working fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.