The Google Search Analytics API, which already provides data about Search performance, is being updated to also include Discover and Google News data.
Site owners that have this type of traffic will now be able to pull it programatically through the API. In addition, Regex support has also been added
to the query and page dimensions.
Source: Google Webmaster Central Blog
Link: Search Analytics API now supports Discover, Google News, and Regex