def create_article(self, title, description, defined_type='dataset'):
        response = self.client.post(
            self.endpoint + '/articles',
            data=json.dumps({'title': title,
                             'description': description,
                             'defined_type': defined_type,
                             }),
            headers={'content-type': 'application/json'})
        return response.json()
Create an article.
dataset/ETHPy150Open rmcgibbo/figshare/figshare/figshare.py/Figshare.create_article