Cineteca di Bologna API: CINEMA S SCHEDULING



Similar documents
Manage Workflows. Workflows and Workflow Actions

II. Admin The Admin window is where users are added and deleted.

PassKey Manager. Schoolwires Centricity

Step-By-Step build Advanced InfoPath Form and SharePoint Designer Workflow

Package searchconsoler

Localizing dynamic websites created from open source content management systems

Portals and Hosted Files

SyncTool for InterSystems Caché and Ensemble.

AccountView. Single Sign-On Guide

Work with PassKey Manager

SPARROW Gateway. Developer API. Version 2.00

Broner Issue Tracking System User Guide

versasrs HelpDesk quality of service

Content Manager User Guide Information Technology Web Services

SalesJunction.com. Sales Force Automation & CRM. SJAPI Guide

How to create database in GlycomcsPortal?

Managed Rebill web services

Specific API Usage Limitations... 6 Daily Limitation... 6 Concurrency Limitation API Description... 7 Site Data API... 7

Specify the location of an HTML control stored in the application repository. See Using the XPath search method, page 2.

cielo24 Documentation

Sizmek Features. Wallpaper. Build Guide

NASDAQ Global Index Watch (GIW) Secure Web Service 2.0 Access

Specific API Usage Limitations... 7 Daily Limitation... 7 Concurrency Limitation... 7 Bulk Use API Description... 8 Site Data API...

Web Design Technology

ReportBy Notification Examples

RadioEPG Technical Specification REPG01 V1.1 ( )

EVERNOTE FOR MAC USER GUIDE

Administrator s Guide

» ad features, Rates + specs. NewHomesGuide.com Builder and Planned Communities. Web Packages

Bhuvan HFA app ISRO's location based services to geo-tag and monitor construction stage of house under Housing For All scheme in India

mdata from Mobile Commons enables organizations to make any data accessible to the public via text message, no programming required.

Technical Brief: Dynamic Number Insertion

Search invoice API. Version 5.1

ACR Triad Site Server Click Once Software System

Magento module Documentation

Cache Configuration Reference

Content Manager User Guide Information Technology Web Services

Chorus Tweetcatcher Desktop

Advertisers: how to provide an RSS feed to Reactivpub

1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe.

How to work with the WordPress themes

Web Services API Developer Guide

ifix Alarm History Viewer Version 1.0

FileMaker Server 13. Custom Web Publishing with PHP

Analytics Configuration Reference

LifeSize UVC Video Center Deployment Guide

API Endpoint Methods NAME DESCRIPTION GET /api/v4/analytics/dashboard/ POST /api/v4/analytics/dashboard/ GET /api/v4/analytics/dashboard/{id}/ PUT

Safeguard Ecommerce Integration / API

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created.

Photo Album // Getting Started Guide. Getting Started Guide. Photo Album. Manage Your Media Online. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

DYNAMIC GOOGLE REMOTE DATA COLLECTION

Web Portal User Guide. Version 6.0

Chhattisgarh State Skill Development Authority (CSSDA) Guidelines for. Biometric Device Manufacturers for. Interfacing with

ONLINE BANNER AND ADVERTISING SPECIFICATIONS 2014

Privilege Manager for Unix How To

Editing the Web Template Files

Banner General Event Management Handbook. Release 9.0 February 2012

Use ArcGIS Online to Manage

Contents. 2 Alfresco API Version 1.0

FAXAGE. Internet Fax API Documentation

CS587 Project final report

Web Site Design Specifications

MAIL1CLICK API - rel 1.35

HP Project and Portfolio Management Center

LifeSize Video Center Administrator Guide March 2011

Last Week. XML (extensible Markup Language) HTML Deficiencies. XML Advantages. Syntax of XML DHTML. Applets. Modifying DOM Event bubbling

DATA QUERY: ADVANCED DATA MODELLING

Technical Specifications Digital

Automatic Scheduling Using AutoTrack Command Line Options

FileMaker Server 12. Custom Web Publishing with PHP

OnTime Web Services User Guide

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

FWG Management System Manual

Sendlane - API Reference

Chapter 4 Accessing Data

11.5 E-THESIS SUBMISSION PROCEDURE (RESEARCH DEGREES)

Package pdfetch. R topics documented: July 19, 2015

Sophos Enterprise Console Auditing user guide. Product version: 5.2

Nintex Workflow 2013 Help

Data Mailbox. support.ewon.biz. Reference Guide

Encrypted Search for PPC

1.5.3 Project 3: Traffic Monitoring

CPSC Recalls Retrieval Web Services Programmers Guide: Recalls and Penalties Database

FF/EDM Intro Industry Goals/ Purpose Related GISB Standards (Common Codes, IETF) Definitions d 4 d 13 Principles p 6 p 13 p 14 Standards s 16 s 25

FileMaker Server 9. Custom Web Publishing with PHP

Chapter 6: Data Acquisition Methods, Procedures, and Issues

Virtual Fax API User Guide

The Open Source Knowledge Discovery and Document Analysis Platform

Transcription:

Cineteca di Bologna API: CINEMA S SCHEDULING Revision: 1 Release date: Oct 31 st, 2014 License: Creative Commons No Rights Reserved (CC0) Abstract This set of APIs allow you to query Cineteca di Bologna s projections and events programme..

