I have tried to fetch it in my sample app and it works.
I wonder if there might some code problem .
I assumed that you are using Java . so I followed these links to try to get the value from the API and it works .
public class Root{
public String embed_url;
public String title;
public String duration;
public String dateadded;
public List<String> thumbs;
public List<String> channels;
public List<String> pornstars;
public String orientation;
}
It is great. i will explore the possibility of adding redtube data into the db.
i have already used https://api.redtube.com/docs and it works great
Happy new year !
I have tried to fetch it in my sample app and it works.
I wonder if there might some code problem .
I assumed that you are using Java . so I followed these links to try to get the value from the API and it works .
https://stackoverflow.com/questions/22361343/parsing-json-array-to-java-object
https://stackoverflow.com/questions/6407324/how-to-display-image-from-url-on-android
Besides, Here is the Java Object i used
public class Root{
public String embed_url;
public String title;
public String duration;
public String dateadded;
public List<String> thumbs;
public List<String> channels;
public List<String> pornstars;
public String orientation;
}
hope it can help you .
watch the screen recording. thumbnail not visible https://wdho.ru/iu2t
would you show me the code ??
and you are also welcome to pm me for details.
does not show thumbnails. I’d rather use api x tube
“thumbs”:[10 items
0:"https://thumb-v5.xhcdn.com/a/XL08VuYHz2ekCyFangbb_Q/004/829/335/2000x2000.7.jpg"
1:"https://thumb-v5.xhcdn.com/a/BPRtAurqFooLWqGKW9qy-g/004/829/335/2000x2000.1.jpg"
2:"https://thumb-v5.xhcdn.com/a/TdLZMgfVAqSD7VsNOJlUXg/004/829/335/2000x2000.2.jpg"
3:"https://thumb-v5.xhcdn.com/a/4CZxmOBgG26UZWlgdlB7YA/004/829/335/2000x2000.3.jpg"
4:"https://thumb-v5.xhcdn.com/a/iLui1EY6dOq0_8bU4g6F5w/004/829/335/2000x2000.4.jpg"
5:"https://thumb-v5.xhcdn.com/a/y3B_Qby02hNtzw86l5YJrQ/004/829/335/2000x2000.5.jpg"
6:"https://thumb-v5.xhcdn.com/a/-WmrsWFoEna51GFESMvemA/004/829/335/2000x2000.6.jpg"
7:"https://thumb-v5.xhcdn.com/a/rOKpsw6oPKYJOKN6wAMOPg/004/829/335/2000x2000.8.jpg"
8:"https://thumb-v5.xhcdn.com/a/wISmXO8h4W9Y8tsosDOQfw/004/829/335/2000x2000.9.jpg"
9:“https://thumb-v5.xhcdn.com/a/DZXWQAZUojiPbpgjNWiPSw/004/829/335/2000x2000.10.jpg”
]
does not work! api answer (200OK
Body
Headers
[0 items
])
Sorry. it was my fault. just updated it . Cheer 😉
api doesn’t work ( 403 Forbidden )
Thank you . updated, please try again. 😃