Gameclips provider¶
Gameclips - Get gameclip info
pythonxbox.api.provider.gameclips.GameclipProvider(client)
¶
Bases: BaseProvider
Source code in src/pythonxbox/api/provider/baseprovider.py
GAMECLIPS_METADATA_URL = 'https://gameclipsmetadata.xboxlive.com'
class-attribute
instance-attribute
¶
HEADERS_GAMECLIPS_METADATA = {'x-xbl-contract-version': '1'}
class-attribute
instance-attribute
¶
get_recent_community_clips_by_title_id(title_id, **kwargs)
async
¶
Get recent community clips by Title Id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title_id
|
str
|
Title Id to get clips for |
required |
Returns:
| Type | Description |
|---|---|
GameclipsResponse
|
class: |
Source code in src/pythonxbox/api/provider/gameclips/__init__.py
get_recent_own_clips(title_id=None, skip_items=0, max_items=25, **kwargs)
async
¶
Get own recent clips, optionally filter for title Id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title_id
|
str | None
|
Title ID to filter |
None
|
skip_items
|
int
|
Item count to skip |
0
|
max_items
|
int
|
Maximum item count to load |
25
|
Returns:
| Type | Description |
|---|---|
GameclipsResponse
|
class: |
Source code in src/pythonxbox/api/provider/gameclips/__init__.py
get_recent_clips_by_xuid(xuid, title_id=None, skip_items=0, max_items=25, **kwargs)
async
¶
Get clips by XUID, optionally filter for title Id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
xuid
|
str
|
XUID of user to get clips from |
required |
title_id
|
str | None
|
Optional title id filter |
None
|
skip_items
|
int
|
Item count to skip |
0
|
max_items
|
int
|
Maximum item count to load |
25
|
Returns:
| Type | Description |
|---|---|
GameclipsResponse
|
class: |
Source code in src/pythonxbox/api/provider/gameclips/__init__.py
get_saved_community_clips_by_title_id(title_id, **kwargs)
async
¶
Get saved community clips by Title Id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title_id
|
str
|
Title Id to get screenshots for |
required |
Returns:
| Type | Description |
|---|---|
GameclipsResponse
|
class: |
Source code in src/pythonxbox/api/provider/gameclips/__init__.py
get_saved_own_clips(title_id=None, skip_items=0, max_items=25, **kwargs)
async
¶
Get own saved clips, optionally filter for title Id an
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title_id
|
str | None
|
Optional Title ID to filter |
None
|
skip_items
|
int
|
Item count to skip |
0
|
max_items
|
int
|
Maximum item count to load |
25
|
Returns:
| Type | Description |
|---|---|
GameclipsResponse
|
class: |
Source code in src/pythonxbox/api/provider/gameclips/__init__.py
get_saved_clips_by_xuid(xuid, title_id=None, skip_items=0, max_items=25, **kwargs)
async
¶
Get saved clips by XUID, optionally filter for title Id
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
xuid
|
str
|
XUID of user to get screenshots from |
required |
title_id
|
str | None
|
Optional title id filter |
None
|
skip_items
|
int
|
Item count to skip |
0
|
max_items
|
int
|
Maximum item count to load |
25
|
Returns:
| Type | Description |
|---|---|
GameclipsResponse
|
class: |