Introduction Cineteca di Bologna s programme is organized into events (ie. Cinema Ritrovato) that can belong to a bigger event (collector), movies projections that can belong to none, one or several events and have one or several projection times. The following APIs allow you to: GetCurrentEvents: retrieve a list of current events with codes to be used as filters in the following API; GetSchedule: retrieve a list of projections based on time, keyword and events filters. Please note that all text in the database (descriptions, etc.) is written in Italian language. GetCurrentEvents API request method Request URL: http://www.cinetecadibologna.it/api/getschedule The API has no parameters and provides the list of all events under way at the moment of request. GetCurrentEvents API response The response is an XML file with the following structure: Where: <?xml version="1.0" encoding="iso-8859-1"?> <Event> <ID>[EventID]</ID> <Title>[Title]</Title> <Subtitle>[Subtitle]</Subtitle> <HumanReadableDates>[DateText]</HumanReadableDates> <EndDate>[EndDate]</EndDate> <Thumbnail>[ImageUrl]</Thumbnail> <Abstract>[Abstract]</Abstract> <URL>[EventUrl]</URL> <ParentID>[ParentEventID]</ParentID> </Event> <Event> </Event> [EventID]: identifier of the event, to be used as filter in the GetSchedule API; [Title]: event s name/title;

[Subtitle]: event s subtitle; [DateText]: a string containing a human readable date and occasionally place specification (i.e. Bologna, dal 4 al 9 marzo 2015 ); [EndDate]: event ending date in format YYYY-MM-DD; [ImageUrl]: URL of a small picture (or logo) representing the event, usually JPG, PNG or GIF; [Abstract]: a brief description of the event, may contain HTML formatting; [Url]: the URL of the event page on Cineteca di Bologna s website; [ParentEventID]: ID of the event s collector, if the event does not belong to any other event the tag is empty. GetSchedule API request method Request URL: http://www.cinetecadibologna.it/api/getschedule?startdate=yyyy- MM-DD&enddate=YYYY-MM-DD&event=[ID]&keyword=[String] The API can be invoked without or with any of the following parameters: startdate: set a date if you want to specify the starting date of a specific period, if no start date is provided the default is the current day; enddate: set a date if you want to specify an ending date of a specific period, if no date is provided the default value is the end of time; please note that you can expect a month or maximum two monthes of scheduled events in the future; event: set an ID (retrieved with the previous API) if you want to retrieve only projections of the specific event; keyword: set a keyword if you want to retrieve events containing that keyword in Title or Abstract. If more than one parameter is set, the API will respond with scheduling that matches all of the set parameters. GetCurrentEvents API response The response is an XML file with the following structure: <?xml version="1.0" encoding="iso-8859-1"?> <Scheduling> <Schedule> <ID>[ID]</ID> <Title>[Title]</Title> <Subtitle>[Subtitle]</Subtitle> <Type>[Type]</Type> <Thumbnail>[ImageUrl]</Thumbnail> <Abstract>[Abstract]</Abstract> <LocationName>[LocationName]</LocationName> <LocationAddress>[LocationAddress]</LocationAddress> <LocationGPS>[Latitude],[Longitude]</LocationGPS> <FlagItalianPrimetime>[Primetime]</FlagItalianPrimetime>

Where: <FlagFIC>[Fic]</FlagFIC> <FlagCinefilia>[Cinefilia]</FlagCinefilia> <FlagChildren>[Children]</FlagChildren> <FlagTeens>[Teens]</FlagTeens> <FlagOriginalLanguage>[Language]</FlagOriginalLanguage> <FlagOrchestra>[Orchestra]</FlagOrchestra> <Timetable> <DateTime>[ScheduleTime]</DateTime> <DateTime> </DateTime> <Timetable> <ParentEvent>[EventID]</ParentEvent> <ParentEvent> </ParentEvent> </Events> <URL>[PageUrl]</URL> </Schedule> <Schedule> </Schedule> </Scheduling> [ID]: ID of the movie; [Title]: movie title; [Subtitle]: movie subtitle; [Type]: can be movie (for regular projections) or occasionally unspecified in case the scheduling is for a presentation, meeting or generally non-projection events; [ImageUrl]: URL of a small picture (or logo) representing the event, usually JPG, PNG or GIF; [Abstract]: a brief description of the event, may contain HTML formatting; [LocationName]: name of the venue the event takes place in; [LocationAddress]: string with full address of the venue; [Latitude] and [Longitude]: GPS coordinates of the venue; [Primetime]: a flag (can be 0 or 1) set to 1 if the projection is a prime time in Italy; [Fic]: a flag (can be 0 or 1) set to 1 if the projection is reserved to FIC members; [Cinefilia]: a flag (can be 0 or 1) set to 1 if the projection belongs to Cinefilia; [Children]: a flag (can be 0 or 1) set to 1 if the projection is suggested for children; [Teens]: a flag (can be 0 or 1) set to 1 if the projection is suggested for teens; [Language]: a flag (can be 0 or 1) set to 1 if the projection is in original non-italian language with Italian subtitles; [Orchestra]: a flag (can be 0 or 1) set to 1 if the projection is accompanied by live orchestra;

[ScheduleTime]: date and time of the projection in the format YYYY-MM-DD HH:MM:SS, please note that a projection may be scheduled several times and thus contain several <DateTime> items/tags, please also note that if you query for a specific period, all movies with at least one projection time in that period are listed in the XML and all of their projection times are listed anyway, even if they do not belong to the queried period; [EventID]: ID of the event the projection belongs to, you can retrieve more information on the event by using the GetCurrentEvents API, please note that a movie can belong to one or several events (in this case <ParentEvent> item is repeated) or to no events (in this case the item is empty); [PageUrl]: the URL of the projection s page on Cineteca di Bologna s website.