Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a25ff50
ci: pin GitHub Actions to commit SHAs
stainless-app[bot] May 12, 2026
341bae2
feat(api): api update
stainless-app[bot] May 13, 2026
cdbeba1
feat(api): api update
stainless-app[bot] May 13, 2026
2dff73b
feat(api): manual updates
stainless-app[bot] May 13, 2026
c4595d0
codegen metadata
stainless-app[bot] May 13, 2026
8debdf1
feat(api): api update
stainless-app[bot] May 13, 2026
d6080a2
feat(api): api update
stainless-app[bot] May 13, 2026
686383a
feat(api): api update
stainless-app[bot] May 13, 2026
4329164
feat(api): api update
stainless-app[bot] May 14, 2026
f24dd5c
feat(api): api update
stainless-app[bot] May 14, 2026
8e5d685
codegen metadata
stainless-app[bot] May 14, 2026
f7f9255
feat(api): api update
stainless-app[bot] May 14, 2026
8354e1a
codegen metadata
stainless-app[bot] May 20, 2026
3c0baac
codegen metadata
stainless-app[bot] May 20, 2026
597a090
feat(api): api update
stainless-app[bot] May 21, 2026
c7294ac
feat(api): api update
stainless-app[bot] May 22, 2026
8b77ab7
feat(api): api update
stainless-app[bot] May 26, 2026
913de98
feat(api): api update
stainless-app[bot] May 28, 2026
85493fd
feat(api): api update
stainless-app[bot] May 28, 2026
823ecf8
feat(api): api update
stainless-app[bot] May 28, 2026
8adb36a
feat(api): api update
stainless-app[bot] May 29, 2026
0169f92
feat(api): api update
stainless-app[bot] May 30, 2026
e636402
feat(api): api update
stainless-app[bot] Jun 2, 2026
0c523da
feat(api): api update
stainless-app[bot] Jun 2, 2026
aabbd66
codegen metadata
stainless-app[bot] Jun 2, 2026
2824f6f
feat(api): api update
stainless-app[bot] Jun 3, 2026
9a00732
release: 0.1.0
stainless-app[bot] Jun 3, 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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install Rye
run: |
Expand All @@ -46,7 +46,7 @@ jobs:
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install Rye
run: |
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/whopsdk-python'
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -83,7 +83,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/whopsdk-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install Rye
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install Rye
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'whopio/whopsdk-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
Expand Down
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.0.39"
".": "0.1.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 212
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc/whopsdk-da82dade0c316b9abd0320bf7b1b5f3472c265106a1c53ffbb78611eacc16617.yml
openapi_spec_hash: 2454acce3b15eaed1c5ad8554c0d4a2e
config_hash: b4bea15093f9a57475d1d98f9b8464ca
configured_endpoints: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc/whopsdk-2f6fb8975a8f71ddff45d143457967d3c81216ecfbed87c284640d9320735867.yml
openapi_spec_hash: 4d88b005bfc18d2c99da28436762878c
config_hash: 64788a41b95ec090d1222da96d7c46d4
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 0.1.0 (2026-06-03)

