/* =============================================
 * Urbanesia API v1.0 Documentation - GET Method
 * =============================================
 */

Legend:
- [G] => $_GET Variables
- [P] => $_POST Variables

* -------------------- *
* SUPER SEARCH - Start *
* -------------------- *

Base URL: http://api1.urbanesia.com/get/super_search

Parameters:
- [G] what	    => What Keyword							=> Default Value: [BLANK]
- [G] where	    => Where Keyword							=> Default Value: [BLANK]
- [G] subcat	    => Subcategories Keyword						=> Default Value: [BLANK]
- [G] ll	    => [@Override where] Latitude & Longitude, ex: -6.255183,106.781477 => Default Value: [BLANK]
- [G] s		    => Sorting Order: 1 = Relevance DESC, 2 = Distance DESC		=> Default Value: 1
- [G] d		    => Relative distance from where or ll				=> Default Value: 10
- [G] row	    => The number of rows returned. Maximum = 500			=> Default Value: 20
- [G] offset	    => The current offset (behaves like MySQL exactly)			=> Default Value: 0
- [G] compress	    => Valid input: true or false					=> Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array		=> Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]					=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]					=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]					=> [Array] Array of $_GET variables declared
- [biz_profile]							=> [Array] Array of business profiles matching the search query
- [biz_profile][$biz_id]					=> [Array] Array of the specific business profile with ID = $biz_id
- [biz_profile][$biz_id][id]					=> [INTEGER] Business profile ID
- [biz_profile][$biz_id][weight]				=> [INTEGER] Weight score
- [biz_profile][$biz_id][attrs]					=> [Array] Array of business profile information
- [biz_profile][$biz_id][attrs][latitude]			=> [DOUBLE] Latitude of the business profile
- [biz_profile][$biz_id][attrs][longitude]			=> [DOUBLE] Longitude of the business profile
- [biz_profile][$biz_id][attrs][business_uri]			=> [STRING] URI of the business profile
- [biz_profile][$biz_id][attrs][business_uri_complete]		=> [STRING] Full URL of the business profile
- [biz_profile][$biz_id][attrs][business_primary_photo]		=> [STRING] The primary photo of the business profile (defaults to blank if none)
- [biz_profile][$biz_id][attrs][business_logo]			=> [STRING] The logo used for the business profile (defaults to blank if none)
- [biz_profile][$biz_id][attrs][use_photo]			=> [STRING] The image representing this business profile (uploaded image set as primary photo or logo or default image)
- [biz_profile][$biz_id][attrs][use_photo_full]			=> [STRING] Full URL of the image
- [biz_profile][$biz_id][attrs][business_parent_id]		=> [INTEGER] If the business profile is located on another business place, the ID of the business place is shown
- [biz_profile][$biz_id][attrs][business_parent_name]		=> [STRING] The name of the business place where the business profile is located
- [biz_profile][$biz_id][attrs][business_parent_uri]		=> [STRING] The URI of the business place where the business profile is located
- [biz_profile][$biz_id][attrs][business_parent_uri_complete]	=> [STRING] Full URL of the business place where the business profile is located
- [biz_profile][$biz_id][attrs][@geodist]			=> [FLOAT] Relative distance in meters
- [biz_profile][$biz_id][attrs][distance_kilometer]		=> [STRING] Relative distance in kilometer
- [biz_profile][$biz_id][attrs][rating]				=> [FLOAT] Business profile rating
- [distance]							=> [FLOAT] Relative distance in meters

Best Practice:
- Search for pizza						=> [GET] http://api1.urbanesia.com/get/super_search?what=pizza&s=1&d=15&row=10&offset=0&output_type=json
- Search for pizza near pondok indah				=> [GET] http://api1.urbanesia.com/get/super_search?what=pizza&where=pondok+indah&s=1&d=15&row=10&offset=0&output_type=json
- Search for pizza near pondok indah with your position defined	=> [GET] http://api1.urbanesia.com/get/super_search?what=pizza&ll=-6.255183,106.781477&s=1&d=15&row=10&offset=0&output_type=json
- Search for subcategory "Hotel 5 Star"				=> [GET] http://api1.urbanesia.com/get/super_search?subcat=Hotel+5+Star&s=1&d=15&row=10&offset=0&output_type=json
- Search for subcategory "Hotel 5 Star" near sudirman		=> [GET] http://api1.urbanesia.com/get/super_search?subcat=Hotel+5+Star&where=sudirman&s=1&d=15&row=10&offset=0&output_type=json
- Search for nearby hotels					=> [GET] http://api1.urbanesia.com/get/super_search?subcat=Hotel&ll=-6.255183,106.781477&s=2&d=15&row=10&offset=0&output_type=json

