Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-03-2017, 12:17 PM   #1
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
JSON Camsite Data for our Affiliates

Xlovecash now has available JSON data on all of our models.

We are supplying JSON data only that you can parse

Some of what is available

Parameters POST / GET Type Mandatory Range
lang POST varchar Y ISO 639-1
searchtxt POST varchar N [a-z][0-9]
xclone_url POST varchar N https?:\/\/([a-z0-9\-]+\.)?([a-z0-9\-]{1,})(\.[a-z]{2,6})
actionpanel POST integer N [1,2,3]
order POST varchar N hd, vote, connexion, suggest, alpha, creation, rating, love, price, fav, random
category POST varchar N [1,2,3,?,13]
s_language POST varchar N ["EN",...1,2,3?,7]
price POST varchar N [1-51,2,3?,5]
age POST varchar N [1-71,2,3,?,7]
boobs POST varchar N [1,2,3]
hair_color POST varchar N [1,2,3,4,5]
hair_length POST varchar N [1,2,3]
eyes POST varchar N [1,2,3,4,5]
height POST varchar N [1,2,3,...6]
weight POST varchar N [1,2,3,...6]
ethnic_group POST varchar N [1,2,3,4,5]
tags POST varchar N [1,2,3,...60]
sex_apparence POST varchar N [1,2,3]
body_apparence POST varchar N [1,2,3]
sex_size POST varchar N [1,2,3]
chat POST varchar N [free, prive]
limit POST integer Y [1,2,3....2000]
====
6: "title": "Category",
7: "valueList": [
9: "value": 1,
10: "title": "Girls"
13: "value": 13,
14: "title": "Ladies"
17: "value": 6,
18: "title": "Mature Female"
21: "value": 2,
22: "title": "Couples"
25: "value": 3,
26: "title": "Lesbians"
29: "value": 4,
30: "title": "Fetish Female"
33: "value": 10,
34: "title": "Threesome"
37: "value": 11,
38: "title": "Foursome"
41: "value": 5,
42: "title": "Transsexual"
45: "value": 12,
46: "title": "Transsexual Couples"
49: "value": 7,
50: "title": "Boys"
53: "value": 9,
54: "title": "Male Couples"
62: "title": "Eye Colour",
63: "valueList": [
65: "value": 1,
66: "title": "Black"
69: "value": 2,
70: "title": "Chestnut"
73: "value": 3,
74: "title": "Hazel"
77: "value": 4,
78: "title": "Blue"
81: "value": 5,
82: "title": "Green"
90: "title": "Hair Colour",
91: "valueList": [
93: "value": 1,
94: "title": "Fair Hair"
97: "value": 2,
98: "title": "Russet-red hair"
101: "value": 3,
102: "title": "Chestnut"
105: "value": 4,
106: "title": "Brown hair"
109: "value": 5,
110: "title": "Black"
118: "title": "Hair Length",
119: "valueList": [
121: "value": 1,
122: "title": "Short"
125: "value": 2,
126: "title": "Medium"
129: "value": 3,
130: "title": "Long"
138: "title": "Sex Parts",
139: "valueList": [
141: "value": 1,
142: "title": "Shaved"
145: "value": 2,
146: "title": "Hairy"
149: "value": 3,
150: "title": "Trimmed"
158: "title": "Appearance of the Body",
159: "valueList": [
161: "value": 1,
162: "title": "Athletic"
165: "value": 2,
166: "title": "Average"
169: "value": 3,
170: "title": "BBW"
173: "value": 4,
174: "title": "Plumper"
177: "value": 5,
178: "title": "Skinny"
186: "title": "Bust",
187: "valueList": [
189: "value": 1,
190: "title": "Small"
193: "value": 2,
194: "title": "Average"
197: "value": 3,
198: "title": "Big"
206: "title": "Ethnic Group",
207: "valueList": [
209: "value": 1,
210: "title": "Arabian"
213: "value": 2,
214: "title": "Asian"
217: "value": 3,
218: "title": "Black"
221: "value": 4,
222: "title": "European"
225: "value": 5,
226: "title": "Latin"
234: "title": "Sex Size",
235: "valueList": [
237: "value": 1,
238: "title": "Modest"
241: "value": 2,
242: "title": "average"
245: "value": 3,
246: "title": "Endowed"
continued ....
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 12:19 PM   #2
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
254: "title": "Tags",
255: "valueList": [
257: "value": 1,
258: "title": "69"
261: "value": 2,
262: "title": "Anal Sex"
265: "value": 3,
266: "title": "Closeup"
269: "value": 4,
270: "title": "Sex Toys"
273: "value": 6,
274: "title": "Femdom"
277: "value": 7,
278: "title": "Fetish Female"
281: "value": 8,
282: "title": "Gymnast"
285: "value": 9,
286: "title": "Heels"
289: "value": 10,
290: "title": "Hairy"
293: "value": 11,
294: "title": "Latex"
297: "value": 12,
298: "title": "Leather"
301: "value": 13,
302: "title": "Live Orgasm"
305: "value": 14,
306: "title": "Love Balls"
309: "value": 15,
310: "title": "Massage"
313: "value": 16,
314: "title": "Masturbation"
317: "value": 17,
318: "title": "Moaning"
321: "value": 18,
322: "title": "Nurse"
325: "value": 19,
326: "title": "Nylon"
329: "value": 20,
330: "title": "Oil"
333: "value": 21,
334: "title": "Oral"
337: "value": 22,
338: "title": "Panties"
341: "value": 23,
342: "title": "Pantyhose"
345: "value": 25,
346: "title": "Piercings"
349: "value": 26,
350: "title": "Pornstar"
353: "value": 27,
354: "title": "Secretary"
357: "value": 28,
358: "title": "Shower"
361: "value": 29,
362: "title": "Buttplug"
365: "value": 30,
366: "title": "Cougar - MILF"
369: "value": 31,
370: "title": "Foot"
373: "value": 32,
374: "title": "Spanking"
377: "value": 33,
378: "title": "Squirting"
381: "value": 34,
382: "title": "Stockings"
385: "value": 35,
386: "title": "Submissive"
389: "value": 36,
390: "title": "Tattoo"
393: "value": 37,
394: "title": "Uniform"
397: "value": 38,
398: "title": "Vibrator"
401: "value": 39,
402: "title": "Zoom Cam"
405: "value": 40,
406: "title": "Sound Chat"
409: "value": 41,
410: "title": "Anilingus"
413: "value": 42,
414: "title": "Armpits"
417: "value": 43,
418: "title": "Big Penis"
421: "value": 44,
422: "title": "Boots"
425: "value": 46,
426: "title": "Exhibitionism"
429: "value": 47,
430: "title": "Fur"
433: "value": 48,
434: "title": "Hair Colour"
437: "value": 49,
438: "title": "Hairy Men"
441: "value": 51,
442: "title": "Legs"
445: "value": 52,
446: "title": "Muscles"
449: "value": 53,
450: "title": "Older Men"
453: "value": 54,
454: "title": "Rubber"
457: "value": 55,
458: "title": "Shoes"
461: "value": 56,
462: "title": "Small Penis"
465: "value": 57,
466: "title": "Tickling"
469: "value": 58,
470: "title": "Transvestism"
473: "value": 59,
474: "title": "Underwear"
477: "value": 60,
478: "title": "Voyeurism"
481: "value": 61,
482: "title": "Cunnilingus"
485: "value": 62,
486: "title": "Squirting"
489: "value": 63,
490: "title": "Strap-on dildo"
498: "title": "Height",
499: "valueList": [
501: "value": 1,
502: "title": "Less than 4'9\""
505: "value": 2,
506: "title": "4'9\" - 5'2\""
509: "value": 3,
510: "title": "5'2\" - 5'6\""
513: "value": 4,
514: "title": "5'6\" - 5'9\""
517: "value": 5,
518: "title": "5'9\" - 6'2\""
521: "value": 6,
522: "title": "Taller than 6.20 ft"
530: "title": "Weight",
531: "valueList": [
533: "value": 1,
534: "title": "Less than 110 lb"
537: "value": 2,
538: "title": "110 - 130 lb"
541: "value": 3,
542: "title": "130 - 150 lb"
545: "value": 4,
546: "title": "150 - 180 lb"
549: "value": 5,
550: "title": "180 - 200 lb"
553: "value": 6,
554: "title": "More than 200 lb"
562: "title": "Age",
563: "valueList": [
565: "value": 1,
566: "title": "18-20 years old"
569: "value": 2,
570: "title": "20 - 25 years old"
573: "value": 3,
574: "title": "25 - 30 years old"
577: "value": 4,
578: "title": "30 - 35 years old"
581: "value": 5,
582: "title": "35 - 40 years"
585: "value": 6,
586: "title": "40 - 45 years old"
589: "value": 7,
590: "title": "45+ years old"
598: "title": "Chat type",
599: "valueList": [
601: "value": "free",
602: "title": "Free chatting"
605: "value": "prive",
606: "title": "Private shows"
614: "title": "Actions Panel",
615: "valueList": [
617: "value": "1",
618: "title": "Virtual Gift"
621: "value": "2",
622: "title": "Live Action"
625: "value": "3",
626: "title": "Interactive Toy"
634: "title": "Language",
635: "valueList": [
637: "value": 1,
638: "title": "French"
641: "value": 2,
642: "title": "English"
645: "value": 3,
646: "title": "Spanish"
649: "value": 4,
650: "title": "Italian"
653: "value": 5,
654: "title": "German"
657: "value": 6,
658: "title": "Dutch"
661: "value": 7,
662: "title": "Portuguese"
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 12:20 PM   #3
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
670: "title": "Rates",
671: "valueList": [
673: "value": 1,
674: "title": "Less than 1,60 €"
677: "value": 2,
678: "title": "1,60 € - 1,80 €"
681: "value": 3,
682: "title": "1,80 € - 2,00 €"
685: "value": 4,
686: "title": "2,00 € - 2,20 €"
689: "value": 5,
690: "title": "More than 2,20 €"
698: "title": "Sorting",
699: "valueList": [
701: "param_value": "alpha",
702: "display_value": "Alphabetical order"
705: "param_value": "connexion",
706: "display_value": "Latest logins"
709: "param_value": "creation",
710: "display_value": "New models"
713: "param_value": "hd",
714: "display_value": "HD videos"
717: "param_value": "rating",
718: "display_value": "Best rating"
721: "param_value": "vote",
722: "display_value": "Votes"
725: "param_value": "love",
726: "display_value": "Loves"
729: "param_value": "price",
730: "display_value": "Rates"
733: "param_value": "fav",
734: "display_value": "Favourite models"
737: "param_value": "suggest",
738: "display_value": "Our recommendations"
741: "param_value": "random",
742: "display_value": "Random"
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 12:30 PM   #4
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Xlovecash>login>promotools>JSON-API

There is a PHP library available for download -- this is only for making the JSON requests with PHP curl
curl in a cron'd bash script could be used also -- some assembly required

Parse this data into affiliate cam site pages with good SEO > NO IFRAMES

You can link out to the cams directly on our website or your XloveCash white labels
This JSON API is great for making feeder website to generate network or SEO traffic.
*see text links in the promotools for the link formats available

** rates in dollars will need to be converted from the euros in your script just like we do on our servers (by IP) or by user input (if necessary).

Here is your chance for unique affiliate promo tools.
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 12:56 PM   #5
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Is a model currently online

example
every model we has has a model id
====
Request:
POST /model/filterList HTTP/1.1
Host: webservice-affiliate.xlovecam.com/
Accept: */*
Cookie: XLCSID=xxxx;
Xlove-Token: bbbbbbbbbb
Content-Length: 21
Content-Type: application/x-www-form-urlencoded

serviceid=xxxx&lang=EN&modelid[]=103779&modelid[]=103739
Response:
{
"content": {
"103739": {
"isOnline": 0
},
"103779": {
"isOnline": 1
}

you can also request that model's profile data


example response:

{"content":{"109576":{"model":{"age":"21","height" :"173","weight":"68","idHair":3,"idHairlength":2," idEyes":2,"idEthnicgroup":5,"measurements1":68,"me asurements2":102,"measurements3":68,"idBody":1,"id Sexualpreference":2,"idApparencetypeBody":1,"idApp arencetypeSex":1,"breast":"","idZodiac":0,"alias": "Francisco","sex":"M","sexualOrientationActive":1, "sexualOrientationPassive":0,"idModelaccount":1095 76,"infoByLang":{"language":"eng","sexualPreferenc es":"We are a couple who love sex","turnon":"7am-5pm","turnoff":"not","favoritePosition":"69"}},"in foByLang":{"phantasm":"We are a couple who love sex hard and amuse our customers","description":"I like both genres","fetish":"I like both genres"},"photos":{"1893785":"\/\/img5.wlresources.com\/photo\/1893785\/photo-76-109576.jpg","1893787":"\/\/img7.wlresources.com\/photo\/1893787\/photo-76-109576.jpg"}}}}

You should database this data and index it by the model id and join tables to produce some very slick custom HTML >>> SEO hog heaven if you are about content.
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 12:59 PM   #6
bns666
Confirmed Fetishist
 
bns666's Avatar
 
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,520
do you have a sample site which uses this?

also do you offer bare bones files which can be edited and installed on server?
__________________
CAM SODASTRIPCHAT
CHATURBATEX LOVE CAM
bns666 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 01:19 PM   #7
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Quote:
Originally Posted by bns666 View Post
do you have a sample site which uses this?

also do you offer bare bones files which can be edited and installed on server?
This is how we generate xlovecam.com with the same data -- the list pages, the model profiles, images -- the public front end basically minus the webcam platform.

As an example: you could make a list page of thumbs on your website and when the visitors click the model's link, that link is to that model's profile on your server with a live webcam tool.

The customer interacts with that and hopefully clicks and is referred to xlovecam or your xlovecash white label. At this location your referral has the option to register and make a purchase that makes him your lifetime revshare customer.

You have to 'roll your own' parsers and HTML
This JSON is replacing the old XML that will become legacy and be support for some time -- if you are using it now.

https://www.google.com/search?q=parse+json+PHP

There is lot of information on the Internet on how to work with JSON

Dump the JSON into a PHP array then you will see how to extract it.
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 02:30 PM   #8
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
thanks, welcome back to 2002
__________________

automatic exchange - paxum , bitcoin,pm, payza

. daizzzy signbucks caution will black-hat black-hat your traffic

ignored forever :zuzana designs
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 06:28 PM   #9
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
and fuck you too
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 07:59 PM   #10
gfyworldnews
Confirmed User
 
Join Date: Jun 2006
Posts: 176
Quote:
Originally Posted by CPA-Rush View Post
thanks, welcome back to 2002
Careful, you may damage his fragile ego.
gfyworldnews is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 08:10 PM   #11
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
fuck you too
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-03-2017, 08:13 PM   #12
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
If you can't utilize this or see its value then don't use it.
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2017, 01:44 AM   #13
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Just want to remind that CyberSEO 7 "Revolution" is now able to parse JSON data in a same way as XML and CSV.

2Barry-xlovecam: if you post a sample link to your JSON data, I'll make a preset for CyberSEO to parse it.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2017, 02:54 AM   #14
Fob
Confirmed User
 
Join Date: Apr 2009
Posts: 520
Too hardcore for me. Is it possible to make it without authentication?
Fob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2017, 05:10 AM   #15
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
@fob
There is a PHP script for the authentication the download is at the bottom of that contains zip file.


@cyberseo You need an affiliate ID and the token for that
I am going to post an example script in the zip now in the post below

If you don't have affiliate account access -- Monday (office is closed)

I can answer or get answers on any request/response issues you may have.
The parsing and HTML output is work for the Affiliate.

================
readme

PHP HTTP client for XloveCam.com
Version: 1.0
-------------

What Is This?
-------------

This library is a PHP HTTP client that makes it easy to send HTTP requests to XloveCam.com API.
It provides real time information about the models found on XloveCam.com in Json format so you
can build your own promotool.

Requirements
------------
The following are required to use this library:

- A functioning PHP 5.4 environment with HTTP (or HTTPS) access to the internet.
- Additionally, the PHP install must have CURL support available.
- On Debian & Ubuntu, you'll need the php5-curl package.
- On Windows, CURL should already be available, but you may need to enable
it in php.ini (uncomment 'extension=php_curl.dll').
- Some working knowledge of the PHP language.
- The API keys that are provided on the Json API XloveCash promotool page.
- serviceid / it's your affiliate id
- secret_key


How To Use It
-----------------------

1. Change the $serviceid and $secret_key from lib/XlovejsonApi.php with the keys
provided in the XloveCash promotool page .

class XloveJsonApi extends XloveJsonApiAbstract
{
/**
* one serviceid is provided (it's your affiliate id)
*/
protected $_serviceid = 'xxxxxxxxxxxxxxx';


/**
* one secret_key is provided in the documentation
*/
protected $_secret_key = 'xxxxxxxxxxxxxxx';



2. Access via HTTP the public_html/index.php where you can test all XloveCam.com API methods.



Comments / Suggestions
----------------------
We always welcome comments, suggestions, and constructive complaints. You can
find several ways to contact us at Contact Form .
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2017, 05:11 AM   #16
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
PHP Code:
<?php require_once(dirname(__FILE__) . "/../lib/XloveJsonApi.php"); ?>
<?php

$serviceid 
XloveJsonApi::getInstance()->getServiceId();
$iMethod=;

$iCpt ;
$param[$iMethod]['title'] = "Model list Online" ;
$param[$iMethod]['url'] = "listonline" ;
$param[$iMethod]['param'][$iCpt++]['serviceid'] = $serviceid ;
$param[$iMethod]['param'][$iCpt++]['xclone_url'] = "" ;
$param[$iMethod]['param'][$iCpt++]['lang'] = "EN" ;
$param[$iMethod]['param'][$iCpt++]['searchtxt'] = "" ;
$param[$iMethod]['param'][$iCpt++]['order'] = "connexion" ;
$param[$iMethod]['param'][$iCpt++]['category'] = "" ;
$param[$iMethod]['param'][$iCpt++]['s_language'] = "" ;
$param[$iMethod]['param'][$iCpt++]['price'] = "" ;
$param[$iMethod]['param'][$iCpt++]['age'] = "6" ;
$param[$iMethod]['param'][$iCpt++]['boobs'] = "" ;
$param[$iMethod]['param'][$iCpt++]['hair_color'] = "" ;
$param[$iMethod]['param'][$iCpt++]['hair_length'] = "" ;
$param[$iMethod]['param'][$iCpt++]['eyes'] = "" ;
$param[$iMethod]['param'][$iCpt++]['height'] = "" ;
$param[$iMethod]['param'][$iCpt++]['weight'] = "" ;
$param[$iMethod]['param'][$iCpt++]['ethnic_group'] = "" ;
$param[$iMethod]['param'][$iCpt++]['tags'] = "" ;
$param[$iMethod]['param'][$iCpt++]['sex_apparence'] = "" ;
$param[$iMethod]['param'][$iCpt++]['body_apparence'] = "" ;
$param[$iMethod]['param'][$iCpt++]['sex_size'] = "" ;
$param[$iMethod]['param'][$iCpt++]['chat'] = "" ;

$param[$iMethod]['param'][$iCpt++]['offset'] = "0" ;
$param[$iMethod]['param'][$iCpt++]['limit'] = "10" ;
$iMethod++ ;


$iCpt ;
$param[$iMethod]['title'] = "get liste des filtres" ;
$param[$iMethod]['url'] = "filterList" ;
$param[$iMethod]['param'][$iCpt++]['serviceid'] = $serviceid ;
$param[$iMethod]['param'][$iCpt++]['lang'] = "EN" ;
$iMethod++ ;



$iCpt ;
$param[$iMethod]['title'] = "Model Online" ;
$param[$iMethod]['url'] = "checkisonline" ;
$param[$iMethod]['param'][$iCpt++]['serviceid'] = $serviceid ;
$param[$iMethod]['param'][$iCpt++]['lang'] = "EN" ;
$param[$iMethod]['param'][$iCpt++]['modelid[]'] = "" ;
$param[$iMethod]['param'][$iCpt++]['modelid[]'] = "" ;
$param[$iMethod]['param'][$iCpt++]['modelid[]'] = "" ;
$iMethod++ ;


$iCpt ;
$param[$iMethod]['title'] = "Model Info" ;
$param[$iMethod]['url'] = "getprofileinfo" ;
$param[$iMethod]['param'][$iCpt++]['serviceid'] = $serviceid ;
$param[$iMethod]['param'][$iCpt++]['lang'] = "EN" ;
$param[$iMethod]['param'][$iCpt++]['modelid[]'] = "" ;
$param[$iMethod]['param'][$iCpt++]['modelid[]'] = "" ;
$param[$iMethod]['param'][$iCpt++]['modelid[]'] = "" ;
$iMethod++ ;

?>

<?php for ($iMethod=0$iMethod<count($param); $iMethod++) : ?>
<form action="examples/<?= $param[$iMethod]['url'?>.php" method="post">
    <fieldset>
        <legend>Example Method: <?= $param[$iMethod]['title'?></legend>
        <table>
            <?php for ($iCpt=0$iCpt<count($param[$iMethod]['param']); $iCpt++) : ?>
            <tr>
                <td><?= key($param[$iMethod]['param'][$iCpt]) ?></td>
                <td><input name="<?= key($param[$iMethod]['param'][$iCpt]) ?>" value="<?= $param[$iMethod]['param'][$iCpt][key($param[$iMethod]['param'][$iCpt])] ?>"></td>
            </tr>
            <?php endfor; ?>
            <tr>
                <td colspan="2"><input type="submit"></td>
            </tr>
        </table>
    </fieldset>
</form>

<hr/>
<?php endfor; ?>
There is some 'generic' HTML at the bottom.

there are also POST examples
PHP Code:
<?php
require_once(dirname(__FILE__) . "/../../lib/XloveJsonApi.php");

/**
 * Print Api response
 */
XloveJsonApi::getInstance()->filterList($_POST);
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2017, 06:41 AM   #17
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
the contents of the zip are as follows -- sorry I didn't make this clearer;

$ tree api
api
├── lib
│haha ├── XloveJsonApiAbstract.php
│haha ├── XloveJsonApiCurl.php
│haha └── XloveJsonApi.php
└── public_html
├── examples
│haha ├── checkisonline.php
│haha ├── filterList.php
│haha ├── getprofileinfo.php
│haha └── listonline.php
├── index.php
└── README.txt

3 directories, 9 files

haha fkn board ...

PHP Code:
tree api
api                                                                                                                                                    
&#9500;── lib                                                                                                                                                
&#9474;------ ├── XloveJsonApiAbstract.php                                                                                                                       
&#9474;------ ├── XloveJsonApiCurl.php                                                                                                                           
&#9474;------ └── XloveJsonApi.php                                                                                                                               
&#9492;── public_html                                                                                                                                        
    
&#9500;── examples                                                                                                                                       
    
&#9474;------├── checkisonline.php                                                                                                                          
    
&#9474;------├── filterList.php                                                                                                                             
    
&#9474;------├── getprofileinfo.php                                                                                                                         
    
&#9474;------└── listonline.php                                                                                                                             
    
&#9500;── index.php                                                                                                                                      
    
&#9492;── README.txt                                                                                                                                     
                                                                                                                                                       
3 directories9 files 
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-04-2017, 06:47 AM   #18
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,381
Quote:
Originally Posted by Barry-xlovecam View Post
@cyberseo You need an affiliate ID and the token for that
I am going to post an example script in the zip now in the post below

If you don't have affiliate account access -- Monday (office is closed)

I can answer or get answers on any request/response issues you may have.
The parsing and HTML output is work for the Affiliate.
You can post an URL with any affiliate code (e.g. your own one) - that doesn't matter. Once if I'll make a preset for CyberSEO, all your affiliates will be able to use it with their own personal JSON feeds.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
title, post, varchar, valuelist, [1, 2, 3], hair, [1, 2, 3, [1, 2, 3, 4, 5], black, data, json, couples, average, integer, price, category, transsexual, colour, chestnut, female, sex, short, modest, length, medium
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.