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
44 changes: 4 additions & 40 deletions .claude/skills/gumlet-python-sdk/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,9 @@ client = Gumlet(

video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)

print(video_asset)
Expand All @@ -80,27 +62,9 @@ from gumlet import APIStatusError
try:
video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)
except APIStatusError as err:
print(err.status_code, err.message)
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 @@
{
".": "1.0.2"
".": "1.0.4"
}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [1.0.4](https://github.com/gumlet/python-sdk/compare/v1.0.2...v1.0.4) (2026-09-21)


### ⚠ BREAKING CHANGES

* **api:** 2 breaking changes to the SDK surface.
- Added required body field `workspace_id` to `videoAssets.create`.
- Removed body field `collection_id` from `videoAssets.create`.

### Features

* **api:** update SDK surface (2 changes) ([6df7d37](https://github.com/gumlet/python-sdk/commit/6df7d37ce176c7953e00a5abb7d0cb926338764e))


### Chores

* **api:** update generated SDK content ([05aee94](https://github.com/gumlet/python-sdk/commit/05aee9405ac0fb7e03a0d9da89ac08c072552842))
* release 1.0.4 ([9413867](https://github.com/gumlet/python-sdk/commit/94138671b8c19e1756d9ff4edf636d8539aa1684))
* release 1.0.4 ([185bd62](https://github.com/gumlet/python-sdk/commit/185bd626d99028b521bf5d612390fdcf238d4159))

## [1.0.2](https://github.com/gumlet/python-sdk/compare/v1.0.1...v1.0.2) (2026-09-21)


Expand Down
68 changes: 6 additions & 62 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,9 @@ client = Gumlet(

video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)

print(video_asset)
Expand All @@ -89,27 +71,9 @@ async def main() -> None:
client = AsyncGumlet()
video_asset = await client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)


Expand Down Expand Up @@ -142,27 +106,9 @@ from gumlet import APIStatusError
try:
video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)
except APIStatusError as err:
print(err.status_code, err.message)
Expand Down Expand Up @@ -220,5 +166,3 @@ Generated clients support request timeouts and retry temporary failures such as
## Requirements

- Python 3.8 or newer

Powered by Scalar.
44 changes: 4 additions & 40 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,9 @@ client = Gumlet(

video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)

print(video_asset)
Expand All @@ -80,27 +62,9 @@ from gumlet import APIStatusError
try:
video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)
except APIStatusError as err:
print(err.status_code, err.message)
Expand Down
22 changes: 2 additions & 20 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,27 +145,9 @@ An asset refers to a media content/video that is processed, stored, and delivere
```python
video_asset = client.video_assets.create(
input="http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8",
collection_id="646df1c9173a4a2fcac180b4",
profile_id="646df1c9173a4a2fcac180b7",
format="ABR",
tag=["ball"],
description="some description",
metadata={"headermeta": "metavalue"},
call_to_actions=[
{
"start_time": 1,
"end_time": 90,
"text": "some test",
"url": "https://some-url.com",
"position_from_top": 11,
"position_from_right": 23,
"border_radius": "11",
"font_color": "#000001",
"background_color": "#ffffff",
}
],
playlist_id="6597acd5ed6f26a9c5ca9633",
folder="697375fbfa2d1037283140e4",
title="Example Title",
workspace_id="<your workspace id>",
)
```

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 = "gumlet"
version = "1.0.2" # x-release-please-version
version = "1.0.4" # x-release-please-version
description = "Gumlet helps developers deliver online video and images. This API encompasses Gumlet Video, Image and Video Analytics functionality to help you build your products better and faster than ever before."
readme = "README.md"
license = "Apache-2.0"
Expand Down
16 changes: 8 additions & 8 deletions scalar-sdk.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
"publicHeaderParams": [],
"bodyParams": [
"input",
"collection_id",
"profile_id",
"format",
"tag",
Expand All @@ -114,11 +113,11 @@
"enable_drm",
"call_to_actions",
"playlist_id",
"folder"
"folder",
"workspace_id"
],
"publicBodyParams": [
"input",
"collection_id",
"profile_id",
"format",
"tag",
Expand All @@ -143,17 +142,14 @@
"enable_drm",
"call_to_actions",
"playlist_id",
"folder"
"folder",
"workspace_id"
],
"bodyParamDetails": [
{
"name": "input",
"required": true
},
{
"name": "collection_id",
"required": true
},
{
"name": "profile_id",
"required": false
Expand Down Expand Up @@ -253,6 +249,10 @@
{
"name": "folder",
"required": false
},
{
"name": "workspace_id",
"required": true
}
],
"pathParamDetails": [],
Expand Down
2 changes: 1 addition & 1 deletion src/gumlet/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Scalar. See README.md for details.

__title__ = "gumlet"
__version__ = "1.0.2" # x-release-please-version
__version__ = "1.0.4" # x-release-please-version
Loading
Loading