* ------------------ *
* SUPER SEARCH - End *
* ------------------ *

* ------------------------ *
* Business Profile - Start *
* ------------------------ *

Base URL: http://api1.urbanesia.com/get/profile

Parameters:
- [G] business_uri  => URI of the business profile			    => Default Value: [BLANK]
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][type]						=> [STRING] API Call type
- [diagnostics][parameter]					=> [Array] Array of GET & POST parameters
- [diagnostics][total_execution_time]				=> [FLOAT] Time needed to execute the query
- [diagnostics][application_name]				=> [STRING] Application name calling the query
- [diagnostics][other]						=> [Array] Array of extra Information
- [diagnostics][other][application]				=> [Array] Array of application information
- [diagnostics][other][application][app_id]			=> [INTEGER] Application ID
- [diagnostics][other][application][app_title]			=> [STRING] Application Name
- [diagnostics][other][application][app_description]		=> [STRING] Application Description
- [diagnostics][other][application][app_callback]		=> [STRING] Callback URL of the application
- [diagnostics][other][application][app_created_date]		=> [DATETIME] Application creation date
- [diagnostics][error]						=> [Array] Array of errors encountered
- [business_place]						=> [STRING] The business place where the business profile is located (if any)
- [business_name]						=> [STRING] Business profile name
- [business_id]							=> [INTEGER] Business profile ID
- [position_latitude]						=> [STRING] Business profile latitude coordinate
- [position_longitude]						=> [STRING] Business profile longitude coordinate
- [business_address]						=> [STRING] Addres of the business profile
- [business_subcategories]					=> [Array] [STRING] Subcategories of the business profile
- [business_map]						=> [STRING] Static map using Google Maps
- [business_primary_photo]					=> [STRING] The image representing this business profile (uploaded image set as primary photo or logo or default image)
- [reviews]							=> [Array] Array of Reviews if available
- [biz_rating]							=> [Array] Array of this business' rating
- [attributes]							=> [Array] Array of this business' attributes

Best Practice:
- Get business profile of URI = ayoklik-indonesia		=> [GET] http://api1.urbanesia.com/get/profile?business_uri=ayoklik-indonesia&output_type=json

* ---------------------- *
* Business Profile - End *
* ---------------------- *

* --------------- *
* ARTICLE - Start *
* --------------- *

Base URL: http://api1.urbanesia.com/get/article

Parameters:
- [P] year	    => Year of the article(s)				    => Default Value: [CURRENT YEAR]
- [P] month	    => Month of the article(s)				    => Default Value: [CURRENT MONTH]
- [P] uri	    => URI of the article				    => Default Value: [BLANK]
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][parameter]					=> [Array] Array of GET & POST parameters
- [diagnostics][total_execution_time]				=> [FLOAT] Time needed to execute the query
- [diagnostics][application_name]				=> [STRING] Application name calling the query
- [diagnostics][other]						=> [Array] Array of extra Information
- [diagnostics][other][application]				=> [Array] Array of application information
- [diagnostics][other][application][app_id]			=> [INTEGER] Application ID
- [diagnostics][other][application][app_title]			=> [STRING] Application Name
- [diagnostics][other][application][app_description]		=> [STRING] Application Description
- [diagnostics][other][application][app_callback]		=> [STRING] Callback URL of the application
- [diagnostics][other][application][app_created_date]		=> [DATETIME] Application creation date
- [diagnostics][error]						=> [Array] Array of errors encountered
- [result]							=> [Array] Array of results
- [result][$iteration][article_cont_id]				=> [INTEGER] Article ID
- [result][$iteration][article_sec_id]				=> [INTEGER] Section ID
- [result][$iteration][article_sec_uri]				=> [STRING] Section URI
- [result][$iteration][article_sec_name]			=> [STRING] Section Name
- [result][$iteration][article_sec_desc]			=> [STRING] Section Description
- [result][$iteration][article_cat_id]				=> [INTEGER] Article category ID
- [result][$iteration][article_cat_name]			=> [STRING] Article category name
- [result][$iteration][article_cat_desc]			=> [STRING] Article category description
- [result][$iteration][article_cont_uri]			=> [STRING] Article URI
- [result][$iteration][article_cont_title]			=> [STRING] Article Title
- [result][$iteration][article_cont_long_title]			=> [STRING] Article Long Title
- [result][$iteration][article_cont_picture]			=> [STRING] Article primary picture
- [result][$iteration][article_cont_teaser]			=> [STRING] Article teaser
- [result][$iteration][article_cont_created_date]		=> [DATATIME] Article creation date
- [result][$iteration][article_cont_created_by]			=> [INTEGER] Article creator ID
- [result][$iteration][article_cont_created_by_uri]		=> [STRING] Article creator URI
- [result][$iteration][article_cont_created_by_name]		=> [STRING] Article creator name
- [result][$iteration][article_cont_created_by_name_english]	=> [STRING] Article creator name formatted for English language
- [result][$iteration][article_cont_modified_date]		=> [DATETIME] Article modified date
- [result][$iteration][article_cont_modified_by]		=> [INTEGER] Article modifier ID
- [result][$iteration][article_cont_published]			=> [INTEGER] Article published status
- [result][$iteration][article_cont_published_by]		=> [INTEGER] Article publisher ID
- [result][$iteration][article_start_publish_date]		=> [DATETIME] Article validity (START)
- [result][$iteration][article_end_publish_date]		=> [DATETIME] Article validity (END)
- [result][$iteration][article_list_id]				=> [INTEGER] Article list ID
- [result][$iteration][article_cont_flag]			=> [INTEGER] Article active/inactive flag
- [result][$iteration][article_frontend]			=> [INTEGER] Article frontend published status
- [result][$iteration][article_premium]				=> [INTEGER] Article premium status
- [result][$iteration][user_contributed_article]		=> [INTEGER] Article user contributed status
- [result][$iteration][article_cont_year]			=> [INTEGER] Article creation year
- [result][$iteration][article_cont_month]			=> [INTEGER] Article creation month
- [result][$iteration][article_cont_month_name]			=> [STRING] Article creation month name
- [result][$iteration][article_cont_month_short_name]		=> [STRING] Article creation month short name
- [result][$iteration][article_cont_day]			=> [STRING] Article creation day
- [req]								=> [Array] Array of authorization info
- [req][signature]						=> OAUTH Signature
- [req][outprm]							=> OAUTH Parameters
- [req][base_sig]						=> OAUTH Base Signature String

Best Practice:
- Get articles for November 2010				=> [GET] http://api1.urbanesia.com/get/article?output_type=json [POST] &year=2010&month=11
- Get article with URI = urbanfest-2010				=> [GET] http://api1.urbanesia.com/get/article?output_type=json [POST] &uri=urbanfest-2010

* ------------- *
* ARTICLE - End *
* ------------- *

* ------------- *
* EVENT - Start *
* ------------- *

Base URL: http://api1.urbanesia.com/get/event

Parameters:
- [G] event_uri	    => URI of the event profile				    => Default Value: [BLANK]
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][parameter]					=> [Array] Array of GET & POST parameters
- [diagnostics][total_execution_time]				=> [FLOAT] Time needed to execute the query
- [diagnostics][application_name]				=> [STRING] Application name calling the query
- [diagnostics][other]						=> [Array] Array of extra Information
- [diagnostics][other][application]				=> [Array] Array of application information
- [diagnostics][other][application][app_id]			=> [INTEGER] Application ID
- [diagnostics][other][application][app_title]			=> [STRING] Application Name
- [diagnostics][other][application][app_description]		=> [STRING] Application Description
- [diagnostics][other][application][app_callback]		=> [STRING] Callback URL of the application
- [diagnostics][other][application][app_created_date]		=> [DATETIME] Application creation date
- [diagnostics][error]						=> [Array] Array of errors encountered
- [event_uri]							=> [STRING] URI of the event profile
- [eventSearchResultBasic]					=> [Array] Basic event profile info
- [eventSearchResultBasic][id]					=> [INTEGER] Event ID
- [eventSearchResultBasic][title]				=> [STRING] Event title
- [eventSearchResultBasic][uri]					=> [STRING] Event URI
- [eventSearchResultBasic][tagline]				=> [STRING] Event tagline
- [eventSearchResultBasic][description]				=> [STRING] Event Description
- [eventSearchResultBasic][owner_id]				=> [INTEGER] Event Owner ID (USER)
- [eventSearchResultBasic][owner_fname]				=> [STRING] Event owner first name
- [eventSearchResultBasic][owner_lname]				=> [STRING] Event owner last name
- [eventSearchResultBasic][owner_uri]				=> [STRING] Event owner URI
- [eventSearchResultBasic][business_id]				=> [INTEGER] Business profile hosting the event
- [eventSearchResultBasic][business_name]			=> [STRING] Business profile name hosting the event
- [eventSearchResultBasic][business_uri]			=> [STRING] Business profile URI hosting the event
- [eventSearchResultBasic][is_public]				=> [INTEGER] Public event flag
- [eventSearchResultBasic][is_searchable]			=> [INTEGER] Searchable event flag
- [eventSearchResultBasic][is_featured]				=> [INTEGER] Featured event flag
- [eventSearchResultBasic][is_recurring]			=> [INTEGER] Recurring event flag
- [eventSearchResultBasic][unmanaged]				=> [INTEGER] Unmanaged event flag
- [eventSearchResultBasic][photo]				=> [STRING] Event photo
- [eventLocation]						=> [Array] Array of event location info
- [eventLocation][event_id]					=> [INTEGER] Event ID
- [eventLocation][event_business_place_id]			=> [INTEGER] Business profile ID where the event is held
- [eventLocation][event_location_address]			=> [STRING] Event address
- [eventLocation][event_location_desc]				=> [STRING] Event location description
- [eventLocation][event_lat]					=> [DOUBLE] Event latitude coordinate
- [eventLocation][event_long]					=> [DOUBLE] Event longitude coordinate
- [fee]								=> [Array] Applicable fees for this event
- [telepon]							=> [Array] Telephone numbers listed
- [fax]								=> [Array] Fax numbers listed
- [email]							=> [Array] Email addresses listed
- [sponsor]							=> [Array] Sponsors listed
- [biz_place]							=> [Array] Additional info of the business profile hosting the event
- [biz_place][business_uri]					=> [STRING] URI of the business profile hosting the event
- [biz_place][business_name]					=> [STRING] Business profile name hosting the event
- [thumb_photos]						=> [Array] Thumbnails of images uploaded
- [event_time]							=> [Array] Array of event times
- [req]								=> [Array] Array of authorization info
- [req][signature]						=> OAUTH Signature
- [req][outprm]							=> OAUTH Parameters
- [req][base_sig]						=> OAUTH Base Signature String

Best practice:
- Get event profile of event_uri = world-cinema-features	=> [GET] http://api1.urbanesia.com/get/event?event_uri=world-cinema-features&output_type=json

* ----------- *
* EVENT - End *
* ----------- *

* ------------- *
* PROMO - Start *
* ------------- *

Base URL: http://api1.urbanesia.com/get/promo

Parameters:
- [G] promo_uri	    => URI of the promo profile				    => Default Value: [BLANK]
- [G] promo_offset  => The current offset (behaves like MySQL exactly)	    => Default Value: 0
- [G] promo_count   => The maximum number of rows returned		    => Default Value: 10, Maximum: 30
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][parameter]					=> [Array] Array of GET & POST parameters
- [diagnostics][total_execution_time]				=> [FLOAT] Time needed to execute the query
- [diagnostics][application_name]				=> [STRING] Application name calling the query
- [diagnostics][other]						=> [Array] Array of extra Information
- [diagnostics][other][application]				=> [Array] Array of application information
- [diagnostics][other][application][app_id]			=> [INTEGER] Application ID
- [diagnostics][other][application][app_title]			=> [STRING] Application Name
- [diagnostics][other][application][app_description]		=> [STRING] Application Description
- [diagnostics][other][application][app_callback]		=> [STRING] Callback URL of the application
- [diagnostics][other][application][app_created_date]		=> [DATETIME] Application creation date
- [diagnostics][error]						=> [Array] Array of errors encountered
- [$promo_index][promo_id]					=> [INTEGER] Promo ID
- [$promo_index][promo_startdate]				=> [DATE] Promo start date
- [$promo_index][promo_enddate]					=> [DATE] Promo end date
- [$promo_index][promo_amount]					=> [INTEGER] Promo value
- [$promo_index][promo_title]					=> [STRING] Promo title
- [$promo_index][promo_syarat]					=> [STRING] Terms & Conditions of the promo
- [$promo_index][business_id]					=> [INTEGER] Business ID hosting the promo
- [$promo_index][promo_linkingtype]				=> [STRING] Flag to determine if the promo is valid only for this branch or for all branches
- [$promo_index][promo_bizlogo]					=> [STRING] Full URL of the business profile's logo
- [$promo_index][promo_image]					=> [STRING] The image used for the promo
- [$promo_index][promo_uri]					=> [STRING] The URI of the promo
- [$promo_index][promo_featured]				=> [INTEGER] Flag to determine if the promo is featured or not
- [$promo_index][creditcard]					=> [Array] Array of credit cards valid for this promo
- [req]								=> [Array] Array of authorization info
- [req][signature]						=> OAUTH Signature
- [req][outprm]							=> OAUTH Parameters
- [req][base_sig]						=> OAUTH Base Signature String

Best Practice:
- Get promo profile of promo = sarang-burung-walet		=> [GET] http://api1.urbanesia.com/get/promo?promo_uri=sarang-burung-walet&output_type=json
- Get all current promos at offset 2, 20 rows			=> [GET] http://api1.urbanesia.com/get/promo?promo_offset=20&promo_count=20&output_type=json

* ----------- *
* PROMO - End *
* ----------- *

* ------------ *
* USER - START *
* ------------ *

Base URL: http://api1.urbanesia.com/get/user

Parameters:
- [G] user_uri	    => URI of the user profile				    => Default Value: [BLANK]
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][parameter]					=> [Array] Array of GET & POST parameters
- [diagnostics][total_execution_time]				=> [FLOAT] Time needed to execute the query
- [diagnostics][application_name]				=> [STRING] Application name calling the query
- [diagnostics][other]						=> [Array] Array of extra Information
- [diagnostics][other][application]				=> [Array] Array of application information
- [diagnostics][other][application][app_id]			=> [INTEGER] Application ID
- [diagnostics][other][application][app_title]			=> [STRING] Application Name
- [diagnostics][other][application][app_description]		=> [STRING] Application Description
- [diagnostics][other][application][app_callback]		=> [STRING] Callback URL of the application
- [diagnostics][other][application][app_created_date]		=> [DATETIME] Application creation date
- [diagnostics][error]						=> [Array] Array of errors encountered
- [name_on_view]						=> [STRING] User's full display name
- [user]							=> [Array] Array of user's information
- [user][id]							=> [INTEGER] User ID
- [user][uri]							=> [STRING] User URI
- [user][firstname]						=> [STRING] First Name
- [user][lastname]						=> [STRING] Last Name
- [user][birthdate]						=> [DATE] Birth date
- [user][month_birthdate_short]					=> [STRING] Alphabetical equivalent for user's birth date month
- [user][day_birthdate]						=> [INTEGER] Numeric equivalent for user's birth date day
- [user][fullname]						=> [STRING] Full Name
- [user][photo]							=> [STRING] User's primary picture
- [user][gender]						=> [STRING] Gender
- [user][status_address]					=> [INTEGER] Flag to determine to show address or not
- [user][location]						=> [Array] Array of known user's location info (Home/Office)
- [user][total_testimonial]					=> [INTEGER] The number of reviews made by this user
- [user][total_photo]						=> [INTEGER] The number of pictures uploaded by this user
- [user][total_friend]						=> [INTEGER] The number of friends this user have
- [user][total_fans]						=> [INTEGER] The number of fans this user have
- [user][total_favourite]					=> [INTEGER] The number of other users "Top"-ing this user's reviews
- [user][total_compliment]					=> [Array] Array of compliments
- [user][last_login]						=> [DATETIME] Last login record
- [user][created]						=> [DATETIME] Account creation record
- [user][modified]						=> [DATETIME] Account modification record
- [user][status_id]						=> [INTEGER] This user's account status
- [user_age]							=> [INTEGER] This user's age
- [user_friends]						=> [Array] Array of this user's friends
- [testimonials]						=> [Array] Array of reviews this user has given
- [testimonials][$review_index][testimonial_id]			=> [INTEGER] Testimonial ID
- [testimonials][$review_index][business_id]			=> [INTEGER] Business ID reviewed
- [testimonials][$review_index][testimonial_rating]		=> [INTEGER] Rating for the business reviewed
- [testimonials][$review_index][testimonial_title]		=> [STRING] Title for the review
- [testimonials][$review_index][testimonial_text]		=> [STRING] Content of the review
- [testimonials][$review_index][testimonial_created]		=> [DATETIME] Review submission record
- [testimonials][$review_index][business_name]			=> [STRING] The business name reviewed
- [testimonials][$review_index][biz_photo]			=> [STRING] The business reviewed's primary picture
- [testimonials][$review_index][biz_logo]			=> [STRING] The business reviewed's logo
- [testimonials][$review_index][uri]				=> [STRING] URI for the business reviewed
- [updates]							=> [Array] Array of this user's update stream
- [req]								=> [Array] Array of authorization info
- [top]								=> [Array] Array of user's TOP votes
- [req][signature]						=> OAUTH Signature
- [req][outprm]							=> OAUTH Parameters
- [req][base_sig]						=> OAUTH Base Signature String

Best Practice:
- Get user profile for URI = tista				=> [GET] http://api1.urbanesia.com/get/user?user_uri=tista&output_type=json

* ---------- *
* USER - END *
* ---------- *

* ---------------------- *
* GET BIZ PROMOS - Start *
* ---------------------- *

Base URL: http://api1.urbanesia.com/get/get_promo_by_biz_id

Parameters:
- [G] biz_id	    => ID of the business						=> Default Value: [BLANK]
- [G] row	    => The number of promos returned					=> Default Value: 5
- [G] offset	    => The offset of the request					=> Default Value: 0
- [G] compress	    => Valid input: true or false					=> Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array		=> Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]					=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]					=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]					=> [Array] Array of $_GET variables declared
- [promos]							=> [Array] Array of Promos

Best Practice:
- Get Promos for particular business [Page 1]			=> [GET] http://api1.urbanesia.com/get/get_promo_by_biz_id/?output_type=json&biz_id=1&row=5&offset=0
- Get Promos for particular business [Page 2]			=> [GET] http://api1.urbanesia.com/get/get_promo_by_biz_id/?output_type=json&biz_id=1&row=5&offset=5

* -------------------- *
* GET BIZ PROMOS - End *
* -------------------- *

* ------------------------------ *
* GET EVENTS BY CATEGORY - Start *
* ------------------------------ *

Base URL: http://api1.urbanesia.com/get/get_event_by_category

Parameters:
- [G] cat_id	    => ID of the category						=> Default Value: [BLANK]
- [G] row	    => The number of events returned					=> Default Value: 5
- [G] offset	    => The offset of the request					=> Default Value: 0
- [G] compress	    => Valid input: true or false					=> Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array		=> Default Value: json

Return Data:
- [diagnostics]							=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]					=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]					=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]					=> [Array] Array of $_GET variables declared
- [events]							=> [Array] Array of Events

