Capitol 360 Innovation Center Hackathon Guide
SIGN UP FOR CLOUDINARY
Capitol360 December 2018 Hacktathon Guide
Capitol360 December 2018 Hacktathon Guide
  • Capitol Royale 2018 Hackathon Guide
  • Capitol Royale 2018 Hackathon Guide
    • Arrival Guide / Parking
    • Dec'18 Challenges
      • Verizon 5G Challenge
      • Dec'18 Prizes
    • June'18 UMG Challenges
      • Immersive Wayne Shorter Catalog
      • Build an A&R research tool
    • Hackathon Event Flow
  • Blueprints
    • Discover Music
  • Industry Guides
    • Music Industry 101
  • Cloudinary
    • Using Cloudinary
      • Build a Cover Image
      • Video Transcoding
      • Image Optimization I
      • Categorizing Images
      • HTML5 Video Player
      • Media Authentication
      • Image Optimization II
      • Content Moderation
      • Neural Artwork
      • Artistic Filters
      • Distortion Effects
      • Audio to Waveform Images
      • Social and Cloud Sources
      • Webtask & Cloudinary
    • Cloudinary API: Workshop Deck
  • 7Digital
    • UMG Catalog / 7digital API
    • API Specifics
    • Streaming Audio Files
    • Catalog Metadata Available
    • API Error Codes & Messages
  • Tivo
    • Using TiVo & Lyricfind APIs’
  • TiVo Playlisting
  • ConsenSys
    • ConsenSys Hackathon Developer Guide
  • Spotify
    • Spotify API
  • Qloo
    • Qloo Developer Guide
  • Microsoft
    • Using Microsoft APIs
Powered by GitBook
On this page
  • Catalog API Endpoint - Authentication
  • API Endpoint - Responses
  • API Endpoint - Paging
  • Accessing Artist & Album Artwork
  1. 7Digital

API Specifics

Specific details on using the 7digital APIs

Catalog API Endpoint - Authentication

Hackathon specific parameters to access UMG catalog

  • consumer_key = 7d4vr6cgb392

  • consumer_secret = m4ntskavq56rddsa

  • shopId = 2020

To browse the catalog, only the consumer key and shopId are required

  • &oauth_consumer_key=7d4vr6cgb392 (Note, oauth_consumer_key is parameter name)

  • &shopId=2020

http://api.7digital.com/1.2/artist/browseshopId=2020&oauth_consumer_key=7d4vr6cgb392&letter=ki

If you make a mistake authenticating an API call, then an HTTP 401 status code will be returned

  • Plain text error message will also be returned indicating cause

  • Access to resource denied = Invalid API Key passed on call OR Missing/Invalid shopId

  • Resource not found = Invalid API Endpoint called

API Endpoint - Responses

API Responses default to XML - JSON is available by using “accept JSON” header

Curl -H “accept: application/json” ‘http://api.7digital.com/1.2/artist/browse?shopId=2020&oauth_consumer_key=7d4vr6cgb392&letter=ki’

API Call standard responses (Success)

<response status="ok" version="1.2">   <response_content /></response>

API Call error responses (Failure)

<response status="error" version="1.2"> <error code="1001">  <errorMessage>Missing artist ID</errorMessage> </error></response>

API Endpoint - Paging

Our catalog endpoints use paging to return large sets of results, A typical call might return these elements in the response

<searchResults><page>1</page><pageSize>10</pageSize><totalItems>460</totalItems><searchResult>

You need to use - page and pagesize parameters to access the entire result set

  • &page={int} default=1

  • &pagesize={int} default=10, max=50

Example call with paging parameters

http://api.7digital.com/1.2/artist/browse?letter=ki&shopId=2020&oauth_consumer_key=7d4vr6cgb392&page=2&pagesize=50

Accessing Artist & Album Artwork

The release and track endpoints return an URL to the album artwork

<image>http://artwork-cdn.7static.com/static/img/sleeveart/00/057/262/0005726299_50.jpg</image>

We have the following sizes available

  • 33, 50, 100, 180, 182, 200, 350, 500 and 800 pixels

50 is returned as default, to adjust this, add imageSize parameter to your api call

Please Note - All the endpoints return an URL for an artist image - however the image is not always be present as we no longer support this feature

PreviousUMG Catalog / 7digital APINextStreaming Audio Files

Last updated 6 years ago

​​

​​

A list of error codes and messages can be found on this page
http://api.7digital.com/1.2/release/details?shopId=2020&oauth_consumer_key=7d4vr6cgb392&releaseId=5726299&usageTypes=adsupportedstreaming&imageSize=800