convert working php googleapi search code into js for use on client side

已完成 已发布的 Dec 28, 2013 货到付款
已完成 货到付款

I have a php file that successfully retrieves data from the Google search engine via [url removed, login to view] and returns the data into a basic array (which is then used for further processing)

I want to move this functionality to the client side. The pseudo code for this project looks like this:

- html button ("process") clicked

- get the values in input boxes "city" and "profession"

- make a call to [url removed, login to view] with the search parameters included

- process the returned result and produce an array

- make an ajax call to the server php file "[url removed, login to view]", sending the array in the data

(FYI, the php file will output the result of its processing back into a table)

Ensure that error conditions are caught:

- google API search fails (alert the text of the error from Google)

- if a search produces zero results, don't perform any further searches

- make sure the "city" and "profession" boxes are not empty (alert the user if they are)

Refer to the attached file for my current php code.

I need someone who knows how to work with Google's custom search engine API . (v2.0 preferably)

I can give you an ftp folder on my server if you wish, or provide your own.

Output the results to the console log to ensure it works as required.

If you need further clarification, please message me.

Thank you.

AJAX JavaScript PHP

项目ID: #5267191

关于项目

3个方案 远程项目 活跃的Dec 28, 2013

授予:

kauserkhan

hi, currently you searching google api is working with refreshing the whole page,you want it to search with refresh the whole page. i will do it for you,kindly open chat window to disccuss it further. Thanks

$30 USD 在3天内
(24条评论)
4.5

有3名威客正在参与此工作的竞标,均价$37/小时

mizanurrahman20

We are developer group in PHP. We are expert in google api. I have seen you php file. If you pay me $50 then we will do it. You can contact with us for discussion. It is our new profile. Thank you

$50 USD 在2天内
(0条评论)
0.0