Upload Content

It uploads the post passed in content.

body: returns data

success_score: api success rate

errors: errors encountered in api

Here is the code:-

linkedin.upload_content(content='Hi, hope all are doing well.....')
Parameters

content (str) – Post text need to be posted on linkedin

Returns

{“body”: {}, “success_score”: “100”, “errors”: []}

Return type

dict