The Teknik API is free for everyone to use, and is defined on a per service basis.
The general API calls can be summarized as follows: https://dev.teknik.io/?sub=apiv1/Service/Action
For some services, you may be required to authenticate to access them, or to associate generated content with your account. In all cases, the same authentication methods can be used.
curl -H "Authorization: token OATH-TOKEN" https://dev.teknik.io/?sub=apiv1/
<OAUTH-TOKEN>
with your access token.
$ curl -H <OAUTH-TOKEN> --data code="Test" https://dev.teknik.io/v1/Paste?sub=api
All responses are returned as json. The returned json can contain any of the following sections.
Results
{"result":{"<resultData>":"<value>"}}
Errors
{"error":{"message":"<errorMessage>"}}