Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1980ebe
feat(api): api update
stainless-app[bot] May 25, 2026
be61973
feat(api): api update
stainless-app[bot] May 25, 2026
8b6b6a1
feat(api): api update
stainless-app[bot] May 25, 2026
8e3f41a
feat(api): api update
stainless-app[bot] May 26, 2026
231c428
feat(api): api update
stainless-app[bot] May 26, 2026
5e0dfb2
feat(api): api update
stainless-app[bot] May 26, 2026
94c5355
feat(api): api update
stainless-app[bot] May 26, 2026
501f426
feat(api): api update
stainless-app[bot] May 27, 2026
0a52056
feat(api): api update
stainless-app[bot] May 27, 2026
192ab69
feat(api): api update
stainless-app[bot] May 27, 2026
deff141
feat(api): api update
stainless-app[bot] May 27, 2026
5b2ac7b
feat(api): api update
stainless-app[bot] May 27, 2026
ab1c889
feat(api): api update
stainless-app[bot] May 27, 2026
141f257
feat(api): api update
stainless-app[bot] May 28, 2026
26475cd
feat(api): api update
stainless-app[bot] May 29, 2026
52a55ae
feat(api): api update
stainless-app[bot] Jun 1, 2026
cbc9d88
feat(api): api update
stainless-app[bot] Jun 2, 2026
92899b2
feat(api): api update
stainless-app[bot] Jun 2, 2026
0356380
feat(api): api update
stainless-app[bot] Jun 3, 2026
e9db188
feat(api): api update
stainless-app[bot] Jun 4, 2026
f22f8ef
feat(api): api update
stainless-app[bot] Jun 4, 2026
efdea3b
feat(api): api update
stainless-app[bot] Jun 4, 2026
7f28b90
feat(api): api update
stainless-app[bot] Jun 5, 2026
59b720e
feat(api): api update
stainless-app[bot] Jun 5, 2026
196af8c
feat(api): api update
stainless-app[bot] Jun 5, 2026
44e78c1
codegen metadata
stainless-app[bot] Jun 5, 2026
d0f1e1b
codegen metadata
stainless-app[bot] Jun 5, 2026
60925a0
feat(api): api update
stainless-app[bot] Jun 5, 2026
ee2c0ca
feat(api): api update
stainless-app[bot] Jun 5, 2026
8b4369d
feat(api): api update
stainless-app[bot] Jun 6, 2026
9c0416e
feat(api): api update
stainless-app[bot] Jun 8, 2026
206d9b8
feat(api): api update
stainless-app[bot] Jun 9, 2026
e730bd1
feat(api): api update
stainless-app[bot] Jun 9, 2026
aaf95d7
feat(api): api update
stainless-app[bot] Jun 9, 2026
01a46c6
feat(api): api update
stainless-app[bot] Jun 9, 2026
5de9c43
feat(api): api update
stainless-app[bot] Jun 11, 2026
ee42afe
feat(api): api update
stainless-app[bot] Jun 11, 2026
bbbb279
feat(api): api update
stainless-app[bot] Jun 11, 2026
a3aa7f5
feat(api): api update
stainless-app[bot] Jun 11, 2026
761278f
feat(api): api update
stainless-app[bot] Jun 12, 2026
5c57dd0
feat(api): api update
stainless-app[bot] Jun 12, 2026
afe6f6c
feat(api): api update
stainless-app[bot] Jun 12, 2026
d83ad90
feat(api): api update
stainless-app[bot] Jun 12, 2026
fc76e11
feat(api): api update
stainless-app[bot] Jun 12, 2026
92378ee
feat(api): api update
stainless-app[bot] Jun 12, 2026
10e67de
feat(api): api update
stainless-app[bot] Jun 12, 2026
25b3558
feat(api): api update
stainless-app[bot] Jun 14, 2026
94cf329
feat(api): api update
stainless-app[bot] Jun 14, 2026
d654a29
release: 0.3.0
stainless-app[bot] Jun 14, 2026
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.2.0"
".": "0.3.0"
}
4 changes: 2 additions & 2 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-bb6c9c76d967f92637fe23928eed8e2b72857607f7d633cd313edac2159251da.yml
openapi_spec_hash: 6ebbddf9d4240bc9dd02c40ba29fdbbc
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/onlyfansapi/onlyfansapi-dc4af76400591eade1cc1740973c24d9069d50b7d16619ec8cf6a633cf240888.yml
openapi_spec_hash: 935a3c6ddcb27902f5d0919b243f2c08
config_hash: 397c91e15c0024f8b5bbed9b82c2348c
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# Changelog

