Skip to content

How to fetch data without login? #292

Answered by MarshalX
venteto asked this question in Questions
Discussion options

You must be logged in to vote

You should use different base URL. You should use the URL which is used for "non authed" access to bsky.app from the browser.

from atproto import Client


client = Client(base_url='https://api.bsky.app')

profile = client.app.bsky.actor.get_profile({'actor': 'test.marshal.dev'})
print(profile.display_name)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@venteto
Comment options

Answer selected by venteto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants