def add_author(self, article_id, author_id):
        response = self.client.put(
            self.endpoint + '/articles/%s/categories' % article_id,
            data=json.dumps({'author_id': author_id}),
            headers={'content-type': 'application/json'})
        return response.json()
Add an author to an article.
dataset/ETHPy150Open rmcgibbo/figshare/figshare/figshare.py/Figshare.add_author