libcue provides an API for parsing and extracting data from CUE sheets.
libcue was originally forked from cuetools and then enhanced to add additional features.
Please refer to libcue.h for the API.
Some usage examples are also available in the test cases under t/.
One should note that while the CUE format is supported by various tools, such as media players or CD ripping tools, there is no single standard that strictly describes the CUE syntax.
libcue attempts to parse the most commonly known CUE layouts, but it does not claim to support every possible combination.
Therefore, if you would like to contribute to the library, please include a test case with your pull request to ensure that the functionality does not break in the future.