curl --request GET \
--url https://sdk.anghami.com/v1/video/seasons/{id}import requests
url = "https://sdk.anghami.com/v1/video/seasons/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sdk.anghami.com/v1/video/seasons/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sdk.anghami.com/v1/video/seasons/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sdk.anghami.com/v1/video/seasons/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sdk.anghami.com/v1/video/seasons/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sdk.anghami.com/v1/video/seasons/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"season": {
"id": {
"value": "<string>"
},
"showId": {
"value": "<string>"
},
"seasonNumber": 123,
"title": {
"value": "<string>",
"originalValue": "<string>"
},
"description": {
"value": "<string>",
"originalValue": "<string>"
},
"episodeCount": 123,
"airDate": "<string>",
"artwork": [
{
"url": "<string>",
"width": 123,
"height": 123
}
]
},
"episodes": [
{
"id": {
"value": "<string>"
},
"showId": {
"value": "<string>"
},
"seasonId": {
"value": "<string>"
},
"seasonNumber": 123,
"episodeNumber": 123,
"title": {
"value": "<string>",
"originalValue": "<string>"
},
"description": {
"value": "<string>",
"originalValue": "<string>"
},
"durationMs": 123,
"airDate": "<string>",
"guestCast": [
{
"id": {
"value": "<string>"
},
"name": {
"value": "<string>",
"originalValue": "<string>"
},
"role": "<string>",
"profileImageUrl": "<string>",
"isLead": true
}
],
"artwork": [
{
"url": "<string>",
"width": 123,
"height": 123
}
]
}
],
"nextPageToken": "<string>"
}{
"violations": [
{
"field": "<string>",
"description": "<string>"
}
]
}{
"message": "<string>"
}GetSeason
GetSeason retrieves a single season by its unique identifier. Returns the season with its paginated episode list.
curl --request GET \
--url https://sdk.anghami.com/v1/video/seasons/{id}import requests
url = "https://sdk.anghami.com/v1/video/seasons/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sdk.anghami.com/v1/video/seasons/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sdk.anghami.com/v1/video/seasons/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sdk.anghami.com/v1/video/seasons/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sdk.anghami.com/v1/video/seasons/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sdk.anghami.com/v1/video/seasons/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"season": {
"id": {
"value": "<string>"
},
"showId": {
"value": "<string>"
},
"seasonNumber": 123,
"title": {
"value": "<string>",
"originalValue": "<string>"
},
"description": {
"value": "<string>",
"originalValue": "<string>"
},
"episodeCount": 123,
"airDate": "<string>",
"artwork": [
{
"url": "<string>",
"width": 123,
"height": 123
}
]
},
"episodes": [
{
"id": {
"value": "<string>"
},
"showId": {
"value": "<string>"
},
"seasonId": {
"value": "<string>"
},
"seasonNumber": 123,
"episodeNumber": 123,
"title": {
"value": "<string>",
"originalValue": "<string>"
},
"description": {
"value": "<string>",
"originalValue": "<string>"
},
"durationMs": 123,
"airDate": "<string>",
"guestCast": [
{
"id": {
"value": "<string>"
},
"name": {
"value": "<string>",
"originalValue": "<string>"
},
"role": "<string>",
"profileImageUrl": "<string>",
"isLead": true
}
],
"artwork": [
{
"url": "<string>",
"width": 123,
"height": 123
}
]
}
],
"nextPageToken": "<string>"
}{
"violations": [
{
"field": "<string>",
"description": "<string>"
}
]
}{
"message": "<string>"
}Headers
OAuth 2.0 Bearer token for user-authenticated requests. Format: Bearer <access_token>. Optional if x-api-key is provided.
"Bearer eyJhbGciOiJSUzI1NiIs..."
API key for server-to-server access without user context. Optional if Authorization is provided.
"ang_live_..."
Preferred locale for localized content (BCP 47). Determines which language variant is returned for LocalizedString fields.
"ar"
Path Parameters
Unique identifier of the season to retrieve.
Query Parameters
Maximum number of episodes to return per page (1-100, default 20).
Opaque page token from a previous response. Omit for the first page.
Response
Successful response
GetSeasonResponse is the response message containing the requested season and its episodes.