Full Changelog: [v0.0.39...v0.1.0](https://github.com/whopio/whopsdk-python/compare/v0.0.39...v0.1.0)

### Features

* **api:** api update ([2824f6f](https://github.com/whopio/whopsdk-python/commit/2824f6f616aad372305b13dc3479654a4094f306))
* **api:** api update ([0c523da](https://github.com/whopio/whopsdk-python/commit/0c523da500e565bdbe035ba0c11445a1a9df796d))
* **api:** api update ([e636402](https://github.com/whopio/whopsdk-python/commit/e6364028497a94ee826534633ddf062fa465137c))
* **api:** api update ([0169f92](https://github.com/whopio/whopsdk-python/commit/0169f927639a8dab1694e2ce2214f5cef91e188e))
* **api:** api update ([8adb36a](https://github.com/whopio/whopsdk-python/commit/8adb36a673e6bd682fbf7021c99f67177f6763c9))
* **api:** api update ([823ecf8](https://github.com/whopio/whopsdk-python/commit/823ecf824ece6a1a926735aadff34d64f4dbe967))
* **api:** api update ([85493fd](https://github.com/whopio/whopsdk-python/commit/85493fd01ff33ff61a9ab33bb79dd08fb706a68e))
* **api:** api update ([913de98](https://github.com/whopio/whopsdk-python/commit/913de98597cac01ec4e568612466d79f54abbe7c))
* **api:** api update ([8b77ab7](https://github.com/whopio/whopsdk-python/commit/8b77ab7c32d9a8a50d1fe0553904fe9bd333dee8))
* **api:** api update ([c7294ac](https://github.com/whopio/whopsdk-python/commit/c7294ac3e04ac62a4d1d72c88162d490533aceaf))
* **api:** api update ([597a090](https://github.com/whopio/whopsdk-python/commit/597a090c3b9fb3d0c0bcbd2651cd6ed844a531dc))
* **api:** api update ([f7f9255](https://github.com/whopio/whopsdk-python/commit/f7f92557d76ebcc308c7391784e5274da99dd4ca))
* **api:** api update ([f24dd5c](https://github.com/whopio/whopsdk-python/commit/f24dd5c1ce252c81c6194563ed0f06146e0723fa))
* **api:** api update ([4329164](https://github.com/whopio/whopsdk-python/commit/4329164d5d23c20362ee2dad2cab182a2637b449))
* **api:** api update ([686383a](https://github.com/whopio/whopsdk-python/commit/686383a7a800fdcd2df43f64145d6ef0ab377406))
* **api:** api update ([d6080a2](https://github.com/whopio/whopsdk-python/commit/d6080a2aff41da44fab43334f3279d8f08a26a70))
* **api:** api update ([8debdf1](https://github.com/whopio/whopsdk-python/commit/8debdf1e3c142c5c2421351378e54c6379e49b39))
* **api:** api update ([cdbeba1](https://github.com/whopio/whopsdk-python/commit/cdbeba15f45931f55299108192063c18f3afc17e))
* **api:** api update ([341bae2](https://github.com/whopio/whopsdk-python/commit/341bae28098d3a4561569ff89a599baf85d25717))
* **api:** manual updates ([2dff73b](https://github.com/whopio/whopsdk-python/commit/2dff73ba93aa8e9108c0f1fece5ca322246095e0))

## 0.0.39 (2026-05-12)

Full Changelog: [v0.0.38...v0.0.39](https://github.com/whopio/whopsdk-python/compare/v0.0.38...v0.0.39)
Expand Down
41 changes: 22 additions & 19 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ from whop_sdk.types import (
CourseLessonInteractionCompletedWebhookEvent,
PayoutMethodCreatedWebhookEvent,
VerificationSucceededWebhookEvent,
IdentityProfileApprovedWebhookEvent,
IdentityProfileRejectedWebhookEvent,
IdentityProfileNeedsActionWebhookEvent,
IdentityProfileUpdatedWebhookEvent,
PayoutAccountStatusUpdatedWebhookEvent,
ResolutionCenterCaseCreatedWebhookEvent,
ResolutionCenterCaseUpdatedWebhookEvent,
Expand Down Expand Up @@ -811,7 +815,7 @@ Methods:
Types:

```python
from whop_sdk.types import UploadStatus, FileCreateResponse, FileRetrieveResponse
from whop_sdk.types import FileVisibility, UploadStatus, FileCreateResponse, FileRetrieveResponse
```

Methods:
Expand Down Expand Up @@ -1005,55 +1009,54 @@ Methods:
Types:

```python
from whop_sdk.types import (
AdCampaignRetrieveResponse,
AdCampaignUpdateResponse,
AdCampaignListResponse,
AdCampaignPauseResponse,
AdCampaignUnpauseResponse,
)
from whop_sdk.types import AdCampaign, AdCampaignPlatform, AdCampaignStatus, AdCampaignListResponse
```

Methods:

- <code title="get /ad_campaigns/{id}">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/ad_campaign_retrieve_response.py">AdCampaignRetrieveResponse</a></code>
- <code title="patch /ad_campaigns/{id}">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">update</a>(id, \*\*<a href="src/whop_sdk/types/ad_campaign_update_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_campaign_update_response.py">AdCampaignUpdateResponse</a></code>
- <code title="get /ad_campaigns/{id}">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/ad_campaign.py">AdCampaign</a></code>
- <code title="patch /ad_campaigns/{id}">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">update</a>(id, \*\*<a href="src/whop_sdk/types/ad_campaign_update_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_campaign.py">AdCampaign</a></code>
- <code title="get /ad_campaigns">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">list</a>(\*\*<a href="src/whop_sdk/types/ad_campaign_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_campaign_list_response.py">SyncCursorPage[AdCampaignListResponse]</a></code>
- <code title="post /ad_campaigns/{id}/pause">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">pause</a>(id) -> <a href="./src/whop_sdk/types/ad_campaign_pause_response.py">AdCampaignPauseResponse</a></code>
- <code title="post /ad_campaigns/{id}/unpause">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">unpause</a>(id) -> <a href="./src/whop_sdk/types/ad_campaign_unpause_response.py">AdCampaignUnpauseResponse</a></code>
- <code title="post /ad_campaigns/{id}/pause">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">pause</a>(id) -> <a href="./src/whop_sdk/types/ad_campaign.py">AdCampaign</a></code>
- <code title="post /ad_campaigns/{id}/unpause">client.ad_campaigns.<a href="./src/whop_sdk/resources/ad_campaigns.py">unpause</a>(id) -> <a href="./src/whop_sdk/types/ad_campaign.py">AdCampaign</a></code>

# AdGroups

Types:

```python
from whop_sdk.types import (
AdGroupRetrieveResponse,
AdGroupUpdateResponse,
AdBudgetType,
AdGroup,
AdGroupStatus,
AdGroupListResponse,
AdGroupDeleteResponse,
)
```

Methods:

- <code title="get /ad_groups/{id}">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/ad_group_retrieve_response.py">AdGroupRetrieveResponse</a></code>
- <code title="patch /ad_groups/{id}">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">update</a>(id, \*\*<a href="src/whop_sdk/types/ad_group_update_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_group_update_response.py">AdGroupUpdateResponse</a></code>
- <code title="get /ad_groups/{id}">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/ad_group.py">AdGroup</a></code>
- <code title="patch /ad_groups/{id}">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">update</a>(id, \*\*<a href="src/whop_sdk/types/ad_group_update_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_group.py">AdGroup</a></code>
- <code title="get /ad_groups">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">list</a>(\*\*<a href="src/whop_sdk/types/ad_group_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_group_list_response.py">SyncCursorPage[AdGroupListResponse]</a></code>
- <code title="delete /ad_groups/{id}">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">delete</a>(id) -> <a href="./src/whop_sdk/types/ad_group_delete_response.py">AdGroupDeleteResponse</a></code>
- <code title="post /ad_groups/{id}/pause">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">pause</a>(id) -> <a href="./src/whop_sdk/types/ad_group.py">AdGroup</a></code>
- <code title="post /ad_groups/{id}/unpause">client.ad_groups.<a href="./src/whop_sdk/resources/ad_groups.py">unpause</a>(id) -> <a href="./src/whop_sdk/types/ad_group.py">AdGroup</a></code>

# Ads

Types:

```python
from whop_sdk.types import AdRetrieveResponse, AdListResponse
from whop_sdk.types import Ad, ExternalAdStatus, AdListResponse
```

Methods:

- <code title="get /ads/{id}">client.ads.<a href="./src/whop_sdk/resources/ads.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/ad_retrieve_response.py">AdRetrieveResponse</a></code>
- <code title="get /ads/{id}">client.ads.<a href="./src/whop_sdk/resources/ads.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/ad.py">Ad</a></code>
- <code title="get /ads">client.ads.<a href="./src/whop_sdk/resources/ads.py">list</a>(\*\*<a href="src/whop_sdk/types/ad_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/ad_list_response.py">SyncCursorPage[AdListResponse]</a></code>
- <code title="post /ads/{id}/pause">client.ads.<a href="./src/whop_sdk/resources/ads.py">pause</a>(id) -> <a href="./src/whop_sdk/types/ad.py">Ad</a></code>
- <code title="post /ads/{id}/unpause">client.ads.<a href="./src/whop_sdk/resources/ads.py">unpause</a>(id) -> <a href="./src/whop_sdk/types/ad.py">Ad</a></code>

# Conversions

Expand All @@ -1072,7 +1075,7 @@ Methods:
Types:

```python
from whop_sdk.types import AdReportRetrieveResponse
from whop_sdk.types import Granularities, ResultLabelKeys, AdReportRetrieveResponse
```

Methods:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "whop-sdk"
version = "0.0.39"
version = "0.1.0"
description = "The official Python library for the Whop API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/whop_sdk/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "whop_sdk"
__version__ = "0.0.39" # x-release-please-version
__version__ = "0.1.0" # x-release-please-version
Loading
Loading