View Single Post
Old 04-26-2024, 09:06 PM  
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,554
You can limit it some more.

If the model has a particular tag (or tags) that they alwas use, you can pull for those tags. Only issue is if the model stops using those tags the query won't return them even if they are online.

&tag=tag_name ex: &tag=petite&tag=lesbian

also include the gender field &gender=f or &gender=m ...etc

if you know what country is usually included in their record, include the region field. &region=northamerica

Each additional parameter lowers the number of possibilities

Each call to the api can get up to 500 records back So loop through, grab the first call using &limit=500, if you get less than 500 then you have all the records. If your model is not in the first group, check the count parameter and then loop through grabbing a new result using the &offset= and a limit of 500 until you either find the model or hit the end and say they ain't there

Good luck.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote