API

Last Updated on October 24th, 2022

Jeff the Giraffe

Jeff fetches his daily messages from a JSON file that contains:


Current Message Endpoint:

https://api.empanadas.io/v1/jeff.php

All Messages Endpoint:

Requires an API Key from your Empanadas.io account.

https://api.empanadas.io/v1/jeff_history.php?apikey=YOUR_SECRET_HERE

The JSON formatting for the jeff_history endpoint works by using the message ID's at the start of each path. The timestamp and clientid argument are kept outside of the main message ID scope. Your clientid is a small unique and public identifier linking your Empanadas.io account to your API keys. All Empanadas.io users are able to generate up to 5 API Keys for their account here. Never share your API Secret with anyone. We may randomly change your API keys for security in the future.

Generate an API Key

Global Stats

Empanadas.io can return a JSON file that sums up all data from all accounts.

Endpoint:

https://api.empanadas.io/v1/stats.php

Announcements API

Get the latest updates from Empanadas.io with our update API endpoint:

Endpoint:

https://api.empanadas.io/v1/updates.php

To grab older posts, add a ?page parameter to the URL. I.E api.empanadas.io/v1/updates?page=3



System Status API

To prevent our status page from going offline when our origin server does, we use a 3rd party service to monitor and report incidents and outages. We can not see or monitor any API requests made to these endpoints. Seperate privacy policies, usage limits, and terms do apply.

You may view the seperate API for our status page here.


Helpful Tips

We give NO GUARANTEE that these methods won't have breaking changes. Basically, we want you to know that we may abruptly update our APIs, change their paths, change what they return, change how much they return, or some other form of change that could result in whatever calls you make to our services to break your application. By using our API, you understand this side-effect. We will try our best to bump the v number when breaking changes are made. At the moment v1 is the latest version. Directory listing is enabled on our api sub-domain, so feel free to use this in finding what you're looking for!

Request Limits

Since all of our APIs are cached on a CDN for 2 hours: All of our public API requests have no request limits. Should you suspect your applications traffic will exceeding normal expectations, we encourage you to implement caching techniques accordingly. Should you abuse our services, your access to our website and API will be revoked accordingly.

Questions About Our APIs?

Need help? Have a question? Join our discord or fill our our contact form and our lovely Empanada team would be more than happy to answer any of your questions.