Best Practice:
- Get Events for particular business [Page 1]			=> [GET] http://api1.urbanesia.com/get/get_events_by_category/?output_type=json&cat_id=1&row=5&offset=0
- Get Events for particular business [Page 2]			=> [GET] http://api1.urbanesia.com/get/get_events_by_category/?output_type=json&cat_id=1&row=5&offset=5

Special Note - Category ID => Category Name
- Music	=> 5
- Party => 1
- Performance => 16
- Other Type => 8
- Exhibition => 11
- Art & Culture => 24
- Other Interests => 29
- F&B => 23
- Class => 3

* ---------------------------- *
* GET EVENTS BY CATEGORY - End *
* ---------------------------- *

* --------------------------- *
* GET UPCOMING EVENTS - Start *
* --------------------------- *

Base URL: http://api1.urbanesia.com/get/get_upcoming_events

Parameters:
- [G] row	    => The number of events returned					=> Default Value: 10
- [G] offset	    => The offset of the request					=> Default Value: 0
- [G] compress	    => Valid input: true or false					=> Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array		=> Default Value: json

Return Data:
- [diagnostics]						=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]				=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]				=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]				=> [Array] Array of $_GET variables declared
- [upcoming_events]					=> [Array] Array of Upcoming Events

Best Practice:
- Get upcoming events [Page 1]				=> [GET] http://api1.urbanesia.com/get/get_upcoming_events/?output_type=json&row=5&offset=0
- Get upcoming events [Page 2]				=> [GET] http://api1.urbanesia.com/get/get_upcoming_events/?output_type=json&row=5&offset=5

* ------------------------- *
* GET UPCOMING EVENTS - End *
* ------------------------- *

* ---------------------------- *
* GET EVENT's CATEGORY - Start *
* --------------------------- *

Base URL: http://api1.urbanesia.com/get/get_event_category

Parameters:
- [G] event_id	    => ID of the event					    => Default Value: [BLANK]
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [event_categories]			=> [Array] Array of event categories

Best Practice:
- Get event categories for event id 1141		=> [GET] http://api1.urbanesia.com/get/get_upcoming_events/?output_type=json&event_id=1141

* -------------------------- *
* GET EVENT's CATEGORY - End *
* -------------------------- *

* ------------------------ *
* GET URSPOT BIZ - Start *
* ------------------------ *

Base URL: http://api1.urbanesia.com/get/get_urspot_biz

Parameters:
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [urspot]				=> [Array] Array of UrSpot Businesses

Best Practice:
- Get UrSpot Businesses			=> [GET] http://api1.urbanesia.com/get/get_urspot_biz/?output_type=json

* -------------------- *
* GET URSPOT BIZ - End *
* -------------------- *

* ------------------------------ *
* GET USER NOTIFICATIONS - Start *
* ------------------------------ *

Base URL: http://api1.urbanesia.com/get/get_user_notification

Parameters:
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [friend_requests]			=> [Array] Array of friend requests

Best Practice:
- Get User Friend Requests		=> [GET] http://api1.urbanesia.com/get/get_user_notification/?output_type=json

* ---------------------------- *
* GET USER NOTIFICATIONS - End *
* ---------------------------- *

* ----------------------- *
* GET USER STREAM - Start *
* ----------------------- *

Base URL: http://api1.urbanesia.com/get/get_user_stream

Parameters:
- [G] user_id	    => User ID of requested user stream			    => Default Value: [blank]
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [user_stream]				=> [Array] Array of User Streams

Best Practice:
- Get User Stream			=> [GET] http://api1.urbanesia.com/get/get_user_stream/?output_type=json&user_id=5114

* --------------------- *
* GET USER STREAM - End *
* --------------------- *

* ---------------------------- *
* GET BUSINESS REVIEWS - Start *
* ---------------------------- *

Base URL: http://api1.urbanesia.com/get/reviews

Parameters:
- [G] business_id   => Business ID of requested reviews			    => Default Value: [blank]
- [G] row	    => Number of reviews returned			    => Default Value: All reviews
- [G] offset	    => Offset of the reviews returned			    => Default Value: 0
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [reviews]				=> [Array] Array of reviews

