Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contact info column to profile and related query examples #5

Merged
merged 4 commits into from Nov 1, 2023

Conversation

bob-bot
Copy link
Contributor

@bob-bot bob-bot commented May 10, 2023

Contact Information is possible to grab on the user profile, however the SDK Steampipe uses did not have it fully supported.

There is an open PR on the SDK to make this PR effective: tamboto2000/golinkedin#8.

Note: also in the SDK PR there is a workaround fix for profiles returning errors when Honors data was failing to return data

Example query results (assuming you have the SDK changes in place)

SELECT
    first_name,
    last_name,
    contact_info ->> 'emailAddress' as email,
    contact_info -> 'address' as address
FROM
    linkedin_profile
WHERE
    public_identifier = 'tuhintypical';

+------------+-----------+---------------------+-------------------------------------------------------------------+
| first_name | last_name | email               | address                                                           |
+------------+-----------+---------------------+-------------------------------------------------------------------+
| Tuhin      | Banerjee  | geektuhin@gmail.com | "Qno:-14 Road No:- 4 a Zone No:-4 Birsanagar Jamshedpur - 831004" |
+------------+-----------+---------------------+-------------------------------------------------------------------+

Contact Information is possible to grab on the user profile, however the SDK Steampipe uses did not have it fully supported.  

There is an open PR on the SDK to make this effective: tamboto2000/golinkedin#8

Note: also in the SDK PR there is a workaround fix for profiles returning errors when Honors data was failing to return
Added a basic and advanced query to the profile table docs to showcase the new column available
@github-actions
Copy link

github-actions bot commented Jul 9, 2023

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Jul 9, 2023
@misraved misraved removed the stale No recent activity has been detected on this issue/PR and it will be closed label Aug 16, 2023
@github-actions
Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Oct 15, 2023
@misraved misraved removed the stale No recent activity has been detected on this issue/PR and it will be closed label Oct 20, 2023
@alissonduck
Copy link

Hi @misraved. How are u?

This PR (tamboto2000/golinkedin#8) has been merged and the update published on pkg.go.dev.

Could you validate and publish this update to users, please?

Thank you very much. 🙏🏻🙌🏻

OBS: Thanks to @bob-bot for working on this update for steampipe. This will help us a lot!! gratitude!! 🙏🏻🙌🏻

@misraved
Copy link
Contributor

Thanks a lot @alissonduck for following up on the PR 👍.

We will release a new version of this plugin with these changes by the end of this week 👍.

@alissonduck
Copy link

thanks @misraved!!

@misraved misraved merged commit 065c2ce into main Nov 1, 2023
2 checks passed
@misraved misraved deleted the add-contact-info-profile branch November 1, 2023 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants