Dominaria uses the setcode DAR on Magic Online.
DAR
This is something that would be useful to include in the API.