API for Developers

This awsome API crated by us allows you to get our data to your web or mobile applications.

What is an API?

An API or Application Programming Interface is a group of classes, methods or functions. By the way, it's a service offred by a software to others softwares's services.

Copyright © 2019 - Royal Air Maroc Vlines
URL Requests

This is all available files to get any data below:

Flights Data

https://api.ram-vlines.com/vam/api/flights.php

Airline Data

https://api.ram-vlines.com/vam/api/va_data.php


Get more specific content (faster method): URL Parameter "content"

https://api.ram-vlines.com/vam/api/va_data.php?content=stats
or
https://api.ram-vlines.com/vam/api/flights.php?content=total

URL Parameter: "Content"

The "content" parameter can take all the first items section of the array. All the content values are the blue values on the picture below




For exemple, if you add to the API link ?content=total, you'll get the red data (picture below):


Next