Uhm. No. And I do know the diffrence between an API and a peripheral. An API in computercraft is one of two things. It's either a file being loaded automatically on startup because it exists in rom, or using "os.loadAPI( name )".
The modem is used by wrapping the peripheral directly, which means any name can be used. "modem.transmit()" and "iceCreamIsGreat.transmit()" both work, as modem is not an API, it's a peripheral.
I agree that peripherals have functions and methods, but they are very diffrent from APIs