View Single Post
Old 05-06-2022, 06:01 AM  
drexl
Whale Hunter
 
drexl's Avatar
 
Industry Role:
Join Date: Jan 2016
Posts: 930
All other cam sites APIs ask that you pass the IP of the current user so they can return relevant data. For example, Chaturbate API v2 will return a list of models when you pass client_ip=x.x.x.x (where x.x.x.x is the ip of the visitor, like 12.12.12.12)

Same goes with Whalehunter or AWE (which also have an end point for a given model).


With StripChash it is different:

- The only API endpoint StripCash supplies at the time I'm writing is a method to get a list of models: https://go.xlviiirdr.com/api/models

- The doc (https://stripcash.com/documentation/models-list) gives a list of parameters, 2 of those seem to be used for geo blocks : country and region.
Quote:
Removes all models, who banned this country. If not passed, It checks user's IP and gets country from it. With debug you can see userCountries field in debug part (this country + country detected by AcceptLanguage header or language parameter)
I can pass a country code like so: https://go.xlviiirdr.com/api/models?country=fr (where fr is for a visitor located in France). Is this the correct way to use it?

Can you also pass this to the iframe like so: lite-iframe.stripcdn.com/modelname?country=fr


I feel like I am in the 6th sense. Can anyone see me?!?!
drexl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote