Skip to contents

This function sends a request to the specified URL, includes the provided DID and password in the request body, performs the request, and returns the API key found in the response body.

Usage

get_api(fed, did, app_password)

Arguments

fed

The ATProto instance to which the handle belongs.

did

The DID for which to get the API key.

app_password

The password to include in the request.

Value

The API key corresponding to the provided DID and password.