---
title: maxTVShowRatingForCountry
framework: TVMLKit JS
role: symbol
role_heading: Instance Method
platforms: [tvOS 9.0+]
path: tvmljs/restrictions/1627442-maxtvshowratingforcountry
---

# maxTVShowRatingForCountry

The maximum television show rating allowed for the specified country or region.

## Declaration

```data
String maxTVShowRatingForCountry(
    in String countryCode
);
```

## Parameters

- `countryCode`: An object containing the valid country code. If the code is invalid, the current country or region based on location is used.

## Return Value

Return Value A string representing the maximum allowed rating for a television show in the specified country or region; for example, PG-13.

## See Also

### Retrieving Restriction Information

- [allowsExplicit](tvmljs/restrictions/1627425-allowsexplicit.md)
- [maxMovieRank](tvmljs/restrictions/1627305-maxmovierank.md)
- [maxMovieRatingForCountry](tvmljs/restrictions/1627362-maxmovieratingforcountry.md)
- [maxTVShowRank](tvmljs/restrictions/1627434-maxtvshowrank.md)
