Repository navigation
feat(ENG-1220): add monitor.bing() for Bing Search (0.5.0) - #8
Merged
Merged
Conversation
Add Bing Search (POST /v1/monitor/bing). The endpoint shipped in cloro-dev/backend#569 and cloro-dev/browsers#2117. - Add monitor.bing(query, country, include=...). include accepts html and aioverview. aioverview is True or {"markdown": True}. - Add BING to the task types of client.async_tasks. - Update the README (with the price), the CHANGELOG, the description and the keywords. The Unreleased CHANGELOG section becomes 0.5.0. - Add tests for the request and the BING task type. - Change the version from 0.4.0 to 0.5.0. Claude-Session: https://claude.ai/code/session_01Vi9vyg6uVJVBT2qvUFeKeq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Bing Search (
POST /v1/monitor/bing, ENG-1220). The endpoint shipped in cloro-dev/backend#569 and cloro-dev/browsers#2117.Changes
monitor.bing(query, country, include=...).includeacceptshtmlandaioverview(Trueor{"markdown": True}).organicResultsandaioverview(when requested and Bing shows one) in the Google Search shapes.BINGasync task type.aioverview. An async task has no sync charge.[Unreleased]CHANGELOG section (the removal ofopenapi.json) becomes[0.5.0].countries(model="bing"). This PR does not change a country list.Checks
ruff check .passes.python -m buildbuilds cloro-0.5.0.Checks not run
httpx.MockTransport.Merge order
After release
Proposed repo description: add "a Bing SERP API" after "a Google News API". Add the topic
bing-search.https://claude.ai/code/session_01Vi9vyg6uVJVBT2qvUFeKeq