Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultHost = "https://bsky.social"
接続先ホスト
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueskyAPI ¶
type BlueskyAPI struct {
// contains filtered or unexported fields
}
BlueskyAPIのラッパー
func NewBlueskyAPI ¶
func NewBlueskyAPI() *BlueskyAPI
func (*BlueskyAPI) CreatePost ¶
func (ba *BlueskyAPI) CreatePost(text string) error
現在のセッションでtextを投稿します。
func (*BlueskyAPI) CreateSession ¶
func (ba *BlueskyAPI) CreateSession(handle, pass string) error
セッションを作成し、クライアントを返します。
func (*BlueskyAPI) GetProfile ¶
func (ba *BlueskyAPI) GetProfile(handle string) (*bsky.ActorDefs_ProfileViewDetailed, error)
指定アカウントのプロフィールを取得します。
func (*BlueskyAPI) RefreshSession ¶
func (ba *BlueskyAPI) RefreshSession() error
現在のセッションをリフレッシュします。
Click to show internal directories.
Click to hide internal directories.