linkedin-v2 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +10 -0
  3. data/CONTRIBUTING.md +1 -0
  4. data/Gemfile +8 -0
  5. data/LICENSE +22 -0
  6. data/README.md +224 -0
  7. data/Rakefile +19 -0
  8. data/lib/linked_in/access_token.rb +24 -0
  9. data/lib/linked_in/api.rb +108 -0
  10. data/lib/linked_in/api_resource.rb +180 -0
  11. data/lib/linked_in/communications.rb +40 -0
  12. data/lib/linked_in/configuration.rb +41 -0
  13. data/lib/linked_in/connection.rb +35 -0
  14. data/lib/linked_in/errors.rb +73 -0
  15. data/lib/linked_in/jobs.rb +11 -0
  16. data/lib/linked_in/mash.rb +68 -0
  17. data/lib/linked_in/media.rb +13 -0
  18. data/lib/linked_in/oauth2.rb +223 -0
  19. data/lib/linked_in/organizations.rb +217 -0
  20. data/lib/linked_in/people.rb +151 -0
  21. data/lib/linked_in/raise_error.rb +28 -0
  22. data/lib/linked_in/search.rb +70 -0
  23. data/lib/linked_in/share_and_social_stream.rb +143 -0
  24. data/lib/linked_in/version.rb +3 -0
  25. data/lib/linkedin-v2.rb +52 -0
  26. data/linkedin-v2.gemspec +39 -0
  27. data/pkg/linkedin-oauth2-2.0.0.gem +0 -0
  28. data/spec/linked_in/api/api_spec.rb +41 -0
  29. data/spec/linked_in/api/communications_spec.rb +13 -0
  30. data/spec/linked_in/api/jobs_spec.rb +33 -0
  31. data/spec/linked_in/api/organizations_spec.rb +54 -0
  32. data/spec/linked_in/api/people_spec.rb +191 -0
  33. data/spec/linked_in/api/search_spec.rb +71 -0
  34. data/spec/linked_in/api/share_and_social_stream_spec.rb +87 -0
  35. data/spec/linked_in/configuration_spec.rb +46 -0
  36. data/spec/linked_in/connection_spec.rb +10 -0
  37. data/spec/linked_in/module_loading_spec.rb +23 -0
  38. data/spec/linked_in/oauth/access_token_spec.rb +27 -0
  39. data/spec/linked_in/oauth/auth_code_spec.rb +86 -0
  40. data/spec/linked_in/oauth/credentials_spec.rb +96 -0
  41. data/spec/linked_in/oauth/get_access_token_spec.rb +108 -0
  42. data/spec/spec_helper.rb +16 -0
  43. data/spec/vcr_cassettes/access_token_success.yml +99 -0
  44. data/spec/vcr_cassettes/bad_code.yml +99 -0
  45. data/spec/vcr_cassettes/organization_data.yml +51 -0
  46. data/spec/vcr_cassettes/people_picture_urls.yml +52 -0
  47. data/spec/vcr_cassettes/people_profile_connections_fields.yml +52 -0
  48. data/spec/vcr_cassettes/people_profile_connections_other.yml +52 -0
  49. data/spec/vcr_cassettes/people_profile_connections_self.yml +52 -0
  50. data/spec/vcr_cassettes/people_profile_fields_complex.yml +52 -0
  51. data/spec/vcr_cassettes/people_profile_fields_simple.yml +52 -0
  52. data/spec/vcr_cassettes/people_profile_lang_spanish.yml +53 -0
  53. data/spec/vcr_cassettes/people_profile_multiple_fields.yml +52 -0
  54. data/spec/vcr_cassettes/people_profile_multiple_uids.yml +52 -0
  55. data/spec/vcr_cassettes/people_profile_multiple_uids_and_urls.yml +52 -0
  56. data/spec/vcr_cassettes/people_profile_multiple_urls.yml +52 -0
  57. data/spec/vcr_cassettes/people_profile_new_connections_fields.yml +52 -0
  58. data/spec/vcr_cassettes/people_profile_new_connections_other.yml +52 -0
  59. data/spec/vcr_cassettes/people_profile_new_connections_self.yml +52 -0
  60. data/spec/vcr_cassettes/people_profile_other_uid.yml +57 -0
  61. data/spec/vcr_cassettes/people_profile_other_url.yml +54 -0
  62. data/spec/vcr_cassettes/people_profile_own.yml +57 -0
  63. data/spec/vcr_cassettes/people_profile_own_secure.yml +53 -0
  64. data/spec/vcr_cassettes/people_profile_skills.yml +52 -0
  65. data/spec/vcr_cassettes/unavailable.yml +99 -0
  66. metadata +285 -0
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/people/id=MpkAFJTlPY/connections
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:36 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-ech2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184256:t=1525268970:s=AQGuzPOyk54isP6qZQ6uB-89hgh9VWud"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184256:t=1525268970:s=AQGuzPOyk54isP6qZQ6uB-89hgh9VWud"'
45
+ X-Li-Uuid:
46
+ - iLV9DACLKhXAH7R12CoAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Resource people does not exist","status":404}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:36 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/me/connections
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:35 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-edc2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184255:t=1525268970:s=AQEOiIkzaCyvggRB88VUcZb_VO6IGPC5"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184255:t=1525268970:s=AQEOiIkzaCyvggRB88VUcZb_VO6IGPC5"'
45
+ X-Li-Uuid:
46
+ - ogZB9/+KKhXQjhJ6iSsAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Resource me does not exist","status":404}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:35 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/me?projection=(%5B%22id%22,%20%7B%22positions%22=%3E%5B%22title%22%5D%7D%5D)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 400
23
+ message: Bad Request
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:34 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-edc2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184253:t=1525268970:s=AQHWrEq2JHwj3dd7UAHa4EhM8uQgM9bq"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184253:t=1525268970:s=AQHWrEq2JHwj3dd7UAHa4EhM8uQgM9bq"'
45
+ X-Li-Uuid:
46
+ - 8ePchv+KKhXQzsx5iisAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Illegal field name ''[''","status":400}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:34 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/me?projection=(%5B%22id%22,%20%22industry%22%5D)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 400
23
+ message: Bad Request
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:33 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-ech2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184253:t=1525268970:s=AQHWrEq2JHwj3dd7UAHa4EhM8uQgM9bq"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184253:t=1525268970:s=AQHWrEq2JHwj3dd7UAHa4EhM8uQgM9bq"'
45
+ X-Li-Uuid:
46
+ - jKR3av+KKhWgnywo2SoAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Illegal field name ''[''","status":400}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:33 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/me?lang=es
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 403
23
+ message: Forbidden
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:31 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-edc2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184251:t=1525268970:s=AQEoE7zF-KSVxUk_E2-53By07dmMVN5i"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184251:t=1525268970:s=AQEoE7zF-KSVxUk_E2-53By07dmMVN5i"'
45
+ X-Li-Uuid:
46
+ - Hcs87/6KKhWgS8ZViSsAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":100,"message":"Unpermitted fields present in PARAMETER:
50
+ Data Processing Exception while processing fields [/lang]","status":403}'
51
+ http_version:
52
+ recorded_at: Tue, 01 May 2018 14:17:31 GMT
53
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/people::(me,id=MpkAFJTlPY)?projection=(%5B%22id%22,%20%22industry%22%5D)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:35 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-edc2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184255:t=1525268970:s=AQEOiIkzaCyvggRB88VUcZb_VO6IGPC5"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184255:t=1525268970:s=AQEOiIkzaCyvggRB88VUcZb_VO6IGPC5"'
45
+ X-Li-Uuid:
46
+ - GnE94f+KKhUw7gmUiSsAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:35 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/people::(me,id=MpkAFJTlPY)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:34 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-ech2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184254:t=1525268970:s=AQGPgBCQ8PO_NUOlSUqUkSCffZueaKU9"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184254:t=1525268970:s=AQGPgBCQ8PO_NUOlSUqUkSCffZueaKU9"'
45
+ X-Li-Uuid:
46
+ - l9AFov+KKhUwUwkM2CoAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:34 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/people::(me,id=MpkAFJTlPY,url=www.linkedin.com%2Fin%2Fmiguel-santos-del-nariz)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:35 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-edc2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184255:t=1525268970:s=AQEOiIkzaCyvggRB88VUcZb_VO6IGPC5"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184255:t=1525268970:s=AQEOiIkzaCyvggRB88VUcZb_VO6IGPC5"'
45
+ X-Li-Uuid:
46
+ - 4DCKy/+KKhUg0qpxiSsAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:35 GMT
52
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.linkedin.com/v2/people::(me,url=www.linkedin.com%2Fin%2Fmiguel-santos-del-nariz)
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Li-Format:
11
+ - json
12
+ Authorization:
13
+ - Bearer AQVM91zzF-bLiOfCsTi8ktxnq99l-tW9meri8F9ZEWAuHf5g1bO_Pa4p0nFwKvZ7VFdSERAnJZq3eNOq6BzDPFNIyGIy50s-7HkLq2hE5uy6HrAQrsMAQR_qZxnBrSD11g_M2sF5XB5fUHZOXEQFgFaXB0M19VUAsvsz3yg-7zMI7w9Zn_DYTLO1e2W9VEZrOgVmRNt1XBIT_pdQO7pQkKv4702yJTrIBOuhZWNLZRClPHd2RRhPf2SJeTkodbnL4xSvzcyEPpLaTPyZIVJnBcsAzYFiG_pJtyGs7x-iWbUZsYgnUVSy8Wg-5eqmvze5tuZdICIP0PJ0AVMNGOxRRiLOEh8MSg
14
+ User-Agent:
15
+ - Faraday v0.10.1
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ X-Restli-Gateway-Error:
26
+ - 'true'
27
+ Content-Type:
28
+ - application/json
29
+ Date:
30
+ - Tue, 01 May 2018 14:17:34 GMT
31
+ X-Li-Fabric:
32
+ - prod-lva1
33
+ Transfer-Encoding:
34
+ - chunked
35
+ Connection:
36
+ - keep-alive
37
+ X-Li-Pop:
38
+ - prod-edc2
39
+ X-Li-Proto:
40
+ - http/1.1
41
+ Set-Cookie:
42
+ - lidc="b=VB96:g=1148:u=15:i=1525184254:t=1525268970:s=AQGPgBCQ8PO_NUOlSUqUkSCffZueaKU9"
43
+ X-Li-Route-Key:
44
+ - '"b=VB96:g=1148:u=15:i=1525184254:t=1525268970:s=AQGPgBCQ8PO_NUOlSUqUkSCffZueaKU9"'
45
+ X-Li-Uuid:
46
+ - yHfctv+KKhVg94l6iSsAAA==
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"serviceErrorCode":0,"message":"Resource null does not exist","status":404}'
50
+ http_version:
51
+ recorded_at: Tue, 01 May 2018 14:17:34 GMT
52
+ recorded_with: VCR 3.0.3