Some of the fields have a limited set of strings that are acceptable, such as category, country, or language. It would probably be more user friendly if these were checked for validity before being passed to the API.
Enums would also be possible, though that could make for more work on the library user depending on how they are writing their code, and could also be a breaking change.
Some of the fields have a limited set of strings that are acceptable, such as category, country, or language. It would probably be more user friendly if these were checked for validity before being passed to the API.
Enums would also be possible, though that could make for more work on the library user depending on how they are writing their code, and could also be a breaking change.