No Subscription to this function
GET /rugby/get_season_venue
Returns list of all venues for a particular season
Request URL
https://dsg-api.com/clients/{client_name}/rugby/get_season_venue?id={season_id}&client={client_name}&authkey={client_authkey}
Parameters
authkey
string Required
client authentification key
client
string Required
unique client ID
ftype
string
changes feed type from XML to json (ftype=json)
id
int Required
unique season_id
lang
string
two-character language code, defaults to 'en'
Nodes
venue
Details about venue
adress
Name of street and street number
adress_zip
ZIP code
area
name of area the venue is located
capacity
Contains the maximum capacity of the venue.
city
Name of the city where venue is located
geo_latitude
Latitude coordinates of venue
geo_longtitude
Longitude coordinates of venue
last_updated
when record was last updated. Format YYYY-MM-DD HH:MM:SS in CET timezone.
name
Current name of the venue
nicknames
nicknames of the venue. If more as 1 then seperated with a ","
opened
Year venue was opened. Format 'yyyy'
status
The current status of the venue ('open' or 'demolished')
surface
Determines the surface of venue.
venue_id
Unique identifier of the venue
Response Headers
200
Success
401
Unauthorized
429
Too Many Requests
Code Samples
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://dsg-api.com/clients/{client_name}/rugby/get_season_venue?id={season_id}&client={client_name}&authkey={client_authkey}");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "{User}:{Password}");
$content = curl_exec($ch);
curl_close($ch);
?>
curl GET -u "User:Password" "https://dsg-api.com/clients/{client_name}/rugby/get_season_venue?id={season_id}&client={client_name}&authkey={client_authkey}"
response = requests.get("https://dsg-api.com/clients/{client_name}/rugby/get_season_venue?id={season_id}&client={client_name}&authkey={client_authkey}", auth=("User", "Password"))
Response Example
200 Success
{"datasportsgroup":{"version":"2.0","sport":"rugby","lang":"en","method":{"method_id":"330","name":"get_season_venue"},"venue":[{"venue_id":"58","name":"Matmut Stadium de Gerland","city":"Lyon","area":"France","area_id":"76","adress":"353, avenue Jean-Jaurès","adress_zip":"69007","oepened":"1926","status":"open","nicknames":"Stade de Gerland","geo_latitude":"45.72382848653843","geo_longtitude":"4.832208752632141","capacity":"25000","surface":"grass","last_updated":"2018-07-11 19:53:00"},{"venue_id":"63","name":"Stade Jacques Chaban-Delmas","city":"Bordeaux","area":"France","area_id":"76","adress":"Place Johnston","adress_zip":"33000","oepened":"1938","status":"open","nicknames":"Stade Chaban-Delmas","geo_latitude":"44.82926245233876","geo_longtitude":"-0.5983203649520874","capacity":"34964","surface":"grass","last_updated":"2018-07-11 19:42:35"},{"venue_id":"65","name":"Stade de France","city":"Paris","area":"France","area_id":"76","adress":"Rue Jules Rimet, Saint-Denis","adress_zip":"93216","oepened":"1998","status":"open","nicknames":"Saint-Denis","geo_latitude":"48.924483713722985","geo_longtitude":"2.3600971698760986","capacity":"81338","surface":"grass","last_updated":"2016-07-01 17:23:01"},{"venue_id":"1266","name":"Altrad Stadium","city":"Montpellier","area":"France","area_id":"76","adress":"Avenue de Vanières, Quartier Ovalie","adress_zip":"34070","oepened":"2007","status":"open","nicknames":"Stade Yves du Manoir, GGL Stadium","geo_latitude":"43.593041","geo_longtitude":"3.849611","capacity":"14700","surface":"grass","last_updated":"2018-09-25 15:28:33"},{"venue_id":"1743","name":"Stade Jean-Bouin","city":"Paris","area":"France","area_id":"76","adress":"20-40, avenue du Général Sarrail","adress_zip":"75016","oepened":"1925","status":"open","nicknames":"","geo_latitude":"48.84314838826819","geo_longtitude":"2.252916097640991","capacity":"20000","surface":"grass","last_updated":"2018-07-11 19:39:32"},{"venue_id":"1757","name":"Stade des Alpes","city":"Grenoble","area":"France","area_id":"76","adress":"Avenue de Valmy","adress_zip":"38013","oepened":"2008","status":"open","nicknames":"SDA","geo_latitude":"45.18745118011439","geo_longtitude":"5.740029215812683","capacity":"20068","surface":"grass","last_updated":"2017-02-26 18:47:42"},{"venue_id":"2295","name":"Stade Olympique Yves-du-Manoir","city":"Colombes","area":"France","area_id":"76","adress":"12, rue François Faber","adress_zip":"92700","oepened":"1907","status":"open","nicknames":"","geo_latitude":"48.92934404935545","geo_longtitude":"2.2479459643363953","capacity":"14000","surface":"grass","last_updated":"2017-02-26 18:58:43"},{"venue_id":"2546","name":"Stade Matmut-Atlantique","city":"Bordeaux","area":"France","area_id":"76","adress":"Cours Jules-Ladoumègue","adress_zip":"33300","oepened":"2015","status":"open","nicknames":"Stade Bordeaux-Atlantique, Nouveau Stade Bordeaux","geo_latitude":"44.897015","geo_longtitude":"-0.563357","capacity":"41458","surface":"grass","last_updated":"2017-06-15 16:41:12"},{"venue_id":"5578","name":"Stade du Hameau","city":"Pau","area":"France","area_id":"76","adress":"Rue Maryse Bastié \/ Chemin de l'Aviation, Plaine du Hameau","adress_zip":"64000","oepened":"1988","status":"open","nicknames":"","geo_latitude":"43.30951899188743","geo_longtitude":"-0.31692981719970703","capacity":"13966","surface":"grass","last_updated":"2018-07-11 19:45:03"},{"venue_id":"10908","name":"Stade Ernest-Wallon","city":"Toulouse","area":"France","area_id":"76","adress":"114, rue des Troènes","adress_zip":"31200","oepened":"1982","status":"open","nicknames":"Stade des Sept Deniers, Parc des Sports","geo_latitude":"43.621824946536094","geo_longtitude":"1.4155572652816772","capacity":"19500","surface":"grass","last_updated":"2017-12-31 02:11:57"},{"venue_id":"12552","name":"Stade Armandie","city":"Agen","area":"France","area_id":"76","adress":"1 rue Pierre de Coubertin","adress_zip":"47000","oepened":"1921","status":"open","nicknames":"","geo_latitude":"44.19263601616146","geo_longtitude":"0.6205344200134277","capacity":"14000","surface":"grass","last_updated":"2018-07-11 19:40:24"},{"venue_id":"12553","name":"Stade Mayol","city":"Toulon","area":"France","area_id":"76","adress":"Quai Lafontan","adress_zip":"83000","oepened":"1920","status":"open","nicknames":"","geo_latitude":"43.11902115004092","geo_longtitude":"5.936554670333862","capacity":"15000","surface":"grass","last_updated":"2018-07-11 19:41:53"},{"venue_id":"12554","name":"Stade Marcel-Deflandre","city":"La Rochelle","area":"France","area_id":"76","adress":"27 Avenue du Maréchal Juin","adress_zip":"17000","oepened":"1926","status":"open","nicknames":"","geo_latitude":"46.158346368303555","geo_longtitude":"-1.1782890558242798","capacity":"12500","surface":"grass","last_updated":"2018-07-11 19:45:59"},{"venue_id":"12556","name":"Paris La Défense Arena","city":"Nanterre","area":"France","area_id":"76","adress":"99 Jardins de l'Arche","adress_zip":"92000","oepened":"2013","status":"open","nicknames":"Arena 92, U Arena","geo_latitude":"48.895844","geo_longtitude":"2.230203","capacity":"30681","surface":"grass","last_updated":"2018-07-11 19:49:40"},{"venue_id":"12557","name":"Stade Pierre-Fabre","city":"Castres","area":"France","area_id":"76","adress":"1 Rue de Bisséous","adress_zip":"81100","oepened":"","status":"open","nicknames":"Stade Pierre-Antoine","geo_latitude":"43.610950580071595","geo_longtitude":"2.252722978591919","capacity":"11500","surface":"grass","last_updated":"2018-07-11 19:51:57"},{"venue_id":"12558","name":"Parc des Sports Marcel Michelin","city":"Clermont-Ferrand","area":"France","area_id":"76","adress":"35 rue du Clos Four","adress_zip":"63100","oepened":"1911","status":"open","nicknames":"","geo_latitude":"45.789376077829246","geo_longtitude":"3.1061160564422607","capacity":"16200","surface":"grass","last_updated":"2018-07-11 19:54:01"},{"venue_id":"12910","name":"Stade Aimé Giral","city":"Perpignan","area":"France","area_id":"76","adress":"11 Allée Aimé Giral","adress_zip":"66000","oepened":"1940","status":"open","nicknames":"","geo_latitude":"42.715278","geo_longtitude":"2.891389","capacity":"14593","surface":"grass","last_updated":"2018-08-16 11:35:33"}]}}