Your first API call
Now let's take our long-term API token and make our first API call. You will need to add 2 headers to your request to make it work:
Content-Type
with the valueapplication/json
Authorization
with your API token as value
curl --location --request GET 'https://api.mediarithmics.com/v1/plugins?max_results=100' \
--header 'content-type: application/json' \
--header 'Authorization: <API_TOKEN>'
And there your are!
You'll notice that responses are formatted a bit like this:
{
"status": "ok",
"data": [
...
],
"count": 100,
"total": 181,
"first_result": 0,
"max_result": 100,
"max_results": 100
}
Check out our api guide if you want to learn about the different response formats.
Also you can check our API reference for a complete list of endpoints.
Last updated
Was this helpful?