Provides details of the latest Event and Site added to the Airbana database.

Defaults: None

URL: http://api.airbana.net/2.0/latest.format

Formats: xml, json, php

Parameters:

  • apikey: string optional Your unique API Key
  • detailed: bool optional Dictates verbosity of output;
    • true - Maximum details Governened by your access level
    • false - Brief details

Returns:

Information about the latest Site and Event at the verbosity specified.

API Details:

  • timestamp: int The epoch timestamp
  • errorcode: int The return code of the query;
    • 0 - Everything is OK
    • 1 - API Key Error
    • 2 - Query Error
    • 3 - Permissions Error
    • 4> - Unknown

Detailed Output:

  • siteid: int The unique ID of this Site
  • sitename: string The Site Name
  • website: string The URL of this sites own Website
  • contactphone: string The Site Operators phone number
  • contactemail: string The Site Operators email address
  • address1: string Line 1 of the site address
  • address2: string Line 2 of the site address
  • postcode: string The Site's postcode
  • forumlink: string The URL to the site operators preferred online forum
  • type: int Site Type;
    • 1 - Skirmish Site
    • 2 - Retailer Site
  • ukasgb: int Membership of UKASGB;
    • 0 - No
    • 1 - Yes
  • ukara: int UKARA Member;
    • 0 - No
    • 1 - Yes
  • shoponsite: int Is there a shop on site;
    • 0 - No
    • 1 - Yes
  • explosivesallowed: int Are pyrotechnics allowed;
    • 0 - No
    • 1 - Yes
  • environment: int Skirmish Environment
    • 1 - Woodland
    • 2 - Urban
  • batterycharging: int is there on site battery charging available;
    • 0 - No
    • 1 - Yes
  • repairs: int Can RIF's be repaired on site;
    • 0 - No
    • 1 - Yes
  • region: int The part of the world this site is listed in;
    • 1 - United Kingdom
    • 2 - Europe
    • 3 - U.S.A
    • 4 - Asia
  • eventid: int The unique ID of this Event
  • eventsiteid: int The unique ID of the site this event is being held at
  • eventstartdate: string The date this Event will start on YYYY-MM-DD
  • eventstarttime: string The time this Event will start at HH:MM:SS
  • eventenddate: string The date this Event will end YYYY-MM-DD
  • eventendtime: string The time this Event will end at HH:MM:SS
  • eventname: string The name of the Event
  • eventsynopsis: string A brief description of the event
  • eventdescription: string A more detailed description of the event
  • eventtype: string Describes what sort of event this is;
    • Skirmish - A Normal Airsoft Skirmish
    • Milsim - A Military Simulation (better check the rules)
    • Competition - Some form of competetion
  • eventwalkoncost: float The cost of a walk on place
  • eventhireprice: float The cost of the default Hire package
  • eventtotalplaces: int How many spaces are there available at this event
  • eventhireplaces: int How many hire packages are there available at this event
  • eventurl: string The site or Event organisers specific URL
  • eventrules: string Any special rules specific to this event
  • eventstatus: string The current status of the event;
    • normal - Everything is as planned
    • pending - The Event has been postponed
    • cancelled - The Event has been cancelled
  • eventagelimit: int Minimum age for players at this event
  • eventbookingrequired: string Do players need to reserve their places;
    • Yes
    • No

Example Requests:

  • http://api.airbana.net/2.0/latest.xml
  • http://api.airbana.net/2.0/event.json?detailed=true

Sites Using the API Why not check out their website too..

Contact Details Why not get in touch?

I'm always interested to hear what the Airsoft community thinks of Airbana and what it would like to see Airbana do next.

Address:
www.Airbana.net
www.AirsoftMap.net
Phone:
+44 871 3096879
Twitter:
@Airbana
E-mail:
Gareth@Airbana.net

Flickr

...see more