I'm building a desktop application and I'm downloading font ".ttf" files from Google Fonts with the application. I've managed to do that by utilizing the JSON response from the Developer API: https://developers.google.com/fonts/docs/developer_api
The JSON response returns locations for the font files so I'm able to download and use them.
But if I'm reading the licenses correctly, the license files should always be included when distributing font files. So I need a way to download the license ".txt" file so I'm not breaking the terms of the license agreement by downloading ".ttf" files to each PC that the application is on. I can find the license files on the Google/Fonts Github but not anywhere within the API documentation.
The JSON response doesn't include any license information (although I've opened an issue on the Google Font's GitHub that I was hoping would help: https://github.com/google/fonts/issues/2799)
So how could I find Google Font's license ".txt" file for a given font family?