You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-4
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,20 @@ This library provides a pure Python interface to the LinkedIn **Profile**, **Gro
15
15
You can install **python-linkedin** library via pip:
16
16
17
17
$ pip install python-linkedin
18
-
$ pip install requests
19
-
$ pip install requests_oauthlib
20
-
21
18
22
19
## Authentication
23
20
24
-
The LinkedIn REST API now supports the **Oauth 2.0** protocol for authentication. This package provides a full OAuth 2.0 implementation for connecting to LinkedIn as well as an option for using an OAuth 1.0a flow that can be helpful for development purposes or just accessing your own data.
21
+
The LinkedIn REST API now supports the **OAuth 2.0** protocol for authentication. This package provides a full OAuth 2.0 implementation for connecting to LinkedIn as well as an option for using an OAuth 1.0a flow that can be helpful for development purposes or just accessing your own data.
22
+
23
+
### HTTP API example
24
+
25
+
Set `LINKEDIN_API_KEY` and `LINKEDIN_API_SECRET`, configure your app to redirect to `http://localhost:8080/code`, then execute:
26
+
27
+
0.`http_api.py`
28
+
1. Visit `http://localhost:8080` in your browser, curl or similar
29
+
2. A tab in your browser will open up, give LinkedIn permission there
30
+
3. You'll then be presented with a list of available routes, hit any, e.g.:
0 commit comments