tomquirk / linkedin-api

👨‍💼 LinkedIn API for Python
https://pypi.org/project/linkedin-api
MIT License
1.95k stars 430 forks source link

Search People Not Working #282

Closed bormaxi8080 closed 6 months ago

bormaxi8080 commented 1 year ago

Hi all!

I'm try this code:

from linkedin_api import Linkedin

api = Linkedin('my email/login', 'My password')

company_name = 'cisco' company = api.get_company(company_name)

people = api.search_people(current_company=["1063"]) people = api.search_people(current_company="1063") people = api.search_people(current_company=["urn:li:company:1063"]) people = api.search_people(current_company=['{"publicIdentifier": "cisco", "targetUrn": "urn:li:company:1063"}'])

people = api.search_people(current_company=["1063"])

print(people)

result is []

and how to get people count and people and people/people count in geo region id / by skills / specialisations?

I dont't understand how to use consistensal urn id by geo region / specialisations / skills how it works correctly?

Thanks!

bormaxi8080 commented 1 year ago

It's not corectly writing by API methods and research it...

bormaxi8080 commented 1 year ago

maybe?

people = api.search_people(current_company=["cisco"])

But it's not woking...