Implement mtgdapi service, issue/2