java google custom search api

后端 未结 4 724
走了就别回头了
走了就别回头了 2021-02-06 12:30

I\'m trying to use the java client for the Google custom search api but couldn\'t find any sample tutorials on the web. Can someone provide a simple example for me to get start

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-06 13:01

    Try Google REST / JSON api: see API Guide. It is very easy to work with it, as long as you have your engine id and key. All you have to do is properly construct the URL and parse the search results out of response JSON using a library of your choice.

提交回复
热议问题