experimental/schoology/schoolopy/main.py
def _post(self, path, data):
        """
        POST valid JSON to a given endpoint.

        :param path: Path (following API root) to endpoint.
        :param data: JSON data to POST.
        :return: JSON response.
        """
        try:
            return self.schoology_auth.oauth.post(url='%s%s?limit=%s' % (self._ROOT, path, self.limit), json=data, headers=self.schoology_auth._request_header(), auth=self.schoology_auth.oauth.auth).json()
        except JSONDecodeError:
            return {}

        POST valid JSON to a given endpoint.

        :param path: Path (following API root) to endpoint.
        :param data: JSON data to POST.
        :return: JSON response.
        
POST valid JSON to a given endpoint.
POST valid JSON to a given endpoint .
def _post(self, path, data):
        try:
            return self.schoology_auth.oauth.post(url='%s%s?limit=%s' % (self._ROOT, path, self.limit), json=data, headers=self.schoology_auth._request_header(), auth=self.schoology_auth.oauth.auth).json()
        except JSONDecodeError:
            return {}
def _post ( self , path , data ) : try : return self . schoology_auth . oauth . post ( url = '%s%s?limit=%s' % ( self . _ROOT , path , self . limit ) , json = data , headers = self . schoology_auth . _request_header ( ) , auth = self . schoology_auth . oauth . auth ) . json ( ) except JSONDecodeError : return { }
POST valid JSON to a given endpoint.
POST valid JSON to a given endpoint .
"""
        POST valid JSON to a given endpoint.

        :param path: Path (following API root) to endpoint.
        :param data: JSON data to POST.
        :return: JSON response.
        """
None
self
path
Path (following API root) to endpoint.
Path ( following API root ) to endpoint .
data
JSON data to POST.
JSON data to POST .