tomquirk / linkedin-api

👨‍💼Linkedin API for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finding new endpoints

kr0sbY opened this issue · comments

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

@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.