Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0"
".": "0.2.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 266
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-72633437c337ec4d9d333f5e895b2b7a1ef13b1c5d4273906d4a6861e24c99dd.yml
openapi_spec_hash: 6c2d47cd85674ece07dc37e471a36ac9
config_hash: 6299d85babc83b296c506e0e64fe2c0a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-bb6c9c76d967f92637fe23928eed8e2b72857607f7d633cd313edac2159251da.yml
openapi_spec_hash: 6ebbddf9d4240bc9dd02c40ba29fdbbc
config_hash: 397c91e15c0024f8b5bbed9b82c2348c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.2.0 (2026-05-25)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/onlyfansapi/onlyfansapi-ruby/compare/v0.1.0...v0.2.0)

### Features

* **api:** api update ([f8fef5a](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/f8fef5a3262dc9fe8d18830ee0029ceef897abfc))

## 0.1.0 (2026-05-25)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/onlyfansapi/onlyfansapi-ruby/compare/v0.0.1...v0.1.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
onlyfans (0.1.0)
onlyfans (0.2.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "onlyfans", "~> 0.1.0"
gem "onlyfans", "~> 0.2.0"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion lib/onlyfans/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Onlyfans
VERSION = "0.1.0"
VERSION = "0.2.0"
end
2 changes: 1 addition & 1 deletion test/onlyfans/resources/accounts_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_list
def test_disconnect
skip("Mock server tests are disabled")

response = @only_fans_api.accounts.disconnect("sed")
response = @only_fans_api.accounts.disconnect("molestiae")

assert_pattern do
response => ^(Onlyfans::Internal::Type::HashOf[Onlyfans::Internal::Type::Unknown])
Expand Down
3 changes: 1 addition & 2 deletions test/onlyfans/resources/engagement/messages_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ class Onlyfans::Test::Resources::Engagement::MessagesTest < Onlyfans::Test::Reso
def test_get_message_buyers_required_params
skip("Mock server tests are disabled")

response =
@only_fans_api.engagement.messages.get_message_buyers("voluptatem", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.engagement.messages.get_message_buyers("et", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::Engagement::MessageGetMessageBuyersResponse
Expand Down
4 changes: 2 additions & 2 deletions test/onlyfans/resources/media/vault/lists/media_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_add_required_params

response =
@only_fans_api.media.vault.lists.media.add(
"hic",
"quo",
account: "acct_XXXXXXXXXXXXXXX",
media_ids: ["string"]
)
Expand All @@ -30,7 +30,7 @@ def test_remove_required_params

response =
@only_fans_api.media.vault.lists.media.remove(
"hic",
"quo",
account: "acct_XXXXXXXXXXXXXXX",
media_ids: ["string"]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_enable_or_update_automatic_messaging_required_params
response =
@only_fans_api.saved_for_later.messages.settings.enable_or_update_automatic_messaging(
"acct_XXXXXXXXXXXXXXX",
period: 48
period: 24
)

assert_pattern do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_enable_or_update_automatic_posting_required_params
response =
@only_fans_api.saved_for_later.posts.settings.enable_or_update_automatic_posting(
"acct_XXXXXXXXXXXXXXX",
period: 24
period: 48
)

assert_pattern do
Expand Down
12 changes: 6 additions & 6 deletions test/onlyfans/resources/smart_links_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_delete
def test_list_clicks
skip("Mock server tests are disabled")

response = @only_fans_api.smart_links.list_clicks("illum")
response = @only_fans_api.smart_links.list_clicks("aperiam")

assert_pattern do
response => Onlyfans::Models::SmartLinkListClicksResponse
Expand All @@ -96,7 +96,7 @@ def test_list_clicks
def test_list_conversions
skip("Mock server tests are disabled")

response = @only_fans_api.smart_links.list_conversions("fugiat")
response = @only_fans_api.smart_links.list_conversions("sint")

assert_pattern do
response => Onlyfans::Models::SmartLinkListConversionsResponse
Expand All @@ -113,7 +113,7 @@ def test_list_conversions
def test_list_fans
skip("Mock server tests are disabled")

response = @only_fans_api.smart_links.list_fans("autem")
response = @only_fans_api.smart_links.list_fans("dolores")

assert_pattern do
response => Onlyfans::Models::SmartLinkListFansResponse
Expand All @@ -130,7 +130,7 @@ def test_list_fans
def test_list_spenders
skip("Mock server tests are disabled")

response = @only_fans_api.smart_links.list_spenders("cum")
response = @only_fans_api.smart_links.list_spenders("et")

assert_pattern do
response => Onlyfans::Models::SmartLinkListSpendersResponse
Expand All @@ -147,7 +147,7 @@ def test_list_spenders
def test_retrieve_cohort_arps
skip("Mock server tests are disabled")

response = @only_fans_api.smart_links.retrieve_cohort_arps("consequatur")
response = @only_fans_api.smart_links.retrieve_cohort_arps("laborum")

assert_pattern do
response => nil
Expand All @@ -157,7 +157,7 @@ def test_retrieve_cohort_arps
def test_retrieve_stats
skip("Mock server tests are disabled")

response = @only_fans_api.smart_links.retrieve_stats("et")
response = @only_fans_api.smart_links.retrieve_stats("minus")

assert_pattern do
response => Onlyfans::Models::SmartLinkRetrieveStatsResponse
Expand Down
4 changes: 2 additions & 2 deletions test/onlyfans/resources/stories/highlights_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_add_story_required_params

response =
@only_fans_api.stories.highlights.add_story(
"autem",
"dolorum",
account: "acct_XXXXXXXXXXXXXXX",
highlight_id: 1_234_567_890,
body_story_id: 2_345_678_901
Expand All @@ -129,7 +129,7 @@ def test_remove_story_required_params

response =
@only_fans_api.stories.highlights.remove_story(
"autem",
"dolorum",
account: "acct_XXXXXXXXXXXXXXX",
highlight_id: 1_234_567_890
)
Expand Down
8 changes: 4 additions & 4 deletions test/onlyfans/resources/tracking_links_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_create_required_params
def test_retrieve_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.tracking_links.retrieve("consectetur", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.tracking_links.retrieve("magnam", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::TrackingLinkRetrieveResponse
Expand Down Expand Up @@ -58,7 +58,7 @@ def test_list
def test_delete_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.tracking_links.delete("consectetur", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.tracking_links.delete("magnam", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::TrackingLinkDeleteResponse
Expand All @@ -75,7 +75,7 @@ def test_delete_required_params
def test_get_cohort_arps_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.tracking_links.get_cohort_arps("ratione", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.tracking_links.get_cohort_arps("aspernatur", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => nil
Expand All @@ -85,7 +85,7 @@ def test_get_cohort_arps_required_params
def test_get_stats_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.tracking_links.get_stats("reiciendis", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.tracking_links.get_stats("sapiente", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::TrackingLinkGetStatsResponse
Expand Down
11 changes: 6 additions & 5 deletions test/onlyfans/resources/trial_links_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_create_required_params
def test_retrieve_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.trial_links.retrieve("quisquam", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.trial_links.retrieve("non", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::TrialLinkRetrieveResponse
Expand Down Expand Up @@ -65,7 +65,7 @@ def test_list_required_params
def test_delete_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.trial_links.delete("quisquam", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.trial_links.delete("non", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::TrialLinkDeleteResponse
Expand Down Expand Up @@ -100,7 +100,7 @@ def test_list_subscribers_required_params
skip("Mock server tests are disabled")

response =
@only_fans_api.trial_links.list_subscribers("ut", account: "acct_XXXXXXXXXXXXXXX", limit: 10, offset: 0)
@only_fans_api.trial_links.list_subscribers("et", account: "acct_XXXXXXXXXXXXXXX", limit: 10, offset: 0)

assert_pattern do
response => Onlyfans::Models::TrialLinkListSubscribersResponse
Expand All @@ -117,7 +117,8 @@ def test_list_subscribers_required_params
def test_retrieve_cohort_arps_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.trial_links.retrieve_cohort_arps("sapiente", account: "acct_XXXXXXXXXXXXXXX")
response =
@only_fans_api.trial_links.retrieve_cohort_arps("necessitatibus", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => nil
Expand All @@ -127,7 +128,7 @@ def test_retrieve_cohort_arps_required_params
def test_retrieve_stats_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.trial_links.retrieve_stats("esse", account: "acct_XXXXXXXXXXXXXXX")
response = @only_fans_api.trial_links.retrieve_stats("accusantium", account: "acct_XXXXXXXXXXXXXXX")

assert_pattern do
response => Onlyfans::Models::TrialLinkRetrieveStatsResponse
Expand Down
2 changes: 1 addition & 1 deletion test/onlyfans/resources/user_lists_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Onlyfans::Test::Resources::UserListsTest < Onlyfans::Test::ResourceTest
def test_create_required_params
skip("Mock server tests are disabled")

response = @only_fans_api.user_lists.create("acct_XXXXXXXXXXXXXXX", name: "qrruxylgb")
response = @only_fans_api.user_lists.create("acct_XXXXXXXXXXXXXXX", name: "xiu")

assert_pattern do
response => Onlyfans::Models::UserListCreateResponse
Expand Down