CR Data API

ScheduleDay

scheduleDayFormatGet

<b>Program vysílání pro aktuální den</b> <p>Response bude obsahovat seznam dostupných stanic. Každá stanice bude obsahovat pole objeků jednotlivých pořadů.</p>


/schedule/day.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/day.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleDayApi;

import java.io.File;
import java.util.*;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_stations result = apiInstance.scheduleDayFormatGet(format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleDayApi;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_stations result = apiInstance.scheduleDayFormatGet(format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayFormatGet");
            e.printStackTrace();
        }
    }
}
String *format = format_example; // Formát response - pouze JSON

ScheduleDayApi *apiInstance = [[ScheduleDayApi alloc] init];

[apiInstance scheduleDayFormatGetWith:format
              completionHandler: ^(schedule_day_stations output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleDayApi()
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleDayFormatGet(format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleDayFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleDayApi();
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_day_stations result = apiInstance.scheduleDayFormatGet(format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleDayApi.scheduleDayFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleDayFormatGet($format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleDayApi->scheduleDayFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleDayApi;

my $api_instance = WWW::SwaggerClient::ScheduleDayApi->new();
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleDayFormatGet(format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleDayApi->scheduleDayFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleDayApi()
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_day_format_get(format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleDayApi->scheduleDayFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


scheduleDayStationCodeFormatGet

<b>Program vysílání pro aktuální den a konkrétní stanici</b> <p>Response bude obsahovat stanici dle parametru <code>stationCode</code>. Stanice bude obsahovat pole objeků jednotlivých pořadů.</p>


/schedule/day/{stationCode}.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/day/{stationCode}.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleDayApi;

import java.io.File;
import java.util.*;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_station result = apiInstance.scheduleDayStationCodeFormatGet(stationCode, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayStationCodeFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleDayApi;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_station result = apiInstance.scheduleDayStationCodeFormatGet(stationCode, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayStationCodeFormatGet");
            e.printStackTrace();
        }
    }
}
String *stationCode = stationCode_example; // Textový identifikátor stanice
String *format = format_example; // Formát response - pouze JSON

ScheduleDayApi *apiInstance = [[ScheduleDayApi alloc] init];

[apiInstance scheduleDayStationCodeFormatGetWith:stationCode
    format:format
              completionHandler: ^(schedule_day_station output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleDayApi()
var stationCode = stationCode_example; // {{String}} Textový identifikátor stanice
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleDayStationCodeFormatGet(stationCode, format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleDayStationCodeFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleDayApi();
            var stationCode = stationCode_example;  // String | Textový identifikátor stanice
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_day_station result = apiInstance.scheduleDayStationCodeFormatGet(stationCode, format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleDayApi.scheduleDayStationCodeFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$stationCode = stationCode_example; // String | Textový identifikátor stanice
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleDayStationCodeFormatGet($stationCode, $format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleDayApi->scheduleDayStationCodeFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleDayApi;

my $api_instance = WWW::SwaggerClient::ScheduleDayApi->new();
my $stationCode = stationCode_example; # String | Textový identifikátor stanice
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleDayStationCodeFormatGet(stationCode => $stationCode, format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleDayApi->scheduleDayStationCodeFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleDayApi()
stationCode = stationCode_example # String | Textový identifikátor stanice
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_day_station_code_format_get(stationCode, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleDayApi->scheduleDayStationCodeFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
stationCode*
String
Textový identifikátor stanice
Required
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


scheduleDayYYYYMMDDFormatGet

<b>Program vysílání pro konkrétní datum <YYYY/MM/DD></b> <p>Response bude obsahovat seznam dostupných stanic. Každá stanice bude obsahovat pole objeků jednotlivých pořadů.</p>


/schedule/day/{YYYY}/{MM}/{DD}.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/day/{YYYY}/{MM}/{DD}.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleDayApi;

import java.io.File;
import java.util.*;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String yYYY = yYYY_example; // String | Rok
        String mM = mM_example; // String | Měsíc
        String dD = dD_example; // String | Den
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_stations result = apiInstance.scheduleDayYYYYMMDDFormatGet(yYYY, mM, dD, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayYYYYMMDDFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleDayApi;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String yYYY = yYYY_example; // String | Rok
        String mM = mM_example; // String | Měsíc
        String dD = dD_example; // String | Den
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_stations result = apiInstance.scheduleDayYYYYMMDDFormatGet(yYYY, mM, dD, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayYYYYMMDDFormatGet");
            e.printStackTrace();
        }
    }
}
String *yYYY = yYYY_example; // Rok
String *mM = mM_example; // Měsíc
String *dD = dD_example; // Den
String *format = format_example; // Formát response - pouze JSON

ScheduleDayApi *apiInstance = [[ScheduleDayApi alloc] init];

[apiInstance scheduleDayYYYYMMDDFormatGetWith:yYYY
    mM:mM
    dD:dD
    format:format
              completionHandler: ^(schedule_day_stations output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleDayApi()
var yYYY = yYYY_example; // {{String}} Rok
var mM = mM_example; // {{String}} Měsíc
var dD = dD_example; // {{String}} Den
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleDayYYYYMMDDFormatGet(yYYY, mM, dD, format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleDayYYYYMMDDFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleDayApi();
            var yYYY = yYYY_example;  // String | Rok
            var mM = mM_example;  // String | Měsíc
            var dD = dD_example;  // String | Den
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_day_stations result = apiInstance.scheduleDayYYYYMMDDFormatGet(yYYY, mM, dD, format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleDayApi.scheduleDayYYYYMMDDFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$yYYY = yYYY_example; // String | Rok
$mM = mM_example; // String | Měsíc
$dD = dD_example; // String | Den
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleDayYYYYMMDDFormatGet($yYYY, $mM, $dD, $format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleDayApi->scheduleDayYYYYMMDDFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleDayApi;

my $api_instance = WWW::SwaggerClient::ScheduleDayApi->new();
my $yYYY = yYYY_example; # String | Rok
my $mM = mM_example; # String | Měsíc
my $dD = dD_example; # String | Den
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleDayYYYYMMDDFormatGet(yYYY => $yYYY, mM => $mM, dD => $dD, format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleDayApi->scheduleDayYYYYMMDDFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleDayApi()
yYYY = yYYY_example # String | Rok
mM = mM_example # String | Měsíc
dD = dD_example # String | Den
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_day_yyyymmdd_format_get(yYYY, mM, dD, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleDayApi->scheduleDayYYYYMMDDFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
YYYY*
String
Rok
Required
MM*
String
Měsíc
Required
DD*
String
Den
Required
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


scheduleDayYYYYMMDDStationCodeFormatGet

<b>Program vysílání pro konkrétní datum <YYYY/MM/DD> a stanici</b> <p>Response bude obsahovat stanici dle parametru <code>stationCode</code>. Každá stanice bude obsahovat pole objeků jednotlivých pořadů.</p>


/schedule/day/{YYYY}/{MM}/{DD}/{stationCode}.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/day/{YYYY}/{MM}/{DD}/{stationCode}.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleDayApi;

import java.io.File;
import java.util.*;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String yYYY = yYYY_example; // String | Rok
        String mM = mM_example; // String | Měsíc
        String dD = dD_example; // String | Den
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_station result = apiInstance.scheduleDayYYYYMMDDStationCodeFormatGet(yYYY, mM, dD, stationCode, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayYYYYMMDDStationCodeFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleDayApi;

public class ScheduleDayApiExample {

    public static void main(String[] args) {
        ScheduleDayApi apiInstance = new ScheduleDayApi();
        String yYYY = yYYY_example; // String | Rok
        String mM = mM_example; // String | Měsíc
        String dD = dD_example; // String | Den
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_day_station result = apiInstance.scheduleDayYYYYMMDDStationCodeFormatGet(yYYY, mM, dD, stationCode, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleDayApi#scheduleDayYYYYMMDDStationCodeFormatGet");
            e.printStackTrace();
        }
    }
}
String *yYYY = yYYY_example; // Rok
String *mM = mM_example; // Měsíc
String *dD = dD_example; // Den
String *stationCode = stationCode_example; // Textový identifikátor stanice
String *format = format_example; // Formát response - pouze JSON

ScheduleDayApi *apiInstance = [[ScheduleDayApi alloc] init];

[apiInstance scheduleDayYYYYMMDDStationCodeFormatGetWith:yYYY
    mM:mM
    dD:dD
    stationCode:stationCode
    format:format
              completionHandler: ^(schedule_day_station output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleDayApi()
var yYYY = yYYY_example; // {{String}} Rok
var mM = mM_example; // {{String}} Měsíc
var dD = dD_example; // {{String}} Den
var stationCode = stationCode_example; // {{String}} Textový identifikátor stanice
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleDayYYYYMMDDStationCodeFormatGet(yYYY, mM, dD, stationCode, format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleDayYYYYMMDDStationCodeFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleDayApi();
            var yYYY = yYYY_example;  // String | Rok
            var mM = mM_example;  // String | Měsíc
            var dD = dD_example;  // String | Den
            var stationCode = stationCode_example;  // String | Textový identifikátor stanice
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_day_station result = apiInstance.scheduleDayYYYYMMDDStationCodeFormatGet(yYYY, mM, dD, stationCode, format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleDayApi.scheduleDayYYYYMMDDStationCodeFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$yYYY = yYYY_example; // String | Rok
$mM = mM_example; // String | Měsíc
$dD = dD_example; // String | Den
$stationCode = stationCode_example; // String | Textový identifikátor stanice
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleDayYYYYMMDDStationCodeFormatGet($yYYY, $mM, $dD, $stationCode, $format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleDayApi->scheduleDayYYYYMMDDStationCodeFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleDayApi;

my $api_instance = WWW::SwaggerClient::ScheduleDayApi->new();
my $yYYY = yYYY_example; # String | Rok
my $mM = mM_example; # String | Měsíc
my $dD = dD_example; # String | Den
my $stationCode = stationCode_example; # String | Textový identifikátor stanice
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleDayYYYYMMDDStationCodeFormatGet(yYYY => $yYYY, mM => $mM, dD => $dD, stationCode => $stationCode, format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleDayApi->scheduleDayYYYYMMDDStationCodeFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleDayApi()
yYYY = yYYY_example # String | Rok
mM = mM_example # String | Měsíc
dD = dD_example # String | Den
stationCode = stationCode_example # String | Textový identifikátor stanice
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_day_yyyymmdd_station_code_format_get(yYYY, mM, dD, stationCode, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleDayApi->scheduleDayYYYYMMDDStationCodeFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
YYYY*
String
Rok
Required
MM*
String
Měsíc
Required
DD*
String
Den
Required
stationCode*
String
Textový identifikátor stanice
Required
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


ScheduleNow

scheduleNowCountFormatGet

<b>Informace o právě vysílaném a následujících pořadech</b> <p>Response bude obsahovat seznam všech dostupných stanic. Každá stanice bude obsahovat pole o velikosti <code>count</code> objektů začínající právě vysílaným pořadem</p>


/schedule/now/{count}.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/now/{count}.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleNowApi;

import java.io.File;
import java.util.*;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        Integer count = 56; // Integer | Počet objektů v response
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_stations result = apiInstance.scheduleNowCountFormatGet(count, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowCountFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleNowApi;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        Integer count = 56; // Integer | Počet objektů v response
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_stations result = apiInstance.scheduleNowCountFormatGet(count, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowCountFormatGet");
            e.printStackTrace();
        }
    }
}
Integer *count = 56; // Počet objektů v response
String *format = format_example; // Formát response - pouze JSON

ScheduleNowApi *apiInstance = [[ScheduleNowApi alloc] init];

[apiInstance scheduleNowCountFormatGetWith:count
    format:format
              completionHandler: ^(schedule_now_stations output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleNowApi()
var count = 56; // {{Integer}} Počet objektů v response
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleNowCountFormatGet(count, format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleNowCountFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleNowApi();
            var count = 56;  // Integer | Počet objektů v response
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_now_stations result = apiInstance.scheduleNowCountFormatGet(count, format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleNowApi.scheduleNowCountFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$count = 56; // Integer | Počet objektů v response
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleNowCountFormatGet($count, $format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleNowApi->scheduleNowCountFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleNowApi;

my $api_instance = WWW::SwaggerClient::ScheduleNowApi->new();
my $count = 56; # Integer | Počet objektů v response
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleNowCountFormatGet(count => $count, format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleNowApi->scheduleNowCountFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleNowApi()
count = 56 # Integer | Počet objektů v response
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_now_count_format_get(count, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleNowApi->scheduleNowCountFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
count*
Integer (int32)
Počet objektů v response
Required
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


scheduleNowFormatGet

<b>Informace o právě vysílaném pořadu</b> <p>Response bude obsahovat seznam dostupných stanic. Každá stanice bude obsahovat 1 objekt o právě vysílaném pořadu</p>


/schedule/now.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/now.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleNowApi;

import java.io.File;
import java.util.*;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_stations result = apiInstance.scheduleNowFormatGet(format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleNowApi;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_stations result = apiInstance.scheduleNowFormatGet(format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowFormatGet");
            e.printStackTrace();
        }
    }
}
String *format = format_example; // Formát response - pouze JSON

ScheduleNowApi *apiInstance = [[ScheduleNowApi alloc] init];

[apiInstance scheduleNowFormatGetWith:format
              completionHandler: ^(schedule_now_stations output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleNowApi()
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleNowFormatGet(format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleNowFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleNowApi();
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_now_stations result = apiInstance.scheduleNowFormatGet(format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleNowApi.scheduleNowFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleNowFormatGet($format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleNowApi->scheduleNowFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleNowApi;

my $api_instance = WWW::SwaggerClient::ScheduleNowApi->new();
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleNowFormatGet(format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleNowApi->scheduleNowFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleNowApi()
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_now_format_get(format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleNowApi->scheduleNowFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


scheduleNowStationCodeCountFormatGet

<b>Informace o právě vysílaném a následujících pořadech pro konkrétní stanici</b> <p>Response bude obsahovat stanici dle parametru <code>stationCode</code>. Stanice bude obsahovat pole o velikosti <code>count</code> objektů začínající právě vysílaným pořadem</p>


/schedule/now/{stationCode}/{count}.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/now/{stationCode}/{count}.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleNowApi;

import java.io.File;
import java.util.*;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        Integer count = 56; // Integer | Počet objektů v response
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_station result = apiInstance.scheduleNowStationCodeCountFormatGet(stationCode, count, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowStationCodeCountFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleNowApi;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        Integer count = 56; // Integer | Počet objektů v response
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_station result = apiInstance.scheduleNowStationCodeCountFormatGet(stationCode, count, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowStationCodeCountFormatGet");
            e.printStackTrace();
        }
    }
}
String *stationCode = stationCode_example; // Textový identifikátor stanice
Integer *count = 56; // Počet objektů v response
String *format = format_example; // Formát response - pouze JSON

ScheduleNowApi *apiInstance = [[ScheduleNowApi alloc] init];

[apiInstance scheduleNowStationCodeCountFormatGetWith:stationCode
    count:count
    format:format
              completionHandler: ^(schedule_now_station output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleNowApi()
var stationCode = stationCode_example; // {{String}} Textový identifikátor stanice
var count = 56; // {{Integer}} Počet objektů v response
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleNowStationCodeCountFormatGet(stationCode, count, format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleNowStationCodeCountFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleNowApi();
            var stationCode = stationCode_example;  // String | Textový identifikátor stanice
            var count = 56;  // Integer | Počet objektů v response
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_now_station result = apiInstance.scheduleNowStationCodeCountFormatGet(stationCode, count, format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleNowApi.scheduleNowStationCodeCountFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$stationCode = stationCode_example; // String | Textový identifikátor stanice
$count = 56; // Integer | Počet objektů v response
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleNowStationCodeCountFormatGet($stationCode, $count, $format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleNowApi->scheduleNowStationCodeCountFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleNowApi;

my $api_instance = WWW::SwaggerClient::ScheduleNowApi->new();
my $stationCode = stationCode_example; # String | Textový identifikátor stanice
my $count = 56; # Integer | Počet objektů v response
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleNowStationCodeCountFormatGet(stationCode => $stationCode, count => $count, format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleNowApi->scheduleNowStationCodeCountFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleNowApi()
stationCode = stationCode_example # String | Textový identifikátor stanice
count = 56 # Integer | Počet objektů v response
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_now_station_code_count_format_get(stationCode, count, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleNowApi->scheduleNowStationCodeCountFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
stationCode*
String
Textový identifikátor stanice
Required
count*
Integer (int32)
Počet objektů v response
Required
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK


scheduleNowStationCodeFormatGet

<b>Informace o právě vysílaném pořadu pro konkrétní stanici</b> <p>Response bude obsahovat stanici dle parametru <code>stationCode</code>. Stanice bude obsahovat 1 objekt o právě vysílaném pořadu</p>


/schedule/now/{stationCode}.{format}

Usage and SDK Samples

curl -X GET "https://api.rozhlas.cz/data/v2/schedule/now/{stationCode}.{format}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScheduleNowApi;

import java.io.File;
import java.util.*;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_station result = apiInstance.scheduleNowStationCodeFormatGet(stationCode, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowStationCodeFormatGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScheduleNowApi;

public class ScheduleNowApiExample {

    public static void main(String[] args) {
        ScheduleNowApi apiInstance = new ScheduleNowApi();
        String stationCode = stationCode_example; // String | Textový identifikátor stanice
        String format = format_example; // String | Formát response - pouze JSON
        try {
            schedule_now_station result = apiInstance.scheduleNowStationCodeFormatGet(stationCode, format);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScheduleNowApi#scheduleNowStationCodeFormatGet");
            e.printStackTrace();
        }
    }
}
String *stationCode = stationCode_example; // Textový identifikátor stanice
String *format = format_example; // Formát response - pouze JSON

ScheduleNowApi *apiInstance = [[ScheduleNowApi alloc] init];

[apiInstance scheduleNowStationCodeFormatGetWith:stationCode
    format:format
              completionHandler: ^(schedule_now_station output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var CrDataApi = require('cr_data_api');

var api = new CrDataApi.ScheduleNowApi()
var stationCode = stationCode_example; // {{String}} Textový identifikátor stanice
var format = format_example; // {{String}} Formát response - pouze JSON

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.scheduleNowStationCodeFormatGet(stationCode, format, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scheduleNowStationCodeFormatGetExample
    {
        public void main()
        {

            var apiInstance = new ScheduleNowApi();
            var stationCode = stationCode_example;  // String | Textový identifikátor stanice
            var format = format_example;  // String | Formát response - pouze JSON

            try
            {
                schedule_now_station result = apiInstance.scheduleNowStationCodeFormatGet(stationCode, format);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScheduleNowApi.scheduleNowStationCodeFormatGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api{{classname}}();
$stationCode = stationCode_example; // String | Textový identifikátor stanice
$format = format_example; // String | Formát response - pouze JSON

try {
    $result = $api_instance->scheduleNowStationCodeFormatGet($stationCode, $format);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScheduleNowApi->scheduleNowStationCodeFormatGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScheduleNowApi;

my $api_instance = WWW::SwaggerClient::ScheduleNowApi->new();
my $stationCode = stationCode_example; # String | Textový identifikátor stanice
my $format = format_example; # String | Formát response - pouze JSON

eval { 
    my $result = $api_instance->scheduleNowStationCodeFormatGet(stationCode => $stationCode, format => $format);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScheduleNowApi->scheduleNowStationCodeFormatGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScheduleNowApi()
stationCode = stationCode_example # String | Textový identifikátor stanice
format = format_example # String | Formát response - pouze JSON

try: 
    api_response = api_instance.schedule_now_station_code_format_get(stationCode, format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScheduleNowApi->scheduleNowStationCodeFormatGet: %s\n" % e)

Parameters

Path parameters
Name Description
stationCode*
String
Textový identifikátor stanice
Required
format*
String
Formát response - pouze JSON
Required

Responses

Status: 200 - OK