PDA

View Full Version : adding all products from the api into my db?


ljackson09
07-04-10, 00:06
Hi All,

i am wanting to get a full list of products from the api and add them into my db.

why would i want to do this?

i am wanting to setup a search "form" which predicts the results as you search but i need the product names for this to work. has anyone done anything similar to this?

is this possible and would this eat up my quota?

many thanks
Luke

Ollie
07-04-10, 08:43
Hi Luke,

The API was not really designed for this. To achieve this functionality i suggest you use the AWin datafeeds as they contain pretty much the same data (and a little more).

If you log into your Darwin account, navigate to 'Create-a-feed' and select the merchants you want feeds for, you can then download and import to your DB with ease.

HTH

Ollie

ljackson09
07-04-10, 14:04
Hi Ollie,

thanks for your reply :)

now that you mention it i think ive tried that before but ran into trouble as my php limit kept hitting the maximum limit? but its worth another go :)

will report back with my progress

cheers
Luke

ljackson09
22-04-10, 17:09
hi mate,

ive been trying to input the feed data into my db but im having trouble with my hosts max_process_limit which is set at 30 secs and my php limit is 24mb i think, and this is the max allowed so using the feeds is out of the question

are there any other ways?
cheers
Luke