import json
import requests


def groupList(apikey):
	"""
	Returns all Groups existing in your FileCrypt Account
	apikey: Your ApiKey from FileCrypt
	"""
	data={"api_key":apikey,"fn":"group","sub":"list"}
	return json.loads(requests.post("https://filecrypt.cc/api.php",data=data).text)