Skip to content

Instantly share code, notes, and snippets.

@travisbell
Created November 7, 2017 22:30
Show Gist options
  • Select an option

  • Save travisbell/b93e1676f93f5fcbba6186d0f425972e to your computer and use it in GitHub Desktop.

Select an option

Save travisbell/b93e1676f93f5fcbba6186d0f425972e to your computer and use it in GitHub Desktop.
travisbell$ curl -v "http://api.themoviedb.org/3/tv/1399?api_key=###"
* Trying 54.204.23.250...
* TCP_NODELAY set
* Connected to api.themoviedb.org (54.204.23.250) port 80 (#0)
> GET /3/tv/1399?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Tue, 07 Nov 2017 22:29:47 GMT
< ETag: "7ed167c7276bd7a7aba0803b3d484979"
< Server: openresty
< Vary: Accept-Encoding
< X-Memc: HIT
< X-Memc-Age: 26767
< X-Memc-Expires: 2033
< X-Memc-Key: aef4b952b945499eea2102a92c79a84c
< Content-Length: 2480
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact
{
"backdrop_path": "/gX8SYlnL9ZznfZwEH4KJUePBFUM.jpg",
"created_by": [
{
"id": 9813,
"name": "David Benioff",
"gender": 2,
"profile_path": "/8CuuNIKMzMUL1NKOPv9AqEwM7og.jpg"
},
{
"id": 228068,
"name": "D. B. Weiss",
"gender": 2,
"profile_path": "/caUAtilEe06OwOjoQY3B7BgpARi.jpg"
}
],
"episode_run_time": [
60
],
"first_air_date": "2011-04-17",
"genres": [
{
"id": 10765,
"name": "Sci-Fi & Fantasy"
},
{
"id": 18,
"name": "Drama"
},
{
"id": 10759,
"name": "Action & Adventure"
}
],
"homepage": "http://www.hbo.com/game-of-thrones",
"id": 1399,
"in_production": true,
"languages": [
"es",
"en",
"de"
],
"last_air_date": "2017-08-27",
"name": "Game of Thrones",
"networks": [
{
"id": 49,
"name": "HBO"
}
],
"number_of_episodes": 67,
"number_of_seasons": 7,
"origin_country": [
"US"
],
"original_language": "en",
"original_name": "Game of Thrones",
"overview": "Seven noble families fight for control of the mythical land of Westeros. Friction between the houses leads to full-scale war. All while a very ancient evil awakens in the farthest north. Amidst the war, a neglected military order of misfits, the Night's Watch, is all that stands between the realms of men and icy horrors beyond.",
"popularity": 75.580595,
"poster_path": "/gwPSoYUHAKmdyVywgLpKKA4BjRr.jpg",
"production_companies": [
{
"name": "Home Box Office (HBO)",
"id": 3268
},
{
"name": "Generator Entertainment",
"id": 5820
},
{
"name": "Television 360",
"id": 12525
},
{
"name": "Bighead Littlehead",
"id": 12526
},
{
"name": "Revolution Sun Studios",
"id": 76043
}
],
"seasons": [
{
"air_date": "2010-12-05",
"episode_count": 14,
"id": 3627,
"poster_path": "/kMTcwNRfFKCZ0O2OaBZS0nZ2AIe.jpg",
"season_number": 0
},
{
"air_date": "2011-04-17",
"episode_count": 10,
"id": 3624,
"poster_path": "/zwaj4egrhnXOBIit1tyb4Sbt3KP.jpg",
"season_number": 1
},
{
"air_date": "2012-04-01",
"episode_count": 10,
"id": 3625,
"poster_path": "/5tuhCkqPOT20XPwwi9NhFnC1g9R.jpg",
"season_number": 2
},
{
"air_date": "2013-03-31",
"episode_count": 10,
"id": 3626,
"poster_path": "/7d3vRgbmnrRQ39Qmzd66bQyY7Is.jpg",
"season_number": 3
},
{
"air_date": "2014-04-06",
"episode_count": 10,
"id": 3628,
"poster_path": "/dniQ7zw3mbLJkd1U0gdFEh4b24O.jpg",
"season_number": 4
},
{
"air_date": "2015-04-12",
"episode_count": 10,
"id": 62090,
"poster_path": "/yKOltUHsp9X7dXWIm0hNGcIQa4G.jpg",
"season_number": 5
},
{
"air_date": "2016-04-24",
"episode_count": 10,
"id": 71881,
"poster_path": "/zvYrzLMfPIenxoq2jFY4eExbRv8.jpg",
"season_number": 6
},
{
"air_date": "2017-07-16",
"episode_count": 7,
"id": 81266,
"poster_path": "/3dqzU3F3dZpAripEx9kRnijXbOj.jpg",
"season_number": 7
}
],
"status": "Returning Series",
"type": "Scripted",
"vote_average": 8.1,
"vote_count": 3816
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment