[2017-07-27 17:45:29]exception 'Error' with message '[Mongo] connect failed 127.0.0.1 : Failed to connect to: 127.0.0.1:27017: Previous connection attempts failed, server blacklisted' in /data_local/us/dff2_prod/inc/db_mongo.class.php:42 Stack trace: #0 /data_local/us/dff2_prod/inc/DataObj.class.php(72): db_mongo->__construct(0, false, false) #1 /data_local/us/dff2_prod/inc/DataObj/DataObj_aff.class.php(74): DataObj->__construct(Array) #2 /data_local/us/dff2_prod/inc/Data.class.php(14): DataObj_aff->__construct() #3 /data_local/us/dff1/functions/aff.func.php(80): Data::obj('aff') #4 /data_local/us/dff1/functions/aff.func.php(196): get_aff_info_all(1001) #5 /data_local/us/dff1/examples/remote_json.php(25): get_aff_token_ip(1001) #6 {main}[2017-07-27 17:45:29]exception 'Error' with message '[Mongo] connect failed 127.0.0.1 : Failed to connect to: 127.0.0.1:27017: Previous connection attempts failed, server blacklisted' in /data_local/us/dff2_prod/inc/db_mongo.class.php:42 Stack trace: #0 /data_local/us/dff2_prod/inc/DataObj.class.php(72): db_mongo->__construct(0, false, false) #1 /data_local/us/dff2_prod/inc/DataObj/DataObj_aff_site.class.php(75): DataObj->__construct(Array) #2 /data_local/us/dff2_prod/inc/Data.class.php(14): DataObj_aff_site->__construct() #3 /data_local/us/dff1/functions/aff.func.php(86): Data::obj('aff_site') #4 /data_local/us/dff1/functions/aff.func.php(196): get_aff_info_all(1001) #5 /data_local/us/dff1/examples/remote_json.php(25): get_aff_token_ip(1001) #6 {main} DataFeedFile.com Sample Website for Data Feed File Price Comparison Shopping Script Integration Examples

JSON : Search Keywords (most popular within 24 hours)

Wiki Documentation + list of parameters

This JSON web service will return a JSON decoded array of up to 100 most popular search keywords used by shoppers during the last 24 hours. Each search keyword will include Ranking, Number of Occurences and Search Keyword itself.

http://www.datafeedfile.com/json/json_search_keyword.php?affid=...&dfftoken=...

This JSON example demonstrate the JSON data feed web services provided by DataFeedFile.com

Affiliate ID:        

Request Variables

In order for you to get JSON data feed, there are some request variables that you need to submit to Datafeedfile.com JSON Web Services. Here is list of variable that you need to specify when requesting a JSON data feeds.
VariableRequiredDescription
affidYAffiliate ID, is a unique identifier number for each DFF affiliate account
dfftokenYYour unique DFF Token. Generate this unique DFF Token string of characters from your Affiliate Control Panel > Settings > DFF Token.
sortNControls the ordering of the array returned. Options are 'asc' rank ascending (default), 'desc' rank descending, 'random' any order.
limitNLimits the number of search keywords array elements returned. By default limit is set to 20 when nothing is specified. Maximum limit is 100.
compressNPut value 'gzip' to use gzip zlib compression algorithm. You must de-compress when receiving data before decoding the JSON. Compression is optional but recommended. Example: &compress=gzip

Requirements

1. Please make sure your JSON access DFF Token is ACTIVE. To activate and generate token you must login and go to Settings > DFF Token.

2. Set the Requesting IP address of the computer / server / client that will be used to make the query. Set IP at Settings > DFF Token.

3. Generate dfftoken variable. You must go to Settings > DFF Token to generate an JSON access DFF Token token and use this in the dfftoken variable.












< Back to DataFeedFile.com