Package blue. starry. penicillin. endpoints. account
Functions
Removes the uploaded profile banner for the authenticating user. Returns HTTP 200 upon success.
Returns settings (including current trend, geo and sleep time information) for the authenticating user.
Sets some values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated.
Updates the authenticating user's profile background image. This method can also be used to enable or disable the profile background image. Although each parameter is marked as optional, at least one of image or media_id must be provided when making this request. Learn more about the deprecation of this endpoint via our forum post.
Uploads a profile banner on behalf of the authenticating user. More information about sizing variations can be found in User Profile Images and Banners and GET users/profile_banner.
Updates the authenticating user's profile image. Note that this method expects raw multipart data, not a URL to an image.
Updates the authenticating user's settings.
Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. Use this method to test if supplied user credentials are valid.
Properties
Shorthand property to Account.removeProfileBanner.
Shorthand extension property to Account.settings.
Shorthand extension property to Account.updateProfile.
Shorthand extension property to Account.updateSettings.
Shorthand property to Account.verifyCredentials.