Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v1.47.1-sdk.1

- Regenerated Go, TypeScript, Python, Ruby, Java, and PHP clients from the public API contract (3,695 operations; operation set unchanged).
- Added BBB response fields for profile-review state and notices, local chapter newsroom URLs, and expanded BBB news, topic, and business-facet schemas.
- Refreshed the affected BBB and dataset endpoint descriptions and parameter metadata from the current Swagger contract.

## v1.47.0-sdk.1

- Regenerated from the public API contract (3695 operations).
Expand Down
2 changes: 1 addition & 1 deletion crawlora/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from .operations import GROUPS, OPERATIONS

DEFAULT_BASE_URL = "https://api.crawlora.net/api/v1"
VERSION = "1.47.0-sdk.1"
VERSION = "1.47.1-sdk.1"
DEFAULT_USER_AGENT = f"crawlora-python-sdk/{VERSION}"
DEFAULT_MAX_RETRY_DELAY = 30.0
DEFAULT_RETRY_STATUSES = (408, 409, 425, 429)
Expand Down
32 changes: 29 additions & 3 deletions crawlora/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4748,8 +4748,10 @@ ModelBbbBusinessResponse = TypedDict('ModelBbbBusinessResponse', {
'local_bbb_url': NotRequired[str],
'more_info_url': NotRequired[str],
'name': NotRequired[str],
'notice': NotRequired[str],
'phone': NotRequired[str],
'products_and_services': NotRequired[list[str]],
'profile_under_review': NotRequired[bool],
'rating': NotRequired[str],
'rating_reasons': NotRequired[list[str]],
'social_media': NotRequired[list[str]],
Expand Down Expand Up @@ -4808,8 +4810,10 @@ ModelBbbComplaintsResponse = TypedDict('ModelBbbComplaintsResponse', {
'filed_last_12_months': NotRequired[int],
'has_more': NotRequired[bool],
'hidden_complaints': NotRequired[int],
'notice': NotRequired[str],
'page': NotRequired[int],
'period_text': NotRequired[str],
'profile_under_review': NotRequired[bool],
'published_complaints': NotRequired[int],
'source_url': NotRequired[str],
'submit_complaint_url': NotRequired[str],
Expand Down Expand Up @@ -4955,6 +4959,7 @@ ModelBbbdirectoryCountryRegions = TypedDict('ModelBbbdirectoryCountryRegions', {
ModelBbbdirectoryLocalBbbchapter = TypedDict('ModelBbbdirectoryLocalBbbchapter', {
'id': NotRequired[str],
'name': NotRequired[str],
'news_url': NotRequired[str],
'offices': NotRequired[list[ModelBbbdirectoryOffice]],
'open_to_public': NotRequired[bool],
'url': NotRequired[str],
Expand All @@ -4966,6 +4971,7 @@ ModelBbbdirectoryLocalBbbresponse = TypedDict('ModelBbbdirectoryLocalBbbresponse
'id': NotRequired[str],
'languages': NotRequired[list[str]],
'name': NotRequired[str],
'news_url': NotRequired[str],
'offices': NotRequired[list[ModelBbbdirectoryOffice]],
'open_to_public': NotRequired[bool],
'service_territory': NotRequired[list[str]],
Expand Down Expand Up @@ -5080,11 +5086,15 @@ ModelBbbnewsNewsItem = TypedDict('ModelBbbnewsNewsItem', {
}, total=False)

ModelBbbnewsNewsResponse = TypedDict('ModelBbbnewsNewsResponse', {
'country': NotRequired[str],
'city': NotRequired[str],
'country': NotRequired[Literal['us', 'ca']],
'items': NotRequired[list[ModelBbbnewsNewsItem]],
'local_bbb_id': NotRequired[str],
'local_bbb_name': NotRequired[str],
'page': NotRequired[int],
'page_size': NotRequired[int],
'source_url': NotRequired[str],
'state': NotRequired[str],
'topic': NotRequired[str],
'total': NotRequired[int],
}, total=False)
Expand All @@ -5096,8 +5106,12 @@ ModelBbbnewsTopic = TypedDict('ModelBbbnewsTopic', {
}, total=False)

ModelBbbnewsTopicsResponse = TypedDict('ModelBbbnewsTopicsResponse', {
'country': NotRequired[str],
'city': NotRequired[str],
'country': NotRequired[Literal['us', 'ca']],
'local_bbb_id': NotRequired[str],
'local_bbb_name': NotRequired[str],
'source_url': NotRequired[str],
'state': NotRequired[str],
'topics': NotRequired[list[ModelBbbnewsTopic]],
}, total=False)

Expand Down Expand Up @@ -13343,7 +13357,14 @@ ModelDatasetsAppsSearchResponse = TypedDict('ModelDatasetsAppsSearchResponse', {
ModelDatasetsBbbbusinessesFacetResponse = TypedDict('ModelDatasetsBbbbusinessesFacetResponse', {
'dataset': NotRequired[str],
'facet': NotRequired[str],
'has_more': NotRequired[bool],
'items': NotRequired[list[ModelEsBbbbusinessesFacetItem]],
'limit': NotRequired[int],
'missing': NotRequired[int],
'offset': NotRequired[int],
'total': NotRequired[int],
'total_values': NotRequired[int],
'values_truncated': NotRequired[bool],
}, total=False)

ModelDatasetsBbbbusinessesSearchResponse = TypedDict('ModelDatasetsBbbbusinessesSearchResponse', {
Expand Down Expand Up @@ -79119,12 +79140,16 @@ DatasetsBbbBusinessesFacetsParams = TypedDict('DatasetsBbbBusinessesFacetsParams
'_response_type': NotRequired[ResponseType],
'_timeout': NotRequired[float],
'_headers': NotRequired[Mapping[str, str]],
'facet': Required[Literal['category', 'state', 'city', 'rating', 'accredited', 'entity_type', 'run_id', 'alert_title', 'has_alerts']],
'facet': Required[Literal['country', 'category', 'state', 'city', 'rating', 'accredited', 'entity_type', 'run_id', 'alert_title', 'has_alerts']],
'limit': NotRequired[int],
'offset': NotRequired[int],
'q': NotRequired[str],
'category': NotRequired[str],
'country': NotRequired[Literal['us', 'ca']],
'state': NotRequired[str],
'city': NotRequired[str],
'rating': NotRequired[Literal['A+', 'A', 'A-', 'B+', 'B', 'B-', 'C+', 'C', 'C-', 'D+', 'D', 'D-', 'F']],
'min_rating_rank': NotRequired[int],
'accredited': NotRequired[bool],
'has_alerts': NotRequired[bool],
'alert_title': NotRequired[str],
Expand All @@ -79148,6 +79173,7 @@ DatasetsBbbBusinessesSearchParams = TypedDict('DatasetsBbbBusinessesSearchParams
'_headers': NotRequired[Mapping[str, str]],
'q': NotRequired[str],
'category': NotRequired[str],
'country': NotRequired[Literal['us', 'ca']],
'state': NotRequired[str],
'city': NotRequired[str],
'rating': NotRequired[Literal['A+', 'A', 'A-', 'B+', 'B', 'B-', 'C+', 'C', 'C-', 'D+', 'D', 'D-', 'F']],
Expand Down
15 changes: 14 additions & 1 deletion crawlora/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -11780,10 +11780,12 @@
'formParams': [],
'id': 'datasets-bbb-businesses-facets',
'method': 'GET',
'paginatable': True,
'path': '/datasets/bbb-businesses/facets',
'pathParams': [],
'produces': ['application/json'],
'queryParams': [{'enum': ['category',
'queryParams': [{'enum': ['country',
'category',
'state',
'city',
'rating',
Expand All @@ -11796,8 +11798,14 @@
'name': 'facet',
'required': True,
'type': 'string'},
{'in': 'query', 'name': 'limit', 'type': 'integer'},
{'in': 'query', 'name': 'offset', 'type': 'integer'},
{'in': 'query', 'name': 'q', 'type': 'string'},
{'in': 'query', 'name': 'category', 'type': 'string'},
{'enum': ['us', 'ca'],
'in': 'query',
'name': 'country',
'type': 'string'},
{'in': 'query', 'name': 'state', 'type': 'string'},
{'in': 'query', 'name': 'city', 'type': 'string'},
{'enum': ['A+',
Expand All @@ -11816,6 +11824,7 @@
'in': 'query',
'name': 'rating',
'type': 'string'},
{'in': 'query', 'name': 'min_rating_rank', 'type': 'integer'},
{'in': 'query', 'name': 'accredited', 'type': 'boolean'},
{'in': 'query', 'name': 'has_alerts', 'type': 'boolean'},
{'in': 'query', 'name': 'alert_title', 'type': 'string'},
Expand Down Expand Up @@ -11846,6 +11855,10 @@
'produces': ['application/json'],
'queryParams': [{'in': 'query', 'name': 'q', 'type': 'string'},
{'in': 'query', 'name': 'category', 'type': 'string'},
{'enum': ['us', 'ca'],
'in': 'query',
'name': 'country',
'type': 'string'},
{'in': 'query', 'name': 'state', 'type': 'string'},
{'in': 'query', 'name': 'city', 'type': 'string'},
{'enum': ['A+',
Expand Down
4 changes: 2 additions & 2 deletions docs/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,9 @@ Total operations: `3695`
| datasets | `datasets.apps_charts_search` | `datasets-apps-charts-search` | `GET /datasets/apps-charts/search` | `q` (query str)<br>`store` (query Literal['ios', 'android'])<br>`chart_type` (query Literal['top_free', 'top_paid', 'top_grossing', 'new'])<br>`platform` (query str)<br>`collection` (query str)<br>`category` (query str)<br>`country` (query str)<br>`app_id` (query str)<br>`date` (query str)<br>`sort` (query Literal['rank', 'rank_desc', 'date_desc'])<br>`page` (query int)<br>`page_size` (query int) | `ApiKeyAuth` | `DatasetsAppsChartsSearchResponse` | |
| datasets | `datasets.apps_reviews_search` | `datasets-apps-reviews-search` | `GET /datasets/apps-reviews/search` | `q` (query str)<br>`store` (query Literal['ios', 'android'])<br>`app_id` (query str)<br>`country` (query str)<br>`min_score` (query int)<br>`sort` (query Literal['recent', 'score_desc', 'score_asc', 'helpful_desc'])<br>`page` (query int)<br>`page_size` (query int) | `ApiKeyAuth` | `DatasetsAppsReviewsSearchResponse` | |
| datasets | `datasets.apps_search` | `datasets-apps-search` | `GET /datasets/apps/search` | `q` (query str)<br>`store` (query Literal['ios', 'android', 'both'])<br>`platforms` (query list[str])<br>`category` (query str)<br>`country` (query str)<br>`developer` (query str)<br>`free` (query bool)<br>`min_rating` (query float)<br>`min_reviews` (query int)<br>`sort` (query Literal['relevance', 'rating_desc', 'reviews_desc', 'installs_desc', 'updated_at_desc', 'popularity_desc'])<br>`page` (query int)<br>`page_size` (query int) | `ApiKeyAuth` | `DatasetsAppsSearchResponse` | |
| datasets | `datasets.bbb_businesses_facets` | `datasets-bbb-businesses-facets` | `GET /datasets/bbb-businesses/facets` | `facet` (query Literal['category', 'state', 'city', 'rating', 'accredited', 'entity_type', 'run_id', 'alert_title', 'has_alerts'] required)<br>`q` (query str)<br>`category` (query str)<br>`state` (query str)<br>`city` (query str)<br>`rating` (query Literal['A+', 'A', 'A-', 'B+', 'B', 'B-', 'C+', 'C', 'C-', 'D+', 'D', 'D-', 'F'])<br>`accredited` (query bool)<br>`has_alerts` (query bool)<br>`alert_title` (query str)<br>`min_complaints` (query int)<br>`entity_type` (query str)<br>`run_id` (query str) | `ApiKeyAuth` | `DatasetsBbbBusinessesFacetsResponse` | |
| datasets | `datasets.bbb_businesses_facets` | `datasets-bbb-businesses-facets` | `GET /datasets/bbb-businesses/facets` | `facet` (query Literal['country', 'category', 'state', 'city', 'rating', 'accredited', 'entity_type', 'run_id', 'alert_title', 'has_alerts'] required)<br>`limit` (query int)<br>`offset` (query int)<br>`q` (query str)<br>`category` (query str)<br>`country` (query Literal['us', 'ca'])<br>`state` (query str)<br>`city` (query str)<br>`rating` (query Literal['A+', 'A', 'A-', 'B+', 'B', 'B-', 'C+', 'C', 'C-', 'D+', 'D', 'D-', 'F'])<br>`min_rating_rank` (query int)<br>`accredited` (query bool)<br>`has_alerts` (query bool)<br>`alert_title` (query str)<br>`min_complaints` (query int)<br>`entity_type` (query str)<br>`run_id` (query str) | `ApiKeyAuth` | `DatasetsBbbBusinessesFacetsResponse` | |
| datasets | `datasets.bbb_businesses_item` | `datasets-bbb-businesses-item` | `GET /datasets/bbb-businesses/items/{id}` | `id` (path str required) | `ApiKeyAuth` | `DatasetsBbbBusinessesItemResponse` | |
| datasets | `datasets.bbb_businesses_search` | `datasets-bbb-businesses-search` | `GET /datasets/bbb-businesses/search` | `q` (query str)<br>`category` (query str)<br>`state` (query str)<br>`city` (query str)<br>`rating` (query Literal['A+', 'A', 'A-', 'B+', 'B', 'B-', 'C+', 'C', 'C-', 'D+', 'D', 'D-', 'F'])<br>`min_rating_rank` (query int)<br>`accredited` (query bool)<br>`has_alerts` (query bool)<br>`alert_title` (query str)<br>`min_complaints` (query int)<br>`entity_type` (query str)<br>`run_id` (query str)<br>`sort` (query Literal['relevance', 'rating_desc', 'rating_asc', 'accredited_first', 'name_asc', 'years_in_business_desc', 'complaints_desc'])<br>`page` (query int)<br>`page_size` (query int) | `ApiKeyAuth` | `DatasetsBbbBusinessesSearchResponse` | |
| datasets | `datasets.bbb_businesses_search` | `datasets-bbb-businesses-search` | `GET /datasets/bbb-businesses/search` | `q` (query str)<br>`category` (query str)<br>`country` (query Literal['us', 'ca'])<br>`state` (query str)<br>`city` (query str)<br>`rating` (query Literal['A+', 'A', 'A-', 'B+', 'B', 'B-', 'C+', 'C', 'C-', 'D+', 'D', 'D-', 'F'])<br>`min_rating_rank` (query int)<br>`accredited` (query bool)<br>`has_alerts` (query bool)<br>`alert_title` (query str)<br>`min_complaints` (query int)<br>`entity_type` (query str)<br>`run_id` (query str)<br>`sort` (query Literal['relevance', 'rating_desc', 'rating_asc', 'accredited_first', 'name_asc', 'years_in_business_desc', 'complaints_desc'])<br>`page` (query int)<br>`page_size` (query int) | `ApiKeyAuth` | `DatasetsBbbBusinessesSearchResponse` | |
| datasets | `datasets.bbb_scamtracker_reports_facets` | `datasets-bbb-scamtracker-reports-facets` | `GET /datasets/bbb-scamtracker-reports/facets` | `facet` (query Literal['scam_type', 'state', 'country'] required)<br>`q` (query str)<br>`scam_type` (query str)<br>`state` (query str)<br>`country` (query Literal['USA', 'CAN'])<br>`date_from` (query str)<br>`date_to` (query str)<br>`min_loss` (query float)<br>`max_loss` (query float) | `ApiKeyAuth` | `DatasetsBbbScamtrackerReportsFacetsResponse` | |
| datasets | `datasets.bbb_scamtracker_reports_item` | `datasets-bbb-scamtracker-reports-item` | `GET /datasets/bbb-scamtracker-reports/items/{id}` | `id` (path str required) | `ApiKeyAuth` | `DatasetsBbbScamtrackerReportsItemResponse` | |
| datasets | `datasets.bbb_scamtracker_reports_search` | `datasets-bbb-scamtracker-reports-search` | `GET /datasets/bbb-scamtracker-reports/search` | `q` (query str)<br>`scam_type` (query str)<br>`state` (query str)<br>`country` (query Literal['USA', 'CAN'])<br>`date_from` (query str)<br>`date_to` (query str)<br>`min_loss` (query float)<br>`max_loss` (query float)<br>`sort` (query Literal['relevance', 'reported_desc', 'reported_asc', 'loss_desc'])<br>`page` (query int)<br>`page_size` (query int) | `ApiKeyAuth` | `DatasetsBbbScamtrackerReportsSearchResponse` | |
Expand Down
Loading
Loading