API packaging