## 0.3.0 (2026-06-14)

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

### Features

* **api:** api update ([94cf329](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/94cf32971cf9f6961183cc2df4d9cb1cb640c2af))
* **api:** api update ([25b3558](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/25b3558217a4cd23d0130061437b16761750b404))
* **api:** api update ([10e67de](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/10e67dec06d287f74e2a8d1a1eaaa999df091111))
* **api:** api update ([92378ee](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/92378eeedf7d2299e35ebde8e38d11acfa1846e5))
* **api:** api update ([fc76e11](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/fc76e116f4a8ff8a42c64217e56297e143fc9a6d))
* **api:** api update ([d83ad90](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/d83ad901c84ef1bb99a9271656f6d3a62bc07d20))
* **api:** api update ([afe6f6c](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/afe6f6ca9fcdd6fe10f230bc482574e8e5ca08c4))
* **api:** api update ([5c57dd0](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/5c57dd071c1dbb90f89e94ba3f6ab4b27c8fb91c))
* **api:** api update ([761278f](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/761278f775b3c1d22833d6e7eba373cbc570f9c4))
* **api:** api update ([a3aa7f5](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/a3aa7f5c0d8d44b18cbe14556994b0bebe8ffd76))
* **api:** api update ([bbbb279](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/bbbb279735b6571cd5c42071d30ee228f682f1ff))
* **api:** api update ([ee42afe](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/ee42afeb16f4f13c8e4c313c55b3cfa0434d0320))
* **api:** api update ([5de9c43](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/5de9c4329fa0d03dca63f8a0ac859f713d44922c))
* **api:** api update ([01a46c6](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/01a46c667852034e7c9c1d8bd2aaa12561daf22a))
* **api:** api update ([aaf95d7](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/aaf95d7f70056c8883a6a82683a64dff25461fa6))
* **api:** api update ([e730bd1](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/e730bd1e88ce9f61780bb277c091ccaf3205c0ba))
* **api:** api update ([206d9b8](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/206d9b8a2272fb4c5e8b56e8751add0b4415f73a))
* **api:** api update ([9c0416e](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/9c0416ee59b152e3429d2afe982bfb21a02b024a))
* **api:** api update ([8b4369d](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/8b4369de6244e1ea790e3648f5a1cb9c007cfd87))
* **api:** api update ([ee2c0ca](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/ee2c0caabb42258992f75a0e5c04fb498699502c))
* **api:** api update ([60925a0](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/60925a0d7dcbad0b755c3a171726c594e1672d3c))
* **api:** api update ([196af8c](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/196af8c90835f50cf58d9ddecf05fe861ba4259e))
* **api:** api update ([59b720e](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/59b720e1a245ed006d711f49898c8d1a1607e246))
* **api:** api update ([7f28b90](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/7f28b90d83758f6648f3ce511837e69ca023e868))
* **api:** api update ([efdea3b](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/efdea3bfe743e552326a6588be1a309d0b6e06a4))
* **api:** api update ([f22f8ef](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/f22f8ef08294702904f11cc7f546f96d9e1f90af))
* **api:** api update ([e9db188](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/e9db18891e6a61cb89ebc76dec9867a360b0eca2))
* **api:** api update ([0356380](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/0356380f15e0dce83f8307a2c4506412f0724a7e))
* **api:** api update ([92899b2](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/92899b2b377fcd1f28af038db76df0a8a8778500))
* **api:** api update ([cbc9d88](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/cbc9d881ab00f39d5aef659cc5969109ee4ba338))
* **api:** api update ([52a55ae](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/52a55ae65af5d2f72b732292d45c1f8b8e71ce10))
* **api:** api update ([26475cd](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/26475cd17b9b4e66e01deefa99cc2d896dd8a4b2))
* **api:** api update ([141f257](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/141f2576a165ae37876baf7b20268bfefd386823))
* **api:** api update ([ab1c889](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/ab1c889b7be046c7d401b9f6a44172690b95dc25))
* **api:** api update ([5b2ac7b](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/5b2ac7be16634612cfc763f5336621e6dbcf7051))
* **api:** api update ([deff141](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/deff141d025e3cd6be0204da8ebe04b528fb6811))
* **api:** api update ([192ab69](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/192ab6949cbdbb981f2facdfb47a578b0e85ad5e))
* **api:** api update ([0a52056](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/0a52056aca870ec16c2d1075811032ee72ae60b8))
* **api:** api update ([501f426](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/501f426c6048bf84d8c1f3ccf1cdf6642b1c1d39))
* **api:** api update ([94c5355](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/94c535528bc788ed61e217a06ad7d95282b8ac28))
* **api:** api update ([5e0dfb2](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/5e0dfb2a6ddcddcd8511925e9950195a32f1db86))
* **api:** api update ([231c428](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/231c4285eb57bb5e8cb2f6e8feb7919518c0bc88))
* **api:** api update ([8e3f41a](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/8e3f41a242c2ceb06cbd617f719f0eb532a62a44))
* **api:** api update ([8b6b6a1](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/8b6b6a117f158496c90ed5f5a4502bff0a0d4941))
* **api:** api update ([be61973](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/be61973f54b73a4b19b9153ea80bc89895b3c37c))
* **api:** api update ([1980ebe](https://github.com/onlyfansapi/onlyfansapi-ruby/commit/1980ebed9dc210db3f52601f5829504e71384ead))

## 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)
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.2.0)
onlyfans (0.3.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.2.0"
gem "onlyfans", "~> 0.3.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 0 additions & 1 deletion lib/onlyfans.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@
require_relative "onlyfans/models/media/vault_upload_params"
require_relative "onlyfans/models/media/vault_upload_response"
require_relative "onlyfans/models/media_download_params"
require_relative "onlyfans/models/media_download_response"
require_relative "onlyfans/models/media_scrape_params"
require_relative "onlyfans/models/media_scrape_response"
require_relative "onlyfans/models/media_upload_params"
Expand Down
2 changes: 1 addition & 1 deletion lib/onlyfans/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Client < Onlyfans::Internal::Transport::BaseClient
# @return [Onlyfans::Resources::Giphy]
attr_reader :giphy

# APIs for managing tags on free trial links and tracking links
# APIs for managing tags on free trial links, tracking links, and Smart Links
# @return [Onlyfans::Resources::LinkTags]
attr_reader :link_tags

Expand Down
8 changes: 7 additions & 1 deletion lib/onlyfans/models/data_export_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ class Data < Onlyfans::Internal::Type::BaseModel
# @return [String, nil]
optional :failed_at, String, nil?: true

# @!attribute failed_downloads
#
# @return [Integer, nil]
optional :failed_downloads, Integer

# @!attribute failed_reason
#
# @return [String, nil]
Expand Down Expand Up @@ -225,7 +230,7 @@ class Data < Onlyfans::Internal::Type::BaseModel
# @return [String, nil]
optional :type, String

# @!method initialize(id: nil, accounts: nil, completed_at: nil, created_at: nil, credit_cost: nil, download_url: nil, download_url_expires_at: nil, end_date: nil, export_columns: nil, failed_at: nil, failed_reason: nil, file_type: nil, progress_percentage: nil, rows_processed: nil, start_date: nil, status: nil, total_rows: nil, type: nil)
# @!method initialize(id: nil, accounts: nil, completed_at: nil, created_at: nil, credit_cost: nil, download_url: nil, download_url_expires_at: nil, end_date: nil, export_columns: nil, failed_at: nil, failed_downloads: nil, failed_reason: nil, file_type: nil, progress_percentage: nil, rows_processed: nil, start_date: nil, status: nil, total_rows: nil, type: nil)
# @param id [String]
# @param accounts [Array<Onlyfans::Models::DataExportListResponse::Data::Data::Account>]
# @param completed_at [String]
Expand All @@ -236,6 +241,7 @@ class Data < Onlyfans::Internal::Type::BaseModel
# @param end_date [String]
# @param export_columns [Array<String>]
# @param failed_at [String, nil]
# @param failed_downloads [Integer]
# @param failed_reason [String, nil]
# @param file_type [String]
# @param progress_percentage [Integer]
Expand Down
8 changes: 7 additions & 1 deletion lib/onlyfans/models/data_export_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ class Data < Onlyfans::Internal::Type::BaseModel
# @return [String, nil]
optional :failed_at, String, nil?: true

# @!attribute failed_downloads
#
# @return [Integer, nil]
optional :failed_downloads, Integer

# @!attribute failed_reason
#
# @return [String, nil]
Expand Down Expand Up @@ -199,7 +204,7 @@ class Data < Onlyfans::Internal::Type::BaseModel
# @return [String, nil]
optional :type, String

# @!method initialize(id: nil, accounts: nil, completed_at: nil, created_at: nil, credit_cost: nil, end_date: nil, export_columns: nil, failed_at: nil, failed_reason: nil, file_type: nil, progress_percentage: nil, rows_processed: nil, start_date: nil, status: nil, total_rows: nil, type: nil)
# @!method initialize(id: nil, accounts: nil, completed_at: nil, created_at: nil, credit_cost: nil, end_date: nil, export_columns: nil, failed_at: nil, failed_downloads: nil, failed_reason: nil, file_type: nil, progress_percentage: nil, rows_processed: nil, start_date: nil, status: nil, total_rows: nil, type: nil)
# @param id [String]
# @param accounts [Array<Onlyfans::Models::DataExportRetrieveResponse::Data::Account>]
# @param completed_at [String, nil]
Expand All @@ -208,6 +213,7 @@ class Data < Onlyfans::Internal::Type::BaseModel
# @param end_date [String]
# @param export_columns [Array<String>]
# @param failed_at [String, nil]
# @param failed_downloads [Integer]
# @param failed_reason [String, nil]
# @param file_type [String]
# @param progress_percentage [Integer]
Expand Down
7 changes: 4 additions & 3 deletions lib/onlyfans/models/link_tag_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,23 @@ class LinkTagListParams < Onlyfans::Internal::Type::BaseModel
include Onlyfans::Internal::Type::RequestParameters

# @!attribute type
# Filter by link type. If not provided, returns tags for both types.
# Filter by link type. If not provided, returns tags for all types.
#
# @return [Symbol, Onlyfans::Models::LinkTagListParams::Type, nil]
optional :type, enum: -> { Onlyfans::LinkTagListParams::Type }

# @!method initialize(type: nil, request_options: {})
# @param type [Symbol, Onlyfans::Models::LinkTagListParams::Type] Filter by link type. If not provided, returns tags for both types.
# @param type [Symbol, Onlyfans::Models::LinkTagListParams::Type] Filter by link type. If not provided, returns tags for all types.
#
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]

# Filter by link type. If not provided, returns tags for both types.
# Filter by link type. If not provided, returns tags for all types.
module Type
extend Onlyfans::Internal::Type::Enum

TRIAL_LINKS = :trial_links
TRACKING_LINKS = :tracking_links
SMART_LINKS = :smart_links

# @!method self.values
# @return [Array<Symbol>]
Expand Down
12 changes: 11 additions & 1 deletion lib/onlyfans/models/media/vault/list_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,19 @@ class ListUpdateParams < Onlyfans::Internal::Type::BaseModel
# @return [String]
required :list_id, String

# @!method initialize(account:, list_id:, request_options: {})
# @!attribute name
# The new name for the vault list. Must not be greater than 255 characters.
#
# @return [String]
required :name, String

# @!method initialize(account:, list_id:, name:, request_options: {})
# @param account [String]
#
# @param list_id [String]
#
# @param name [String] The new name for the vault list. Must not be greater than 255 characters.
#
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]
end
end
Expand Down
7 changes: 0 additions & 7 deletions lib/onlyfans/models/media_download_response.rb

