Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在评估 topsy 的 otter api。有没有人知道为“在线互联网课程”(异国情调)等确切短语获得正确结果的好方法。
http://otter.topsy.com/search.json?apikey=(your-api-key)&q=%22online%20internet%20course%22&perpage=100&nohidden=0&mintime=315532800
这将返回包含所有单词的结果,但不是确切的短语。因此它也将匹配“在线网络营销课程”。
有什么建议么?
您是对的,您需要在两端使用双引号 (%22),但您还需要在单词之间使用 '+' (%2B),而不是空格 (%20)。