uw_wheniwork/sites.py
def create_site(self, params={}):
        """
        Creates a site

        http://dev.wheniwork.com/#create-update-site
        """
        url = "/2/sites/"
        body = params

        data = self._post_resource(url, body)
        return self.site_from_json(data["site"])
def create_site(self, params={}):
        """
        Creates a site

        http://dev.wheniwork.com/#create-update-site
        """
        url = "/2/sites/"
        body = params

        data = self._post_resource(url, body)
        return self.site_from_json(data["site"])
def create_site ( self , params = { } ) : url = "/2/sites/" body = params data = self . _post_resource ( url , body ) return self . site_from_json ( data [ "site" ] )
Creates a site

        http://dev.wheniwork.com/#create-update-site
Creates a site