Types:
from onlyfansapi.types import WhoamiRetrieveResponseMethods:
client.whoami.retrieve() -> WhoamiRetrieveResponse
Types:
from onlyfansapi.types import AccountListResponse, AccountDisconnectResponseMethods:
client.accounts.list(**params) -> AccountListResponseclient.accounts.disconnect(id) -> Optional[AccountDisconnectResponse]
Types:
from onlyfansapi.types import (
MeRetrieveResponse,
MeGetModelStartDateResponse,
MeGetTopPercentageResponse,
)Methods:
client.me.retrieve(account) -> MeRetrieveResponseclient.me.get_model_start_date(account) -> MeGetModelStartDateResponseclient.me.get_top_percentage(account) -> MeGetTopPercentageResponse
Types:
from onlyfansapi.types.analytics import FinancialGetForecastResponseMethods:
client.analytics.financial.get_forecast(**params) -> FinancialGetForecastResponse
Types:
from onlyfansapi.types.analytics.financial import (
TransactionGetByTypeResponse,
TransactionGetSummaryResponse,
)Methods:
client.analytics.financial.transactions.get_by_type(**params) -> TransactionGetByTypeResponseclient.analytics.financial.transactions.get_summary(**params) -> TransactionGetSummaryResponse
Types:
from onlyfansapi.types.analytics.financial import (
ProfitabilityGetHistoryResponse,
ProfitabilityGetProfitabilityResponse,
)Methods:
client.analytics.financial.profitability.get_history(account, **params) -> ProfitabilityGetHistoryResponseclient.analytics.financial.profitability.get_profitability(**params) -> ProfitabilityGetProfitabilityResponse
Types:
from onlyfansapi.types.analytics import (
SummaryGetEarningsOverviewResponse,
SummaryGetHistoricalPerformanceResponse,
SummaryGetPeriodComparisonResponse,
)Methods:
client.analytics.summary.get_earnings_overview(**params) -> SummaryGetEarningsOverviewResponseclient.analytics.summary.get_historical_performance(**params) -> SummaryGetHistoricalPerformanceResponseclient.analytics.summary.get_period_comparison(**params) -> SummaryGetPeriodComparisonResponse
Types:
from onlyfansapi.types import (
BankingListAvailablePayoutSystemsResponse,
BankingListCountriesResponse,
)Methods:
client.banking.list_available_payout_systems(account) -> BankingListAvailablePayoutSystemsResponseclient.banking.list_countries(account) -> BankingListCountriesResponse
Types:
from onlyfansapi.types.banking import (
DetailRetrieveAccountCountryDetailsResponse,
DetailRetrieveBankDetailsResponse,
DetailRetrieveDac7FormDetailsResponse,
DetailRetrieveLegalAndTaxStatusResponse,
DetailRetrieveLegalFormDetailsResponse,
)Methods:
client.banking.details.retrieve_account_country_details(account) -> DetailRetrieveAccountCountryDetailsResponseclient.banking.details.retrieve_bank_details(account) -> DetailRetrieveBankDetailsResponseclient.banking.details.retrieve_dac7_form_details(account) -> DetailRetrieveDac7FormDetailsResponseclient.banking.details.retrieve_legal_and_tax_status(account) -> DetailRetrieveLegalAndTaxStatusResponseclient.banking.details.retrieve_legal_form_details(account) -> DetailRetrieveLegalFormDetailsResponse
Types:
from onlyfansapi.types import (
ChargebackListResponse,
ChargebackCalculateRatioResponse,
ChargebackListStatisticsResponse,
)Methods:
client.chargebacks.list(account, **params) -> ChargebackListResponseclient.chargebacks.calculate_ratio(account, **params) -> ChargebackCalculateRatioResponseclient.chargebacks.list_statistics(account, **params) -> ChargebackListStatisticsResponse
Types:
from onlyfansapi.types import (
ChatListResponse,
ChatDeleteResponse,
ChatHideResponse,
ChatListMediaResponse,
ChatMarkAsReadResponse,
ChatMarkAsUnreadResponse,
ChatMuteResponse,
ChatStartTypingResponse,
ChatUnmuteResponse,
)Methods:
client.chats.list(account, **params) -> ChatListResponseclient.chats.delete(chat_id, *, account) -> ChatDeleteResponseclient.chats.hide(chat_id, *, account) -> ChatHideResponseclient.chats.list_media(chat_id, *, account, **params) -> ChatListMediaResponseclient.chats.mark_as_read(chat_id, *, account) -> ChatMarkAsReadResponseclient.chats.mark_as_unread(chat_id, *, account) -> ChatMarkAsUnreadResponseclient.chats.mute(chat_id, *, account) -> ChatMuteResponseclient.chats.start_typing(chat_id, *, account) -> ChatStartTypingResponseclient.chats.unmute(chat_id, *, account) -> ChatUnmuteResponse
Types:
from onlyfansapi.types.chats import (
MessageRetrieveResponse,
MessageListResponse,
MessageDeleteResponse,
MessageLikeResponse,
MessagePinResponse,
MessageSearchResponse,
MessageSendResponse,
MessageUnlikeResponse,
MessageUnpinResponse,
)Methods:
client.chats.messages.retrieve(message_id, *, account, chat_id) -> MessageRetrieveResponseclient.chats.messages.list(chat_id, *, account, **params) -> MessageListResponseclient.chats.messages.delete(message_id, *, account, chat_id) -> MessageDeleteResponseclient.chats.messages.like(message_id, *, account, chat_id) -> MessageLikeResponseclient.chats.messages.pin(message_id, *, account, chat_id) -> MessagePinResponseclient.chats.messages.search(chat_id, *, account, **params) -> MessageSearchResponseclient.chats.messages.send(chat_id, *, account, **params) -> MessageSendResponseclient.chats.messages.unlike(message_id, *, account, chat_id) -> MessageUnlikeResponseclient.chats.messages.unpin(message_id, *, account, chat_id) -> MessageUnpinResponse
Types:
from onlyfansapi.types.chats import MarkAllAsReadAllResponseMethods:
client.chats.mark_all_as_read.all(account) -> MarkAllAsReadAllResponse
Types:
from onlyfansapi.types import MessageAttachTagsResponseMethods:
client.messages.attach_tags(message_id, *, account, **params) -> MessageAttachTagsResponse
Types:
from onlyfansapi.types import ClientSessionCreateResponseMethods:
client.client_sessions.create(**params) -> ClientSessionCreateResponse
Types:
from onlyfansapi.types import (
AuthenticatePollStatusResponse,
AuthenticateReauthenticateResponse,
AuthenticateSend2faEmailResponse,
AuthenticateStartResponse,
AuthenticateSubmit2faResponse,
)Methods:
client.authenticate.poll_status(attempt_id) -> AuthenticatePollStatusResponseclient.authenticate.reauthenticate(account_id) -> AuthenticateReauthenticateResponseclient.authenticate.send_2fa_email(attempt_id) -> AuthenticateSend2faEmailResponseclient.authenticate.start(**params) -> AuthenticateStartResponseclient.authenticate.submit_2fa(attempt_id, **params) -> AuthenticateSubmit2faResponse
Types:
from onlyfansapi.types import (
DataExportCreateResponse,
DataExportRetrieveResponse,
DataExportListResponse,
DataExportCancelResponse,
DataExportRetryResponse,
DataExportStartResponse,
)Methods:
client.data_exports.create(**params) -> DataExportCreateResponseclient.data_exports.retrieve(data_export_id, **params) -> DataExportRetrieveResponseclient.data_exports.list(**params) -> DataExportListResponseclient.data_exports.cancel(data_export_id) -> DataExportCancelResponseclient.data_exports.retry(data_export_id) -> DataExportRetryResponseclient.data_exports.start(data_export_id) -> DataExportStartResponse
Types:
from onlyfansapi.types.engagement import (
MessageGetMessageBuyersResponse,
MessageGetTopMessageResponse,
)Methods:
client.engagement.messages.get_message_buyers(message_id, *, account, **params) -> MessageGetMessageBuyersResponseclient.engagement.messages.get_top_message(account, **params) -> MessageGetTopMessageResponse
Types:
from onlyfansapi.types.engagement.messages import MassMessageListResponse, MassMessageChartResponseMethods:
client.engagement.messages.mass_messages.list(account, **params) -> MassMessageListResponseclient.engagement.messages.mass_messages.chart(account, **params) -> MassMessageChartResponse
Types:
from onlyfansapi.types.engagement.messages import (
DirectMessageListResponse,
DirectMessageChartResponse,
)Methods:
client.engagement.messages.direct_messages.list(account, **params) -> DirectMessageListResponseclient.engagement.messages.direct_messages.chart(account, **params) -> DirectMessageChartResponse
Types:
from onlyfansapi.types import (
FanGetSubscriptionHistoryResponse,
FanListActiveResponse,
FanListAllResponse,
FanListExpiredResponse,
FanListLatestResponse,
FanListTopResponse,
FanSetCustomNameResponse,
)Methods:
client.fans.get_subscription_history(user_id, *, account) -> FanGetSubscriptionHistoryResponseclient.fans.list_active(account, **params) -> FanListActiveResponseclient.fans.list_all(account, **params) -> FanListAllResponseclient.fans.list_expired(account, **params) -> FanListExpiredResponseclient.fans.list_latest(account, **params) -> FanListLatestResponseclient.fans.list_top(account, **params) -> FanListTopResponseclient.fans.set_custom_name(fan_id, *, account, **params) -> FanSetCustomNameResponse
Types:
from onlyfansapi.types.fans import (
NoteClearNotesResponse,
NoteCreateEditNotesResponse,
NoteGetNotesResponse,
)Methods:
client.fans.notes.clear_notes(fan_id, *, account) -> NoteClearNotesResponseclient.fans.notes.create_edit_notes(fan_id, *, account, **params) -> NoteCreateEditNotesResponseclient.fans.notes.get_notes(fan_id, *, account) -> NoteGetNotesResponse
Types:
from onlyfansapi.types.fans import SummaryGenerateSummaryResponse, SummaryGetSummaryResponseMethods:
client.fans.summary.generate_summary(fan_id, *, account, **params) -> SummaryGenerateSummaryResponseclient.fans.summary.get_summary(fan_id, *, account) -> SummaryGetSummaryResponse
Types:
from onlyfansapi.types import (
FollowingListActiveResponse,
FollowingListAllResponse,
FollowingListExpiredResponse,
)Methods:
client.following.list_active(account, **params) -> FollowingListActiveResponseclient.following.list_all(account, **params) -> FollowingListAllResponseclient.following.list_expired(account, **params) -> FollowingListExpiredResponse
Types:
from onlyfansapi.types import (
TrialLinkCreateResponse,
TrialLinkRetrieveResponse,
TrialLinkListResponse,
TrialLinkDeleteResponse,
TrialLinkListSpendersResponse,
TrialLinkListSubscribersResponse,
TrialLinkRetrieveStatsResponse,
)Methods:
client.trial_links.create(account, **params) -> TrialLinkCreateResponseclient.trial_links.retrieve(trial_link_id, *, account) -> TrialLinkRetrieveResponseclient.trial_links.list(account, **params) -> TrialLinkListResponseclient.trial_links.delete(trial_link_id, *, account) -> TrialLinkDeleteResponseclient.trial_links.list_spenders(trial_link_id, *, account, **params) -> TrialLinkListSpendersResponseclient.trial_links.list_subscribers(trial_link_id, *, account, **params) -> TrialLinkListSubscribersResponseclient.trial_links.retrieve_cohort_arps(trial_link_id, *, account, **params) -> Noneclient.trial_links.retrieve_stats(trial_link_id, *, account, **params) -> TrialLinkRetrieveStatsResponse
Types:
from onlyfansapi.types.trial_links import TagListResponse, TagAddResponse, TagRemoveResponseMethods:
client.trial_links.tags.list(trial_link_id, *, account) -> TagListResponseclient.trial_links.tags.add(trial_link_id, *, account, **params) -> TagAddResponseclient.trial_links.tags.remove(trial_link_id, *, account, **params) -> TagRemoveResponse
Types:
from onlyfansapi.types import GiphyListTrendingResponse, GiphySearchResponseMethods:
client.giphy.list_trending(account, **params) -> GiphyListTrendingResponseclient.giphy.search(account, **params) -> GiphySearchResponse
Types:
from onlyfansapi.types import LinkTagListResponseMethods:
client.link_tags.list(**params) -> LinkTagListResponse
Types:
from onlyfansapi.types import (
MassMessagingRetrieveResponse,
MassMessagingUpdateResponse,
MassMessagingListResponse,
MassMessagingDeleteResponse,
MassMessagingRetrieveOverviewResponse,
MassMessagingSendResponse,
)Methods:
client.mass_messaging.retrieve(id, *, account) -> MassMessagingRetrieveResponseclient.mass_messaging.update(id, *, account, **params) -> MassMessagingUpdateResponseclient.mass_messaging.list(account) -> MassMessagingListResponseclient.mass_messaging.delete(id, *, account) -> MassMessagingDeleteResponseclient.mass_messaging.retrieve_overview(account, **params) -> MassMessagingRetrieveOverviewResponseclient.mass_messaging.send(account, **params) -> MassMessagingSendResponse
Types:
from onlyfansapi.types import MediaDownloadResponse, MediaScrapeResponse, MediaUploadResponseMethods:
client.media.download(cdn_url, *, account) -> strclient.media.scrape(account, **params) -> MediaScrapeResponseclient.media.upload(account, **params) -> MediaUploadResponse
Types:
from onlyfansapi.types.media import UploadGetStatusResponseMethods:
client.media.uploads.get_status(upload, *, account) -> UploadGetStatusResponse
Types:
from onlyfansapi.types.media import (
VaultRetrieveResponse,
VaultListResponse,
VaultDeleteResponse,
VaultUploadResponse,
)Methods:
client.media.vault.retrieve(media_id, *, account) -> VaultRetrieveResponseclient.media.vault.list(account, **params) -> VaultListResponseclient.media.vault.delete(account, **params) -> VaultDeleteResponseclient.media.vault.upload(account, **params) -> VaultUploadResponse
Types:
from onlyfansapi.types.media.vault import (
ListCreateResponse,
ListRetrieveResponse,
ListUpdateResponse,
ListListResponse,
ListDeleteResponse,
)Methods:
client.media.vault.lists.create(account, **params) -> ListCreateResponseclient.media.vault.lists.retrieve(list_id, *, account) -> ListRetrieveResponseclient.media.vault.lists.update(list_id, *, account) -> ListUpdateResponseclient.media.vault.lists.list(account, **params) -> ListListResponseclient.media.vault.lists.delete(list_id, *, account) -> ListDeleteResponse
Types:
from onlyfansapi.types.media.vault.lists import MediaAddResponse, MediaRemoveResponseMethods:
client.media.vault.lists.media.add(list_id, *, account, **params) -> MediaAddResponseclient.media.vault.lists.media.remove(list_id, *, account, **params) -> MediaRemoveResponse
Types:
from onlyfansapi.types import (
NotificationListResponse,
NotificationGetCountsResponse,
NotificationMarkAllAsReadResponse,
NotificationSearchUsersResponse,
)Methods:
client.notifications.list(account, **params) -> NotificationListResponseclient.notifications.get_counts(account) -> NotificationGetCountsResponseclient.notifications.mark_all_as_read(account) -> NotificationMarkAllAsReadResponseclient.notifications.search_users(account, **params) -> NotificationSearchUsersResponse
Types:
from onlyfansapi.types.notifications import TabsOrderUpdateResponse, TabsOrderGetResponseMethods:
client.notifications.tabs_order.update(account, **params) -> TabsOrderUpdateResponseclient.notifications.tabs_order.get(account) -> TabsOrderGetResponse
Types:
from onlyfansapi.types import (
PayoutListRequestsResponse,
PayoutRequestManualWithdrawalResponse,
PayoutRetrieveBalancesResponse,
PayoutRetrieveEarningStatisticsResponse,
PayoutRetrieveEligibilityResponse,
PayoutUpdateFrequencyResponse,
)Methods:
client.payouts.list_requests(account, **params) -> PayoutListRequestsResponseclient.payouts.request_manual_withdrawal(account, **params) -> PayoutRequestManualWithdrawalResponseclient.payouts.retrieve_balances(account) -> PayoutRetrieveBalancesResponseclient.payouts.retrieve_earning_statistics(account, **params) -> PayoutRetrieveEarningStatisticsResponseclient.payouts.retrieve_eligibility(account) -> PayoutRetrieveEligibilityResponseclient.payouts.update_frequency(account, **params) -> PayoutUpdateFrequencyResponse
Types:
from onlyfansapi.types import (
PostCreateResponse,
PostRetrieveResponse,
PostUpdateResponse,
PostListResponse,
PostDeleteResponse,
PostArchiveResponse,
PostPinResponse,
PostStatsResponse,
PostUnarchiveResponse,
)Methods:
client.posts.create(account, **params) -> PostCreateResponseclient.posts.retrieve(post_id, *, account) -> PostRetrieveResponseclient.posts.update(post_id, *, account, **params) -> strclient.posts.list(account, **params) -> PostListResponseclient.posts.delete(post_id, *, account) -> PostDeleteResponseclient.posts.archive(post_id, *, account, **params) -> PostArchiveResponseclient.posts.pin(post_id, *, account) -> PostPinResponseclient.posts.stats(post_id, *, account, **params) -> PostStatsResponseclient.posts.unarchive(post_id, *, account, **params) -> PostUnarchiveResponse
Types:
from onlyfansapi.types.posts import (
CommentCreateResponse,
CommentListResponse,
CommentDeleteResponse,
CommentLikeResponse,
CommentPinResponse,
CommentUnlikeResponse,
CommentUnpinResponse,
)Methods:
client.posts.comments.create(post_id, *, account, **params) -> CommentCreateResponseclient.posts.comments.list(post_id, *, account, **params) -> CommentListResponseclient.posts.comments.delete(comment_id, *, account, post_id) -> CommentDeleteResponseclient.posts.comments.like(comment_id, *, account, post_id) -> CommentLikeResponseclient.posts.comments.pin(comment_id, *, account, post_id) -> CommentPinResponseclient.posts.comments.unlike(comment_id, *, account, post_id) -> CommentUnlikeResponseclient.posts.comments.unpin(comment_id, *, account, post_id) -> CommentUnpinResponse
Types:
from onlyfansapi.types.posts import LabelCreateResponse, LabelListResponseMethods:
client.posts.labels.create(account, **params) -> LabelCreateResponseclient.posts.labels.list(account, **params) -> LabelListResponse
Types:
from onlyfansapi.types import (
PromotionCreateResponse,
PromotionListResponse,
PromotionDeleteResponse,
PromotionStopResponse,
)Methods:
client.promotions.create(account, **params) -> PromotionCreateResponseclient.promotions.list(account, **params) -> PromotionListResponseclient.promotions.delete(promotion_id, *, account) -> PromotionDeleteResponseclient.promotions.stop(promotion_id, *, account) -> PromotionStopResponse
Types:
from onlyfansapi.types import ProfileRetrieveResponseMethods:
client.profiles.retrieve(username, **params) -> ProfileRetrieveResponse
Types:
from onlyfansapi.types import SearchProfilesResponseMethods:
client.search.profiles(**params) -> SearchProfilesResponse
Types:
from onlyfansapi.types import QueueListResponse, QueueCountResponse, QueuePublishResponseMethods:
client.queue.list(account, **params) -> QueueListResponseclient.queue.count(account, **params) -> QueueCountResponseclient.queue.publish(queue_id, *, account) -> QueuePublishResponse
Types:
from onlyfansapi.types import (
ReleaseFormCreateInvitationLinkResponse,
ReleaseFormCreateReleaseFormResponse,
ReleaseFormListTaggableUsersResponse,
)Methods:
client.release_forms.create_invitation_link(account, **params) -> ReleaseFormCreateInvitationLinkResponseclient.release_forms.create_release_form(account, **params) -> ReleaseFormCreateReleaseFormResponseclient.release_forms.list_taggable_users(account, **params) -> ReleaseFormListTaggableUsersResponse
Types:
from onlyfansapi.types.saved_for_later import MessageListResponseMethods:
client.saved_for_later.messages.list(account, **params) -> MessageListResponse
Types:
from onlyfansapi.types.saved_for_later.messages import (
SettingRetrieveResponse,
SettingDisableAutomaticMessagingResponse,
SettingEnableOrUpdateAutomaticMessagingResponse,
)Methods:
client.saved_for_later.messages.settings.retrieve(account) -> SettingRetrieveResponseclient.saved_for_later.messages.settings.disable_automatic_messaging(account) -> SettingDisableAutomaticMessagingResponseclient.saved_for_later.messages.settings.enable_or_update_automatic_messaging(account, **params) -> SettingEnableOrUpdateAutomaticMessagingResponse
Types:
from onlyfansapi.types.saved_for_later import PostListResponseMethods:
client.saved_for_later.posts.list(account, **params) -> PostListResponse
Types:
from onlyfansapi.types.saved_for_later.posts import (
SettingRetrieveResponse,
SettingDisableAutomaticPostingResponse,
SettingEnableOrUpdateAutomaticPostingResponse,
)Methods:
client.saved_for_later.posts.settings.retrieve(account) -> SettingRetrieveResponseclient.saved_for_later.posts.settings.disable_automatic_posting(account) -> SettingDisableAutomaticPostingResponseclient.saved_for_later.posts.settings.enable_or_update_automatic_posting(account, **params) -> SettingEnableOrUpdateAutomaticPostingResponse
Types:
from onlyfansapi.types import (
SettingRetrieveResponse,
SettingCheckUsernameAvailabilityResponse,
SettingUpdateProfileResponse,
SettingUpdateSubscriptionPriceResponse,
)Methods:
client.settings.retrieve(account) -> SettingRetrieveResponseclient.settings.check_username_availability(account, **params) -> SettingCheckUsernameAvailabilityResponseclient.settings.update_profile(account, **params) -> SettingUpdateProfileResponseclient.settings.update_subscription_price(account, **params) -> SettingUpdateSubscriptionPriceResponse
Types:
from onlyfansapi.types.settings import BlockedCountryRetrieveResponse, BlockedCountryUpdateResponseMethods:
client.settings.blocked_countries.retrieve(account) -> BlockedCountryRetrieveResponseclient.settings.blocked_countries.update(account, **params) -> BlockedCountryUpdateResponse
Types:
from onlyfansapi.types.settings import (
WelcomeMessageRetrieveResponse,
WelcomeMessageUpdateResponse,
WelcomeMessageToggleResponse,
)Methods:
client.settings.welcome_message.retrieve(account) -> WelcomeMessageRetrieveResponseclient.settings.welcome_message.update(account, **params) -> WelcomeMessageUpdateResponseclient.settings.welcome_message.toggle(account, **params) -> WelcomeMessageToggleResponse
Types:
from onlyfansapi.types.settings import (
SocialMediaButtonUpdateResponse,
SocialMediaButtonListResponse,
SocialMediaButtonDeleteResponse,
SocialMediaButtonAddResponse,
SocialMediaButtonReorderResponse,
)Methods:
client.settings.social_media_buttons.update(button_id, *, account, **params) -> SocialMediaButtonUpdateResponseclient.settings.social_media_buttons.list(account) -> SocialMediaButtonListResponseclient.settings.social_media_buttons.delete(button_id, *, account) -> SocialMediaButtonDeleteResponseclient.settings.social_media_buttons.add(account, **params) -> SocialMediaButtonAddResponseclient.settings.social_media_buttons.reorder(account, **params) -> SocialMediaButtonReorderResponse
Types:
from onlyfansapi.types import SharedTrialLinkListResponse, SharedTrialLinkRevokeAccessResponseMethods:
client.shared_trial_links.list(account, **params) -> SharedTrialLinkListResponseclient.shared_trial_links.revoke_access(shared_trial_link_id, *, account) -> SharedTrialLinkRevokeAccessResponse
Types:
from onlyfansapi.types.shared_trial_links import TagListResponse, TagAddResponse, TagRemoveResponseMethods:
client.shared_trial_links.tags.list(shared_trial_link_id, *, account) -> TagListResponseclient.shared_trial_links.tags.add(shared_trial_link_id, *, account, **params) -> TagAddResponseclient.shared_trial_links.tags.remove(shared_trial_link_id, *, account, **params) -> TagRemoveResponse
Types:
from onlyfansapi.types import SharedTrackingLinkListResponse, SharedTrackingLinkRevokeAccessResponseMethods:
client.shared_tracking_links.list(account, **params) -> SharedTrackingLinkListResponseclient.shared_tracking_links.revoke_access(shared_tracking_link_id, *, account) -> SharedTrackingLinkRevokeAccessResponse
Types:
from onlyfansapi.types.shared_tracking_links import (
TagListResponse,
TagAddResponse,
TagRemoveResponse,
)Methods:
client.shared_tracking_links.tags.list(shared_tracking_link_id, *, account) -> TagListResponseclient.shared_tracking_links.tags.add(shared_tracking_link_id, *, account, **params) -> TagAddResponseclient.shared_tracking_links.tags.remove(shared_tracking_link_id, *, account, **params) -> TagRemoveResponse
Types:
from onlyfansapi.types import (
SmartLinkPostbackCreateResponse,
SmartLinkPostbackRetrieveResponse,
SmartLinkPostbackUpdateResponse,
SmartLinkPostbackListResponse,
SmartLinkPostbackDeleteResponse,
)Methods:
client.smart_link_postbacks.create(**params) -> SmartLinkPostbackCreateResponseclient.smart_link_postbacks.retrieve(postback_id) -> SmartLinkPostbackRetrieveResponseclient.smart_link_postbacks.update(postback_id, **params) -> SmartLinkPostbackUpdateResponseclient.smart_link_postbacks.list() -> SmartLinkPostbackListResponseclient.smart_link_postbacks.delete(postback_id) -> Optional[SmartLinkPostbackDeleteResponse]
Types:
from onlyfansapi.types import (
SmartLinkCreateResponse,
SmartLinkRetrieveResponse,
SmartLinkListResponse,
SmartLinkDeleteResponse,
SmartLinkListClicksResponse,
SmartLinkListConversionsResponse,
SmartLinkListFansResponse,
SmartLinkListSpendersResponse,
SmartLinkRetrieveStatsResponse,
)Methods:
client.smart_links.create(**params) -> SmartLinkCreateResponseclient.smart_links.retrieve(smart_link_id) -> SmartLinkRetrieveResponseclient.smart_links.list(**params) -> SmartLinkListResponseclient.smart_links.delete(smart_link_id) -> SmartLinkDeleteResponseclient.smart_links.list_clicks(smart_link_id, **params) -> SmartLinkListClicksResponseclient.smart_links.list_conversions(smart_link_id, **params) -> SmartLinkListConversionsResponseclient.smart_links.list_fans(smart_link_id, **params) -> SmartLinkListFansResponseclient.smart_links.list_spenders(smart_link_id, **params) -> SmartLinkListSpendersResponseclient.smart_links.retrieve_cohort_arps(smart_link_id, **params) -> Noneclient.smart_links.retrieve_stats(smart_link_id, **params) -> SmartLinkRetrieveStatsResponse
Types:
from onlyfansapi.types import (
StatisticCalculateTotalTransactionsResponse,
StatisticGetOverviewResponse,
StatisticGetSubscriberMetricsResponse,
)Methods:
client.statistics.calculate_total_transactions(account, **params) -> StatisticCalculateTotalTransactionsResponseclient.statistics.get_overview(account, **params) -> StatisticGetOverviewResponseclient.statistics.get_subscriber_metrics(account, **params) -> StatisticGetSubscriberMetricsResponse
Types:
from onlyfansapi.types.statistics import StatementGetEarningsResponseMethods:
client.statistics.statements.get_earnings(account, **params) -> StatementGetEarningsResponse
Types:
from onlyfansapi.types.statistics import ReachGetProfileVisitorsResponseMethods:
client.statistics.reach.get_profile_visitors(account, **params) -> ReachGetProfileVisitorsResponse
Types:
from onlyfansapi.types import SubscriberRetrieveStatisticsResponseMethods:
client.subscribers.retrieve_statistics(account, **params) -> SubscriberRetrieveStatisticsResponse
Types:
from onlyfansapi.types import (
StoredListSharedTrackingLinksResponse,
StoredListSharedTrialLinksResponse,
StoredListTrackingLinksResponse,
StoredListTrialLinksResponse,
)Methods:
client.stored.list_shared_tracking_links(account, **params) -> StoredListSharedTrackingLinksResponseclient.stored.list_shared_trial_links(account, **params) -> StoredListSharedTrialLinksResponseclient.stored.list_tracking_links(account, **params) -> StoredListTrackingLinksResponseclient.stored.list_trial_links(account, **params) -> StoredListTrialLinksResponse
Types:
from onlyfansapi.types import (
StoryCreateResponse,
StoryRetrieveResponse,
StoryDeleteResponse,
StoryListActiveResponse,
StoryListArchiveResponse,
StoryListViewersResponse,
StoryMarkAsWatchedResponse,
StoryRetrieveStatsResponse,
)Methods:
client.stories.create(account, **params) -> StoryCreateResponseclient.stories.retrieve(story_id, *, account) -> StoryRetrieveResponseclient.stories.delete(story_id, *, account) -> StoryDeleteResponseclient.stories.list_active(account) -> StoryListActiveResponseclient.stories.list_archive(account, **params) -> StoryListArchiveResponseclient.stories.list_viewers(story_id, *, account, **params) -> StoryListViewersResponseclient.stories.mark_as_watched(story_id, *, account) -> StoryMarkAsWatchedResponseclient.stories.retrieve_stats(story_id, *, account) -> StoryRetrieveStatsResponse
Types:
from onlyfansapi.types.stories import (
HighlightCreateResponse,
HighlightRetrieveResponse,
HighlightUpdateResponse,
HighlightListResponse,
HighlightDeleteResponse,
HighlightAddStoryResponse,
HighlightRemoveStoryResponse,
)Methods:
client.stories.highlights.create(account, **params) -> HighlightCreateResponseclient.stories.highlights.retrieve(highlight_id, *, account) -> HighlightRetrieveResponseclient.stories.highlights.update(highlight_id, *, account, **params) -> HighlightUpdateResponseclient.stories.highlights.list(account, **params) -> HighlightListResponseclient.stories.highlights.delete(highlight_id, *, account) -> HighlightDeleteResponseclient.stories.highlights.add_story(path_story_id, *, account, highlight_id, **params) -> HighlightAddStoryResponseclient.stories.highlights.remove_story(story_id, *, account, highlight_id) -> HighlightRemoveStoryResponse
Types:
from onlyfansapi.types import BundleCreateResponse, BundleListResponse, BundleDeleteResponseMethods:
client.bundles.create(account, **params) -> BundleCreateResponseclient.bundles.list(account) -> BundleListResponseclient.bundles.delete(bundle_id, *, account) -> BundleDeleteResponse
Types:
from onlyfansapi.types import (
TrackingLinkCreateResponse,
TrackingLinkRetrieveResponse,
TrackingLinkListResponse,
TrackingLinkDeleteResponse,
TrackingLinkGetStatsResponse,
TrackingLinkListSpendersResponse,
TrackingLinkListSubscribersResponse,
)Methods:
client.tracking_links.create(account, **params) -> TrackingLinkCreateResponseclient.tracking_links.retrieve(tracking_link_id, *, account) -> TrackingLinkRetrieveResponseclient.tracking_links.list(account, **params) -> TrackingLinkListResponseclient.tracking_links.delete(tracking_link_id, *, account) -> TrackingLinkDeleteResponseclient.tracking_links.get_cohort_arps(tracking_link_id, *, account, **params) -> Noneclient.tracking_links.get_stats(tracking_link_id, *, account, **params) -> TrackingLinkGetStatsResponseclient.tracking_links.list_spenders(tracking_link_id, *, account, **params) -> TrackingLinkListSpendersResponseclient.tracking_links.list_subscribers(tracking_link_id, *, account, **params) -> TrackingLinkListSubscribersResponse
Types:
from onlyfansapi.types.tracking_links import TagListResponse, TagAddResponse, TagRemoveResponseMethods:
client.tracking_links.tags.list(tracking_link_id, *, account) -> TagListResponseclient.tracking_links.tags.add(tracking_link_id, *, account, **params) -> TagAddResponseclient.tracking_links.tags.remove(tracking_link_id, *, account, **params) -> TagRemoveResponse
Types:
from onlyfansapi.types import TransactionListResponseMethods:
client.transactions.list(account, **params) -> TransactionListResponse
Types:
from onlyfansapi.types import (
UserListCreateResponse,
UserListRetrieveResponse,
UserListUpdateResponse,
UserListListResponse,
UserListDeleteResponse,
)Methods:
client.user_lists.create(account, **params) -> UserListCreateResponseclient.user_lists.retrieve(user_list_id, *, account) -> UserListRetrieveResponseclient.user_lists.update(user_list_id, *, account, **params) -> UserListUpdateResponseclient.user_lists.list(account, **params) -> UserListListResponseclient.user_lists.delete(user_list_id, *, account) -> UserListDeleteResponse
Types:
from onlyfansapi.types.user_lists import (
UserListResponse,
UserAddResponse,
UserClearResponse,
UserListPinnedResponse,
UserPinResponse,
UserRemoveResponse,
)Methods:
client.user_lists.users.list(user_list_id, *, account, **params) -> UserListResponseclient.user_lists.users.add(user_list_id, *, account, **params) -> UserAddResponseclient.user_lists.users.clear(user_list_id, *, account) -> UserClearResponseclient.user_lists.users.list_pinned(user_list_id, *, account, **params) -> UserListPinnedResponseclient.user_lists.users.pin(user_id, *, account, user_list_id) -> UserPinResponseclient.user_lists.users.remove(user_id, *, account, user_list_id) -> UserRemoveResponse
Types:
from onlyfansapi.types import UserRetrieveResponse, UserListResponseMethods:
client.users.retrieve(username, *, account) -> UserRetrieveResponseclient.users.list(account, **params) -> UserListResponse
Types:
from onlyfansapi.types.users import RestrictCreateResponse, RestrictDeleteResponseMethods:
client.users.restrict.create(user_id, *, account) -> RestrictCreateResponseclient.users.restrict.delete(user_id, *, account) -> RestrictDeleteResponse
Types:
from onlyfansapi.types.users import BlockCreateResponse, BlockDeleteResponseMethods:
client.users.block.create(user_id, *, account) -> BlockCreateResponseclient.users.block.delete(user_id, *, account) -> BlockDeleteResponse
Types:
from onlyfansapi.types.users import SubscribeCreateResponse, SubscribeDeleteResponseMethods:
client.users.subscribe.create(user_id, *, account) -> SubscribeCreateResponseclient.users.subscribe.delete(user_id, *, account, **params) -> SubscribeDeleteResponse
Types:
from onlyfansapi.types import (
WebhookCreateResponse,
WebhookRetrieveResponse,
WebhookUpdateResponse,
WebhookListResponse,
WebhookDeleteResponse,
WebhookListEventsResponse,
)Methods:
client.webhooks.create(**params) -> WebhookCreateResponseclient.webhooks.retrieve(webhook_id) -> WebhookRetrieveResponseclient.webhooks.update(webhook_id, **params) -> WebhookUpdateResponseclient.webhooks.list() -> WebhookListResponseclient.webhooks.delete(webhook_id) -> Optional[WebhookDeleteResponse]client.webhooks.list_events() -> WebhookListEventsResponse