Skip to content

Instantly share code, notes, and snippets.

View travisbell's full-sized avatar
🚀
ZOOM ZOOM

Travis Bell travisbell

🚀
ZOOM ZOOM
View GitHub Profile
tbell$ nslookup api.themoviedb.org
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
Name: api.themoviedb.org
Address: 107.20.157.161
Name: api.themoviedb.org
Address: 75.101.138.13
Name: api.themoviedb.org
$ curl -v "https://api.themoviedb.org/3/discover/movie?api_key=###&sort_by=popularity.asc"
* Trying 75.101.138.13...
* Connected to api.themoviedb.org (75.101.138.13) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL CA
* Server certificate: GeoTrust Global CA
> GET /3/discover/movie?api_key=###&sort_by=popularity.asc HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.43.0
{
"adult": false,
"backdrop_path": "/szytSpLAyBh3ULei3x663mAv5ZT.jpg",
"belongs_to_collection": {
"id": 369310,
"name": "Inside Out Collection",
"poster_path": "/cfTkY8PECdrEj5Q1ok8GQpDuXMc.jpg",
"backdrop_path": "/hyAAxzCiPDJhIR3WCIjddV5HIOV.jpg"
},
"budget": 175000000,
::: [xx-host-1400][Y4qXPFeeRK2uKbggdiReig][xx-host-1400.domain.com][inet[/1400_ip:9300]]{aws_availability_zone=us-east-1d, master=true}
Hot threads at 2016-01-12T20:51:55.974Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:
40.1% (200.4ms out of 500ms) cpu usage by thread 'elasticsearch[xx-host-1400][search][T#6]'
7/10 snapshots sharing following 2 elements
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
38.7% (193.5ms out of 500ms) cpu usage by thread 'elasticsearch[xx-host-1400][search][T#4]'
2/10 snapshots sharing following 33 elements
https://api.themoviedb.org/3/tv/1399?api_key=###&append_to_response=season/1
{
"birthday": "1967-07-18",
"deathday": null,
"id": 12835,
"name": "Vin Diesel",
"movie_credits": {
"cast": [
{
"poster_path": "/8vY06et6B9TuMO8ORXqkZ23qTLc.jpg",
"adult": false,
{
"cast": [
{
"character": "Shane Wolf",
"credit_id": "52fe43099251416c7500111b",
"release_date": "2005-03-04",
"vote_count": 866,
"video": false,
"adult": false,
"vote_average": 5.8,
tbell$ curl -v "https://api.themoviedb.org/3/movie/298250?api_key=###"
* Trying 50.16.249.143...
* Connected to api.themoviedb.org (50.16.249.143) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL SHA256 CA
* Server certificate: GeoTrust Global CA
> GET /3/movie/298250?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.43.0
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
travisbell$ curl -v "http://api.themoviedb.org/3/tv/1399/season/1?api_key=###"
* Trying 54.243.147.233...
* TCP_NODELAY set
* Connected to api.themoviedb.org (54.243.147.233) port 80 (#0)
> GET /3/tv/1399/season/1?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK