actor fetching :)

Stash / ADultVideoAPI
This commit is contained in:
Lars Behrends
2025-11-06 12:07:12 +01:00
parent 1ec6016b10
commit 3f56625205
7 changed files with 1048 additions and 58 deletions

83
public/test.php Normal file
View File

@@ -0,0 +1,83 @@
<?php $query = ' query FindScenes($filter: FindFilterType) {
findScenes(filter: $filter) {
scenes {
id
title
details
url
date
rating100
organized
o_counter
created_at
updated_at
paths {
screenshot
preview
stream
webp
vtt
sprite
funscript
caption
}
files {
size
duration
video_codec
audio_codec
width
height
}
performers {
id
name
disambiguation
url
gender
birthdate
ethnicity
country
eye_color
height_cm
measurements
fake_tits
penis_length
circumcised
career_length
tattoos
piercings
alias_list
favorite
ignore_auto_tag
created_at
updated_at
details
death_date
hair_color
weight
image_path
scene_count
}
}
count
}
}
';
$variables = [
'filter' => [
'per_page' => 100,
'sort' => 'created_at',
'direction' => 'DESC'
]
];
/*
'json' => [
'query' => $query,
'variables' => $variables
]*/
print_r (json_encode(str_replace("\r\n", '', $query) ));