Create apiversion.c

Use API