This file was deleted.

32 changes: 29 additions & 3 deletions lib/onlyfans/models/smart_link_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ class SmartLinkListParams < Onlyfans::Internal::Type::BaseModel
# @return [String, nil]
optional :account_ids, String, nil?: true

# @!attribute filter
#
# @return [Onlyfans::Models::SmartLinkListParams::Filter, nil]
optional :filter, -> { Onlyfans::SmartLinkListParams::Filter }

# @!attribute limit
# The number of Smart Links to return. Default `50`. Must be at least 1. Must not
# be greater than 1000.
Expand All @@ -21,7 +26,7 @@ class SmartLinkListParams < Onlyfans::Internal::Type::BaseModel
optional :limit, Integer

# @!attribute meta_pixel_ids
# Comma-separated Meta Pixel IDs to include.
# Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include.
#
# @return [String, nil]
optional :meta_pixel_ids, String, nil?: true
Expand All @@ -38,21 +43,42 @@ class SmartLinkListParams < Onlyfans::Internal::Type::BaseModel
# @return [Integer, nil]
optional :offset, Integer

# @!method initialize(account_ids: nil, limit: nil, meta_pixel_ids: nil, name: nil, offset: nil, request_options: {})
# @!attribute pixel_ids
# Comma-separated ad platform Pixel IDs to include.
#
# @return [String, nil]
optional :pixel_ids, String, nil?: true

