Python Twitch API Follow

I understand that, but would I literally write it? I am completely new to APIs.