Skip to content

feat: rename aggregation module to aggregation_count - #25

Closed
fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-03-16T18-48Z
Closed

fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-03-16T18-48Z

Conversation

@fern-api

@fern-api fern-api Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor
  • The aggregation API client has been renamed and reorganized for better clarity. The client.aggregation property is now client.aggregation_count, and methods have been simplified from count_get/count_post to get/post. All response types have been renamed to match. Update your code: replace client.aggregation.count_get() with client.aggregation_count.get() and client.aggregation.count_post() with client.aggregation_count.post().
  • Method names have been simplified across all client modules. Methods like latest_headlines_get(), search_by_link_post(), and authors_get() are now renamed to get() and post(). Update your code to use the new method names: replace client.latest_headlines.latest_headlines_get() with client.latest_headlines.get(), and similarly for all other affected methods. Response type names have also changed from service-prefixed to verb-prefixed patterns.
  • Type alias names have been renamed for consistency: SearchGetResponse is now GetSearchResponse, SearchPostResponse is now PostSearchResponse, and LatestHeadlinesPostResponse is now PostLatestHeadlinesResponse. Update any direct imports or type annotations to use the new names.

Restructures the aggregation API client to better reflect its purpose of handling count-based aggregations. This update renames the client classes, module paths, and method names for improved clarity.

Key changes:
- Rename `aggregation` module to `aggregation_count`
- Rename `AggregationClient` to `AggregationCountClient` 
- Rename methods `count_get` → `get` and `count_post` → `post`
- Update response type names for consistency
- Update `breaking_news` and `latest_headlines` method names for consistency

🌿 Generated with Fern
@oscatcher

Copy link
Copy Markdown
Contributor

superseded by the merged PR #28

@oscatcher oscatcher closed this Mar 16, 2026
@oscatcher
oscatcher deleted the fern-bot/2026-03-16T18-48Z branch May 1, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant