Metadata-Version: 2.1
Name: mcafee-mwgapi
Version: 0.3
Summary: Mcafee Web Gateway API functionality
Home-page: https://github.com/Ipv6Python/mcafee-mwgapi
Author: Ipv6Python
Author-email: ramipv6@gmail.com
License: MIT
Keywords: mcafee webgateway api development
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.4
Description-Content-Type: text/markdown

# Overview: 

This is an open source project to help developers working on the McAfee Web Gateway product, 
Since McAFee lacks a pre-developed code package. 
Package is written in reference of MWG Version 8.2. 



# Usage:  

~~~~
from webgatewayapi.authenticate import authenticate

MWG_SERVER = input("Enter MWG Server")
PORT = input("Enter API Port")

authServer = authenticate(hostname=MWG_SERVER, port=PORT)
auth = authServer.createSession(username="something", password="something")
print(auth.session) 

from webgatewayapi.appliances import appliances
appliance = appliances(auth=auth.session, hostname=MWG_SERVER, port=PORT)
listappliance = appliance.listAppliances()
print(listappliance)

from webgatewayapi.listdata import listdata
list = listdata(auth.auth.session, hostname=MWG_SERVER, port=PORT)
getalllists = listdata.listdata()
print(getalllists)

trustedsoruce:
publichostvalidation = trustedsource()
print(publichostvalidation.lookup(data=test.setup()))

~~~~

# Contribution:
This is an Open Source Project, Contributions are welcome. 

#License: 
MIT License
__


