Venues

Read List

This end-point is used to read a list of items in this view

GET /index.php/api/v1/venues HTTP/1.1

Host: https://api.noster.info

Arguments

The Venues end-point takes the following arguments in addition to the standard switches

Name Description Type Options
chain_id The chain ID for the venue Integer
location_id The location id for the venue Integer
osm_data_set_id Data set from which this venue was imported Integer
item_id The ID of an item required when requesting a single item or a link Integer
limit The maximum number of items wanted in the response. The maximum allowed value is 50 Integer
format The format in which we want the data returned Enum json,xml
user_id The ID of the user accessing the API Call Integer
session_key The session key returned for the user when logging in Text

Fields

The following fields are displayed in the result of this api query

Field Name Title Description Type Length Options
distance distance String
name name Name of the venue String 256
image image URL for an image associated with this pulse String 512
instagram_page Instagram Page Reference to the youtube account for the venue String 255
facebook_id facebook_id Facebook id for the venue String 256
facebook_page facebook_page Facebook page for the venue String 256
twitter_handle Twitter Handle Facebook page for the venue String 256
yelp_page yelp_page The primary value for the property Textarea 65535
deliveroo_page deliveroo_page The primary value for the property Textarea 65535
opentable_page opentable_page The primary value for the property Textarea 65535
golocal_page golocal_page The primary value for the property Textarea 65535
id id Primary Key for the table Int 11
hopr_score hopr_score The GLOBAL Hoppiness value for this venue Int 11
categories categories List of text categories - probably temporary Textarea 65535
tags tags Tags for this venue Textarea 65535
phone phone The phone number for the venue String 256
website website The website URL for the venue Textarea 65535
pinterest_page pinterest_page Reference to the youtube account for the venue String 255
youtube_page youtube_page Reference to the youtube account for the venue String 255
tripadvisor_page tripadvisor_page Tripadvisor URL for the venue String 256
latitude latitude Latitude for the venue Double 20,15
longitude longitude Longitude for the venue Double 20,15

Read Item

This end-point is used to read a single item in this view. This returns all the data for the single item and the content of any linked items in the All Venue Propertys & Posts Views.

GET /index.php/api/v1/venues/item_id/${id}

Host: https://api.noster.info

Fields

These are the fields shown when viewing a single item

Field Name Title Description Type Length Options
distance distance String
name name Name of the venue String 256
image image URL for an image associated with this pulse String 512
instagram_page Instagram Page Reference to the youtube account for the venue String 255
facebook_id facebook_id Facebook id for the venue String 256
facebook_page facebook_page Facebook page for the venue String 256
twitter_handle Twitter Handle Facebook page for the venue String 256
yelp_page yelp_page The primary value for the property Textarea 65535
deliveroo_page deliveroo_page The primary value for the property Textarea 65535
opentable_page opentable_page The primary value for the property Textarea 65535
golocal_page golocal_page The primary value for the property Textarea 65535
id id Primary Key for the table Int 11
hopr_score hopr_score The GLOBAL Hoppiness value for this venue Int 11
categories categories List of text categories - probably temporary Textarea 65535
tags tags Tags for this venue Textarea 65535
phone phone The phone number for the venue String 256
website website The website URL for the venue Textarea 65535
pinterest_page pinterest_page Reference to the youtube account for the venue String 255
youtube_page youtube_page Reference to the youtube account for the venue String 255
tripadvisor_page tripadvisor_page Tripadvisor URL for the venue String 256
latitude latitude Latitude for the venue Double 20,15
longitude longitude Longitude for the venue Double 20,15
Properties Link Details

The data for this link is included in the single item version of the primary view

Reading

GET /index.php/api/v1/venues/item_id/${id}/link/properties HTTP/1.1

Host: https://api.noster.info

Fields

The following fields are displayed in the result of this api query

Field Name Title Description Type Length Options
id ID Primary Key for the table Int 11
name Name The property name for record Int 200
value Value The primary value for the property Textarea 65535
Posts Link Details

The data for this link is included in the single item version of the primary view

Reading

GET /index.php/api/v1/venues/item_id/${id}/link/posts HTTP/1.1

Host: https://api.noster.info

Fields

The following fields are displayed in the result of this api query

Field Name Title Description Type Length Options
name name Name for the post String 2000
image image URL of the thumbnail image String 255
data_source Data Source Network of the post (twitter/facebook/instagram) String 80
media media URL of the image in the post String 255
poster_id poster_id ID of the owner of the post Int 11
poster_name poster_name Name of the owner of the post String 80
poster_screen_name poster_screen_name Screen name of the owner of the post String 80
poster_avatar poster_avatar URL of the avatar in the post String 255
link link URL of the link in the post String 255
time time Date and time of the post String 80
media_type media_type Media type of the image in the post String 80
is_visitor Is Visitor Is this a visitor post Bool 0
description description Description used in the post String 255
shares shares Number of shares Int 11
likes likes Number of likes Int 11
comments comments Number of comments Int 11
id Id Primary key for the list Int 11
can_like Can Like Can the user like this post Bool 0
can_share Can Share Can the user share this post Bool 0
is_hidden Is Hidden Is the post currently hidden Bool 0