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

How to retrieve other profiles information? #283

Open
rsa408 opened this issue Feb 11, 2022 · 1 comment
Open

How to retrieve other profiles information? #283

rsa408 opened this issue Feb 11, 2022 · 1 comment

Comments

@rsa408
Copy link

rsa408 commented Feb 11, 2022

Hi @jlobos this is not an issue report is just a request for a feature:
How is it possible to pass Username e.g. to the getProfile() method or some other methods, to retrieve the information we request other than what we logged in?
I used my own account to log in but I was looking for information on specific accounts/accounts.

for (User in  UsersList) {
UserProfile = await client.getProfile(User)
Wrriteit( User+'.json', UserProfile)
}

Thanks for your great tool.

@maxrdz
Copy link

maxrdz commented May 7, 2022

There already is a method in the API that does this,

;(async => {
    let profile = await client.getUserByUsername({username: “user”});
})();

You can check out the full documentation here.

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

No branches or pull requests

2 participants