# Path: credentials.py
# WORKDESK_USER = 'youraccount'
# 
# Path: credentials.py
# WORKDESK_PASSWORD = 'yourpassword'


from credentials import WORKDESK_USER
from credentials import WORKDESK_PASSWORD
import json
import datetime
import time
import logging.config
import mysql.connector
#!/usr/bin/env python
"""helpdesk_bycategory - Exports JSON files with data from Helpdesk

Requires mysql connector in python:  pip install mysql-connector

"""

__author__ = 'scott@flakshack.com (Scott Vintinner)'

# =================================SETTINGS======================================
SAMPLE_INTERVAL = 120
MAX_RESULTS = 10              #
mysql_config = {
    'host': 'workdesk',
    'database': 'workdesk',

# Path: credentials.py
# WORKDESK_USER = 'youraccount'
# 
# Path: credentials.py
# WORKDESK_PASSWORD = 'yourpassword'


# Path: helpdesk_bycategory.py
from credentials import WORKDESK_USER
from credentials import WORKDESK_PASSWORD
import json
import datetime
import time
import logging.config
import mysql.connector

#!/usr/bin/env python
"""helpdesk_bycategory - Exports JSON files with data from Helpdesk

Requires mysql connector in python:  pip install mysql-connector

"""

__author__ = 'scott@flakshack.com (Scott Vintinner)'

# =================================SETTINGS======================================
SAMPLE_INTERVAL = 120
MAX_RESULTS = 10              #
mysql_config = {
    'host': 'workdesk',
    'database': 'workdesk',

    'user': WORKDESK_USER,