Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 403 Bytes

File metadata and controls

28 lines (18 loc) · 403 Bytes
outline deep

API Reference

Tsky

new Tsky(app: AppBskyNS): Tsky

Create a new Tsky instance.

import { Tsky } from 'tsky'

const app = new AppBskyNS() // TODO
const tsky = new Tsky(app)

tsky.profile(did: string): Promise<Profile>

Get a profile by DID.

const profile = await tsky.profile('did:plc:giohuovwawlijq7jkuysq5dd')

console.log(profile.handle)