Evenemang

Visit Linköping & Co presenterar runt 200 publika evenemang om året i form av konserter, shower, mässor med mera. Information om dessa evenemang finns tillgänglig som öppna data. Informationen uppdateras löpande i takt med att evenemangen annonseras av Visit Linköping & Co.

 Ingen API-nyckel krävs för detta anrop.

 

  

TypBeskrivningFilformat
Evenemangsdata

Returnerar evenemangsdata 

JSON

Visit Linköping & Co tillhandahåller ett Rest-API som retunerar data i JSON format.

Exempelanrop:

http://visitlinkoping.se/evenemang?q=&type=1&category=Dans&date_from=2016-02-10&date_to=2017-03-04&_format=json&render=raw

Resources  

*Format

Response format mandatory
Request
QUERY PARAMETERS  

parameter type description
_formart string Allowed parameter: json

*Render View

Render view mandatory (for node requests)
Request
QUERY PARAMETERS  

parameter type description
render string Allowed parameter: raw

Response
application/json  

Query String

Keys for search
Request
QUERY PARAMETERS
 

parameter type description
q string Query String

Response
application/json

Type

Type Content
Request
QUERY PARAMETERS
 

parameter type description
type integer Allowed parameter 0, 1 0 means Search all content but events 1 means search all events but the rest of the content

Response
application/json  

Category

Category to perform filter.
Request
QUERY PARAMETERS
 

parameter type description
category string  

Response
application/json  

Dates

Filter dates
Request
QUERY PARAMETERS
 

parameter type description
date_from string Content from: Ex. 2016-12-15
date_to string Content before to: Ex. 2016-12-15

Response
application/json  

Pagination

Pager the results, the result are showing in groups of 12 entities by default
Request
QUERY PARAMETERS  

parameter type description
page integer Page to request.
total_pages integer Allowed parameter: 1
items integer Numbers items to deliver: Allowed parameter: 12, 25, 50, 100

Response
application/json

Example HTTP request URI:

http://visitlinkoping.se/evenemang?q=&type=1&category=Dans&date_from=2016-02-10&date_to=2017-03-04&_format=json&render=raw

http://visitlinkoping.se/evenemang?q=query&type=1&category=Dans&date_from=2016-02-10&date_to=2017-03-04&_format=json&total_pages=1

http://visitlinkoping.se/evenemang?q=&type=1&category=Dans&date_from=2016-02-10&date_to=2017-03-04&_format=json&render=raw&items=25

http://visitlinkoping.se/evenemang?q=&type=1&category=Dans&date_from=2016-02-10&date_to=2017-03-04&_format=json&render=raw&page=1

Information om Visit Linköping

Senast uppdaterad den 2 september 2016