# @!method initialize(account_ids: nil, filter: nil, limit: nil, meta_pixel_ids: nil, name: nil, offset: nil, pixel_ids: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Onlyfans::Models::SmartLinkListParams} for more details.
#
# @param account_ids [String, nil] Comma-separated account prefixed IDs to include.
#
# @param filter [Onlyfans::Models::SmartLinkListParams::Filter]
#
# @param limit [Integer] The number of Smart Links to return. Default `50`. Must be at least 1. Must not
#
# @param meta_pixel_ids [String, nil] Comma-separated Meta Pixel IDs to include.
# @param meta_pixel_ids [String, nil] Deprecated alias for `pixel_ids`. Comma-separated Pixel IDs to include.
#
# @param name [String, nil] Filter Smart Links by name. Must not be greater than 255 characters.
#
# @param offset [Integer] The offset used for pagination. Default `0`. Must be at least 0.
#
# @param pixel_ids [String, nil] Comma-separated ad platform Pixel IDs to include.
#
# @param request_options [Onlyfans::RequestOptions, Hash{Symbol=>Object}]

class Filter < Onlyfans::Internal::Type::BaseModel
# @!attribute tags
# Must not be greater than 50 characters.
#
# @return [Array<String>, nil]
optional :tags, Onlyfans::Internal::Type::ArrayOf[String]

# @!method initialize(tags: nil)
# @param tags [Array<String>] Must not be greater than 50 characters.
end
end
end
end
Loading