Skip to content

Simple to use wrapper around the private LinkedIn API, written in async Python.

License

Notifications You must be signed in to change notification settings

stanvanrooy/linkauto

Repository files navigation

Linkauto

All Contributors GitHub stars PyPI license Downloads

Linkauto is a Python package for automating various parts of LinkedIn, making use of the private LinkedIn API.

For feature requests, ideas, comments, etc., please open an issue.

Installation

The package can be installed with the following pip command: pip install linkauto

Usage

Here is a retrieves a profile and sends an invite.

from linkauto.api.client import ApiClient
from linkauto.api.constants import Linkedin_41588_146600, GooglePixelUS
import orjson, asyncio

async def main():
  client = ApiClient('username', 'password', Linkedin_41588_146600, GooglePixelUS)
  await client.init()
  await client.login()
  response = await client.profile_get(profile_url='/in/stan-van-rooy')
  profile = orjson.loads(await response.read())
  invite = await client.relationship_invitation_create(profile_url='stan-van-rooy')

if __name__ == '__main__':
  asyncio.run(main())

Other examples of how to use the package, can be found in the examples directory.

Support

This is a hobby project, which means sometimes other things take priority. I will review issues and work on issues when I have the time. Spamming new issues, asking for a ton of updates, or things like that, will not speed up the process. It will probably even give me less motivation to work on it :)

If you're looking for paid support, please reach out to me at [email protected].

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Simple to use wrapper around the private LinkedIn API, written in async Python.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages