Getting Error in retrieving data from Google Spreadsheet API using Structure Query (sq) in Android

前端 未结 2 1798
你的背包
你的背包 2021-01-06 11:44

I am working with Google Spreadsheet API in Android. I am successfully done with the integration and able to retrieve the rows. But facing a little problem in search functio

2条回答
  •  一个人的身影
    2021-01-06 12:12

    Well, the now-defunct GData 2.0 Protocol Guide (also on the wayback machine) says in respect of the "q" parameter:

    list search terms separated by spaces, in the form q=term1 term2 term3. (As with all of the query parameter values, the spaces must be URL encoded)

    However, the defunct-so-much-as-to-be-unpublished-anymore-by-Google Spreadsheets Data API 3.0 Reference Guide is a bit light-on with information about parameters to the list-feed-specific "sq" parameter.

    I'd probably try wrapping the search term in quotes "like so" (and URLencoding them). That's the technique which the "q" parameter uses for delimiting entire phrases.

    If that didn't work, I'd file an issue report complaining about inadequate documentation. Feel free to cite my prior complaint.

提交回复
热议问题