Provides a list of Airsoft Events from the Airbana database, filterable by Start date with a variable detail level.

Defaults: Brief output of events in the next 7 days

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

Formats: xml, json, php

Parameters:

  • startdate: string YYYY-MM-DD optional Beginning Date
  • enddate: string YYYY-MM-DD optional Ending Date
  • detailed: bool optional Dictates verbosity of output;
    • true - Maximum details Governened by your access level
    • false - Brief details
  • apikey: string optional Your unique API Key

Returns:

Information about the Events happening within the time frame specified 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

Brief Output:

  • events parent element / array contains a collection of children with the following info;
    • 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
    • eventenddate: string The date this Event will end YYYY-MM-DD
    • eventname: string The name of the Event
    • eventsynopsis: string A brief description of the event

Detailed Output:

  • events parent element / array contains a collection of children with the following info;
    • 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/events.xml
  • http://api.airbana.net/2.0/events.json?detailed=true
  • http://api.airbana.net/2.0/events.xml?startdate=2010-01-01&enddate=2010-04-01

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