2026-04-22 15:55:39 +02:00

136 lines
3.4 KiB
YAML

territory: ID
default_language: en
parental_pin: "0000" #CHANGE THIS ACCORDING TO YOUR PIN
device:
type: WEB_PC
version: 3.0.138.4463
os_type: Windows_Edge
os_version: "10,146.0.0.0"
vcms:
device_type: web
device_model: windows
os_type: chrome
os_version: 147.0.0
app_version: "3.0"
platform: desktop
endpoints:
guest_token: https://www.catchplay.com/api/v2/oauth
login: https://www.catchplay.com/api/v2/oauth/login
refresh: https://www.catchplay.com/api/v2/oauth/refresh
graphql_program: https://sunapi.catchplay.com/program/v3/graphql
graphql_membership: https://sunapi.catchplay.com/membership/v3/graphql
graphql_membership_program: https://sunapi.catchplay.com/membership-program/v3/graphql
play: https://hp2-api.catchplay.com/me/play
media_info: "https://vcmsapi.catchplay.com/video/v3/mediaInfo/{video_id}"
widevine_license: https://vcmsapi.catchplay.com/video-drm/widevine
graphql:
search:
operation: searchKeywordSuggestions
api_name: searchKeywordSuggestions
endpoint: graphql_membership_program
query: |
query searchKeywordSuggestions($keyword: String!) {
searchKeywordSuggestions(keyword: $keyword) {
programs {
id
name
photoUrl
orientation
}
}
}
get_main_program:
operation: getMainProgram
api_name: getMainProgram
endpoint: graphql_program
query: |
query getMainProgram($id: ID!) {
getMainProgram(id: $id) {
id
type
title { local eng }
totalChildren
children {
id
type
title { short local eng }
children {
id
type
title { local eng }
publishedDate
playerInfo { duration videoCode }
}
}
selected {
id
type
releaseYear
synopsis
title { local eng }
children {
id
type
title { local eng }
synopsis
publishedDate
playerInfo { duration videoCode }
}
}
}
}
get_program:
operation: getProgram
api_name: getProgram
endpoint: graphql_program
query: |
query getProgram($id: ID!) {
getProgram(id: $id) {
id
title { local eng }
type
videoIntros {
intro { startTime endTime }
recap { startTime endTime }
credits { startTime endTime }
}
}
}
get_play_scenario:
operation: getPlayScenario
api_name: getPlayScenario
endpoint: graphql_membership_program
query: |
query getPlayScenario($input: PlayScenarioInput!) {
getPlayScenario(input: $input) {
behaviorType
description
reason { message }
parentalControl { behaviorType title message }
playProgram {
id
type
title { local playing }
playerInfo { videoCode }
}
}
}
validate_pin:
operation: validateParentalControlPinCode
api_name: validateParentalControlPinCode
endpoint: graphql_membership
query: |
query validateParentalControlPinCode($input: ValidateParentalControlInput!) {
validateParentalControlPinCode(input: $input) {
status
description
}
}