diff --git a/README.md b/README.md index 4a0ca2e..e19d735 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,4 @@ Now you're ready to start using the API! ## Full Documentation -You can find the full Python client documentation [here.](https://gophish.gitbooks.io/python-api-client/content/) +You can find the full Python client documentation [here.](https://docs.getgophish.com/python-api-client/) diff --git a/gophish/client.py b/gophish/client.py index 944ab68..64d9c9f 100644 --- a/gophish/client.py +++ b/gophish/client.py @@ -3,7 +3,7 @@ from gophish.api import (campaigns, groups, imap, pages, smtp, templates, webhooks) -DEFAULT_URL = 'http://localhost:3333' +DEFAULT_URL = 'https://localhost:3333' class GophishClient(object): diff --git a/gophish/models.py b/gophish/models.py index 6e7c3f0..f1a5044 100644 --- a/gophish/models.py +++ b/gophish/models.py @@ -156,6 +156,7 @@ class Stat(Model): 'opened': None, 'clicked': None, 'submitted_data': None, + 'email_reported': None, 'error': None } diff --git a/setup.py b/setup.py index ac1b5d7..9fc8a07 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,13 @@ setup( name="gophish", packages=["gophish", "gophish.api"], - version="0.4.0", + version="0.5.1", description="Python API Client for Gophish", author="Jordan Wright", author_email="python@getgophish.com", url="https://github.com/gophish/api-client-python", license="MIT", - download_url="https://github.com/gophish/api-client-python/tarball/0.4.0", + download_url="https://github.com/gophish/api-client-python/tarball/0.5.1", keywords=["gophish"], classifiers=[ "Development Status :: 3 - Alpha", @@ -22,11 +22,15 @@ "Programming Language :: Python :: 3.3", ], install_requires=[ - "appdirs==1.4.0", - "packaging==16.8", - "pyparsing==2.1.10", - "python-dateutil==2.6.0", - "requests>=2.20.0", - "six==1.10.0", + "appdirs==1.4.4", + "certifi==2020.6.20", + "chardet==3.0.4", + "idna==2.10", + "packaging==20.4", + "pyparsing==2.4.7", + "python-dateutil==2.8.1", + "requests==2.24.0", + "six==1.15.0", + "urllib3==1.25.10" ], )