import json
import requests


def groupAdd(apikey,name):
	"""
	Creates a new Group with the chosen Name
	apikey: Your ApiKey from FileCrypt
	name: The name of your new group
	"""
	data={"api_key":apikey,"fn":"group","sub":"add","name":name,"parent":"0"}
	return json.loads(requests.post("https://filecrypt.cc/api.php",data=data).text)