tomquirk / linkedin-api

👨‍💼Linkedin API for Python
MIT License
1.71k stars 401 forks source link

Finding new endpoints #372

Closed kr0sbY closed 3 months ago

kr0sbY commented 3 months ago

Hi, I'm looking for new endpoints, especially for events. I've read and reread the "How to find endpoint" section of the Readme. I've tried to find endpoints already known and present in the "linkedin.py" file but unfortunately, I never find the same "clean" endpoints.

I do find the < code > tags, but never with the same query as in the linkedin.py file. Mine are almost always prefixed with "graphql" and some "dash" words ("voyagerLaunchpadDashLaunchpadViews", "organizationDashCompaniesByUniversalName" etc).

For example, the get_company() function fetches "/organization/companies". I'm unable to find this endpoint with Ctrl+F in the source code of a company page. I've tried looking at network requests, but I'm getting the same "verbose" api calls. I tried a few other functions endpoints and it's the same.

Has the way of discovering new endpoints changed, or ✨ I just suck ✨?

Thanks

tomquirk commented 3 months ago

@kr0sbY you don't suck!

This repo is pretty old and linkedin.com doesn't appear to use most of the routes we use in this library anymore. But, old routes are still available, it seems! 😅

Eventually we'll need to migrate everything over to the new LinkedIn GraphQL api - see our search function for an example of that.

We'll probably do it on an as-needed basis, when things stop working.