using NewscatcherApi;try { var response = await client.Search.PostAsync(...);} catch (NewscatcherApiApiException e) { Console.WriteLine(e.Body); Console.WriteLine(e.StatusCode);}
For complete documentation, including retry configuration and timeouts, see the
GitHub repository.
If you use our legacy C# SDK (Konfig-based), see our Legacy
SDKs documentation. We recommend
migrating to this newer SDK for improved features and ongoing support.