Provides a detailed data on one particular Airsoft Site from the database.

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

Formats: xml, json, php

Parameters:

  • siteid: int The unique ID of this Airsoft site
  • apikey: string optional Your unique API Key

Returns:

Information about the site requested

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

Enhanced Read Access Output:

As above with the addition of;
  • Latitude: float The GPS Latitude co-ordinates of the site
  • Longitude: float The GPS Longitude co-ordinates of the site

Example Requests:

  • http://api.airbana.net/2.0/site.xml?siteid=100
  • http://api.airbana.net/2.0/site.json?siteid=100

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