GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   chaturbate api question (https://gfy.com/showthread.php?t=1379910)

fris 11-07-2024 02:04 PM

chaturbate api question
 
i know you can limit results to 1, but is there a way to sort by most viewers? bascially im just looking to grab the room with the most viewers to show as the 1st thumbnail in a related post grid, as a full grab and sorting will take longer the http request.

curious if anyone else knows of a sorting param, i couldnt find any on the api docs

sarettah 11-07-2024 02:16 PM

Not that I am aware of.

I accomplish that by using the version 1 API and doing my pulls from my local database.

zerovic 11-07-2024 03:23 PM

sadly no.. you have to process it to sort it..

fris 11-07-2024 03:50 PM

only other option i see is to use a custom thumbnail of my own and link to the top room from link codes

V_RocKs 11-08-2024 11:32 AM

Just pull from the OG API and only pull 1 model. It will be the top model by viewers.

sarettah 11-08-2024 12:24 PM

Quote:

Originally Posted by V_RocKs (Post 23322507)
Just pull from the OG API and only pull 1 model. It will be the top model by viewers.

You can't do a limit on the version 1 API. It is all or nothing.


All times are GMT -7. The time now is 01:52 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123