Trevlix API
When you say API, every experienced developer imagines many months of hard work.
But we're Trevlix and we want to do things differently 😉
So you can find out the availability of the whole accommodation with a single command GET /availability-all/
And send us your reservation with one command POST /booking-create/
Now you probably think that's nice, but I'll still have to study three hundred pages of incomprehensible documentation, and I'll spend at least a month developing the basic features of the trial-and-error API connection.
No, we are developers ourselves and we know how frustrating it is.
- See one-page documentation on Swagger.
- And minimalist PHP examples can be found on GitHub . Samples for all API functions are on a few lines of code. You don't need more.
- If you prefer Python, examples are here.
- And if you don't use PHP or Python, you'll also find universal examples for the cURL library on GitHub, which is supported in more than 50 programming languages.
So in 5 minutes you can use the API happily. Just "Easy peasy, lemon squeezy". That's how we like it👍