Best Practice:
- Get reviews for business id = 1	=> [GET] http://api1.urbanesia.com/get/reviews/?output_type=json&business_id=1

* -------------------------- *
* GET BUSINESS REVIEWS - End *
* -------------------------- *

* ---------------------- *
* GET ALL PROMOS - Start *
* ---------------------- *

Base URL: http://api1.urbanesia.com/get/get_all_promos

Parameters:
- [G] row	    => Number of reviews returned			    => Default Value: All reviews
- [G] offset	    => Offset of the promos returned			    => Default Value: 0
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [promos]				=> [Array] Array of promos

Best Practice:
- Get 10 last promos			=> [GET] http://api1.urbanesia.com/get/get_all_promos/?output_type=json&row=10&offset=0

* -------------------- *
* GET ALL PROMOS - End *
* -------------------- *

* ------------------------- *
* REVERSE GEOCODING - Start *
* ------------------------- *

Base URL: http://api1.urbanesia.com/get/reverse_geo

Parameters:
- [G] ll	    => Latitude and Longitude				    => Default Value: -6.2204253529641,106.84547424316406
- [G] compress	    => Valid input: true or false			    => Default Value: false
- [G] output_type   => The returned data format: json & Serialized Array    => Default Value: json

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [reverse_geo]				=> [Array] Array of closest Kelurahan, Kecamatan, Kabupaten or Province

Best Practice:
- Get results for -6.259092,106.781901	=> [GET] http://api1.urbanesia.com/get/reverse_geo/?output_type=json&ll=-6.259092,106.781901

* ----------------------- *
* REVERSE GEOCODING - End *
* ----------------------- *

* ----------------- *
* GEOCODING - Start *
* ----------------- *

Base URL: http://api1.urbanesia.com/get/geocode

Parameters:
- [G] output_type	=> The returned data format: json & array	=> Default Value: json
- [G] compress		=> Valid input: true or false			=> Default Value: false
- [G] where		=> A string representing location to geocode	=> Default Value: jakarta

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [geocode]				=> [Array] Array of geocode information if found

Best Practice:
- Get geocoding for Pondok Indah	=> [GET] http://api1.urbanesia.com/get/geocoding/?output_type=json&compress=true&where=pondok+indah

* --------------- *
* GEOCODING - End *
* --------------- *

* ------------------ *
* RANDOM BIZ - Start *
* ------------------ *

Base URL: http://api1.urbanesia.com/get/random_biz

Parameters:
- [G] output_type	=> The returned data format: json & array	=> Default Value: json
- [G] compress		=> Valid input: true or false			=> Default Value: false
- [G] ll		=> Latitude and Longitude			=> Default Value: none
- [G] offset		=> Offset					-> Default Value: 0
- [G] row		=> Number of rows returned			=> Default Value: 10

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [random_biz]				=> [Array] Array of geocode information if found

Best Practice:
- Random biz near Kuta, Bali		=> [GET] http://bali.api1.urbanesia.com/get/random_biz/?output_type=json&compress=true&ll=-8.7166667,115.1833333

* ---------------- *
* RANDOM BIZ - End *
* ---------------- *

* ------------------------ *
* PREMIUM BIZ CATS - Start *
* ------------------------ *

Base URL: http://api1.urbanesia.com/get/premium_biz_cats

Parameters:
- [G] output_type	=> The returned data format: json & array	=> Default Value: json
- [G] compress		=> Valid input: true or false			=> Default Value: false

Return Data:
- [diagnostics]				=> [Array] Array of Metadata for extra information
- [diagnostics][total_found]		=> [INTEGER] The total numbers of results found
- [diagnostics][execution_time]		=> [FLOAT] Time needed to execute the search query (in seconds)
- [diagnostics][get_requests]		=> [Array] Array of $_GET variables declared
- [premium_biz_cats]			=> [Array] Array of premium business categories

Best Practice:
- Premium Business Categories in Bali	=> [GET] http://bali.api1.urbanesia.com/get/premium_biz_cats/?output_type=json&compress=true

* ---------------------- *
* PREMIUM BIZ CATS - End *
* ---------------------- *