maxehmookau/echonest-ruby-api

View on GitHub
fixtures/vcr_cassettes/genre_profile.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: http://developer.echonest.com/api/v4/genre/profile?api_key=BNOAEBT3IZYZI6WXI&format=json&name=folk%20rock
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Thu, 18 Dec 2014 02:52:19 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Vary:
      - Accept-Encoding
      X-Request-Id:
      - PBbxhmaBRS6OugGjjBOgAQ
      X-Worker-Node:
      - 0c0ba:19427
      X-Ratelimit-Remaining:
      - '18'
      Server:
      - TornadoServer/3.1
      X-Ratelimit-Limit:
      - '20'
      X-Api-Key:
      - BNOAEBT3IZYZI6WXI
      Cache-Control:
      - max-age=86400
      Access-Control-Allow-Origin:
      - '*'
      X-Ratelimit-Used:
      - '2'
      Connection:
      - Keep-alive
      Keep-Alive:
      - timeout=15, max=100
      Via:
      - 1.1 ID-0000627501223746 uproxy-3
    body:
      encoding: UTF-8
      string: '{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"},
        "genres": [{"name": "folk rock"}]}}'
    http_version: 
  recorded_at: Thu, 18 Dec 2014 02:52:19 GMT
recorded_with: VCR 2.9.3