GD3 Database Web Service

Similar documents
CRM Form to Web. Internet Lead Capture. Web Form Configuration Instructions VERSION 1.0 DATE PREPARED: 1/1/2013

SOCIALMEDIABOX SETUP GUIDE

Pipeliner CRM Phaenomena Guide Getting Started with Pipeliner Pipelinersales Inc.

Creating a System DSN for Crystal Reports to Access a Sentinel Server Database. Configuration Guide Version 1.0

Aras Corporation Aras Corporation. All rights reserved. Notice of Rights. Notice of Liability

How to Convert Outlook Folder Into a Single PDF Document

Configuring Single Sign-On from the VMware Identity Manager Service to Office 365

Microsoft Dynamics GP. SmartList Builder User s Guide With Excel Report Builder

Nintex Workflow 2013 Help

X10 Webinterface User Quick Guide(ver0.9.2 Beta)

Online Title Registration Guide

Pipeliner CRM Phaenomena Guide Sales Pipeline Management Pipelinersales Inc.

VMware Identity Manager Integration with Active Directory Federation Services 2.0

CRM Setup Factory Installer V 3.0 Developers Guide

Centrify Mobile Authentication Services

Active Directory Provider User s Guide

Coveo Platform 7.0. Oracle Knowledge Connector Guide

Rohos Logon Key for Windows Remote Desktop logon with YubiKey token

Phone Manager Application Support JANUARY 2015 DOCUMENT RELEASE 4.2 APPLICATION SUPPORT

Microsoft Dynamics GP. Project Accounting Billing Guide

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

StreamServe Persuasion SP4 Service Broker

Tivoli Endpoint Manager BigFix Dashboard

Setting up Hyper-V for 2X VirtualDesktopServer Manual

Samsung KNOX EMM Authentication Services. SDK Quick Start Guide

Microsoft Dynamics GP. Field Service - Preventive Maintenance

Pipeliner CRM Phaenomena Guide Sales Target Tracking Pipelinersales Inc.

Microsoft Dynamics GP. Electronic Signatures

Centrify Mobile Authentication Services for Samsung KNOX

How do I share a file with a friend or trusted associate?

Hyper-V Server 2008 Setup and Configuration Tool Guide

StarWind iscsi SAN & NAS: Configuring HA Shared Storage for Scale- Out File Servers in Windows Server 2012 January 2013

Qlik REST Connector Installation and User Guide

StreamServe Job Gateway

Backing up with Windows 7

Coveo Platform 7.0. Microsoft Dynamics CRM Connector Guide

ArtfulBits Password Reset Web Part

ADP Secure Client User Guide

Millennium SMS. Setup Guide. Version 1.01

PUBLIC Preferences Setup Automated Analytics User Guide

SPARROW Gateway. Developer API. Version 2.00

Resource Online User Guide JUNE 2013

SMS Database System Quick Start. [Version 1.0.3]

Installing Microsoft Exchange Integration for LifeSize Control

Detailed Process for Licensing Enterprise Alpha NVR

Phone Manager Application Support JANUARY 2015 DOCUMENT RELEASE 4.2 APPLICATION SUPPORT

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012

SysAidTM Freeware Installation Guide

Windows Scheduled Tasks Management Pack Guide for System Center Operations Manager. Published: 07 March 2013

How to Secure a Groove Manager Web Site

Connector for Microsoft Dynamics Configuration Guide for Microsoft Dynamics SL

Business Portal for Microsoft Dynamics GP. Requisition Management User s Guide Release 10.0

!!!! Apps & UX Guidelines for 3rd party integration

Craig Pelkie Bits & Bytes Programming, Inc. craig@web400.com

Setting up Hyper-V for 2X VirtualDesktopServer Manual

Overview of Microsoft Office 365 Development

Credit Card Advantage Build 26 - Release Notes (version 9.0 and 10.0)

Data Mailbox. support.ewon.biz. Reference Guide

Mailgate Ltd. MailGate Spam Filter User Manual

Microsoft Dynamics GP. Project Accounting Accounting Control Guide

Improving Performance of Microsoft CRM 3.0 by Using a Dedicated Report Server

Pipeliner CRM Phaenomena Guide Administration & Setup Pipelinersales Inc.

SharePoint Reset Password Web Part

Volume PLANETAUTHORIZE PAYMENT GATEWAY. vtiger CRM Payment Module. User Guide

Feith Dashboard iq Server Version 8.1 Install Guide

Sentinel EMS v7.1 Web Services Guide

Advanced Configuration Steps

Sophos Anti-Virus standalone startup guide. For Windows and Mac OS X

How To Use The Crosspointe.Net Employee Portal

A Quick Start Guide to Searching the LLC Catalogue and Databases

SysAid Freeware Installation Guide

Configuring IBM Cognos Controller 8 to use Single Sign- On

RedBlack CyBake Online Customer Service Desk

Pipeliner CRM Phaenomena Guide Opportunity Management Pipelinersales Inc.

StarWind iscsi SAN Software: Challenge-Handshake Authentication Protocol (CHAP) for Authentication of Users

StarWind iscsi SAN: Configuring HA File Server for SMB NAS February 2012

StarWind iscsi SAN Configuring HA File Server for SMB NAS

Cascaded Lookup 5.0 User Guide

Register Repertoire User Guide

Microsoft Dynamics GP. Workflow Installation Guide Release 10.0

bintec Workshop WAN Partner Configuration Copyright November 8, 2005 Funkwerk Enterprise Communications GmbH Version 0.9

Installing and Using Sage App Manager

How To Run Qqripper On A Cd Or Mp3 Player (For Pc)

Using itunes Producer 2.9 for Music

Quick Start Guide For Ipswitch Failover v9.0

PeopleSoft Enterprise Campus Solutions 9.0 Enrollment Web Services

Stone Edge Integration Guide

MetroPro Remote Access OMP-0476F. Zygo Corporation Laurel Brook Road P.O. Box 448 Middlefield, Connecticut 06455

Searching your Archive in Outlook (Normal)

Intel Retail Client Manager Audience Analytics

Microsoft Dynamics GP. Pay Steps for Human Resources Release 9.0

IBM Unica emessage Version 8 Release 5 February 19, Transactional Administration Guide

Field Properties Quick Reference

Microsoft Dynamics GP. Project Accounting Cost Management Guide

RoomWizard Synchronization Software Manual Installation Instructions

Transcription:

GD3 Database Web Service Web Service Guide GD3 Data, LLC Indianapolis, IN www.getdigitaldata.com COPYRIGHT Information in this document is subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of GD3 Data, LLC. This document and the software it describes are furnished under a license agreement, and may be used or copied only in accordance with the terms of the license agreement. July, 2005 of GD3 Data, LLC. All rights reserved. Information in this document is subject to change without notice. Get Digital Data, LLC assumes no responsibility or liability for any errors, omissions, or inaccuracies that may appear in this document.

Introduction Though years of work Get Digital Data has built a CD recognition database (GD3) designed specifically to provide accurate and consistent metadata for bulk CD ripping applications. This document is designed to provide you with everything you need to know to get started implementing the GD3 database you re your custom applications. How Do I Get Started Using the GD3 Web Service? In order to utilize the GD3 web service you will need to create an account through Get Digital Data. You can contact Get Digital Data at info@getdigitaldata.com for more information for an evaluation account as well as licensing information. Next, the Quick Start Guide will step you through the processes implementing the GD3 web services into your application to begin retrieving rich CD metadata. Step 1: Include a Reference to the GD3 Web Service in your Project To include the web service objects in your project, click the Project menu and select Web References. Visual Studio.NET will display the Add Web Reference dialog. Enter the following in the URL box: https://gdwebservice.getdigitaldata.com/gd3.asmx You can name the web service anything you like. For this example, we will call it GD3ws. Step 2: Initialize the Web Service Object & Set the Username / Password Before submitting CD Toc s, you must start the web service by creating an instance of the GD3ws object. Below is sample VB.Net code: Initialize ws as the new web service: Dim ws As New GD3ws.GD3 Once the web service has been initialized, the username and password token must be set: Dim AuthHeader As GD3ws.AuthHeader AuthHeader.Username = TestUserName AuthHeader.Password = TestPassword1 ws.authheadervalue = AuthHeader Step 3: Retrieve AlbumCode(s) associated with the Album TOC The first step in retrieving proper album information is to retrieve all of the possible album matches based on the Album TOC from the Get Digital database. The following code shows how to retrieve the album ID s using the MatchCDID call: Dim AlbumTOC As String AlbumTOC = 150 19255 37050 57477 77585 95100 111452 132267 154292 171860 189527 203747 233967

Dim MatchedAlbumCode() As GD3ws.AlbumCode MatchedAlbumCode = ws.matchcdid(albumtoc) MatchCDID Parameter: Result: Album TOC (String) AlbumCode1 (Integer): ID of the matching metadata in the GD3 database. MatchType (Integer): Value between 0 and 6 Artist (String) Album (String) CoverAvailable (String): True or False CoverArtWidth (Integer) CoverArtHeight (Integer) MatchType Value Response Definition 0 There was not match returned from the Get Digital database 1 or 3 The resulting Album has an Album TOC, which exactly matches the TOC submitted. 2 or 4 The resulting Album is an inexact match to the TOC submitted. 5 The resulting Album is returned from the Staging ( User ) Database 6 The resulting Album is returned from the calling users Staging ( User ) Database The number of matches returned can be determined by getting the bounds of the returned array. For example: NumberOfMatches = MatchedAlbumCode.Length Retrieving AlbumCode1 and MatchType of MatchedAlbumCode is as follows: AlbumCode = MatchedAlbumCode(0).AlbumCode1 MatchType - MatchedAlbumCode(0).MatchType Step 4: Retrieve Album information Based on the AlbumCode Album metadata information for a specified AlbumCode is retrieved using the RetrieveAlbum call. RetrieveAlbum Parameters: Returned Value: AlbumCode (Integer) AlbumMeta The RetrieveAlbum call returns the GD3 object AlbumMeta. Within the AlbumMeta object is an additional element Tracks, which is of type TrackMeta. The following table describes the elements of AlbumMeta: Attribute Definition Type Artist Name of Lead Artist String Album Album Title String AlbumCode GD3 Album code for the album Integer AlbumImage Front Cover art image Byte array AlbumYear Year album was published String

Compilation Flag defining if the album is a String String Compilation: Results: True Compilation False - Not Compilation Genre Genre of the album String Publisher Publisher of the album String CatalogNumber Publisher Catalog Number String SubGenre1 Album Style (ie. Opera) String SubGenre2 Album Instrument (ie. Piano) String SubGenre3 Custom Genre String LanguageCode The LangaugeCode is used to specify the language certain Integer items (Style, Period, Instrument & Genre) are returned. For example if an album is requested with the LanguageCode '2', it will return the German word "Klassisch" as the genre rather than the English "Classical" Valid Codes (default is 0): 0 - English 1 - French 2 - German 3 - Italian 4 - Spanish TrackMeta Track Detail Information TrackMeta Class The following table describes the elements of TrackMeta: Attribute Definition Type TrackName Title of track String TrackNumber Track number of track Integer TrackArtist Artist associated with the track String TrackLength Duration of track in milliseconds Integer ComposerName Composer associated with the track String ComposerNameSort Compose Sort Value String ConductorName Conductor associated with the track String ConductorNameSort Conductor Sort Value String Chorus Chorus for track String Orchestra Orchestra for track String SoloistsColl Collection of Soloists Soloists Class The following tabled describes the elements of Soloists: Attribute Definition Type SoloistsName Soloist String SoloistsNameSort Soloist Sort Value String * Note: currently the RetrieveAlbum Function has a return field of "Soloists", do not confuse this with the SoloistsColl. It is currently being populated, but will be deprecated. Retrieve AlbumMeta Information: The following sample code shows how to retrieve the standard album information using the AlbumMeta object: Dim AlbumInfo As GD3ws.AlbumMeta AlbumInfo = ws.retrievealbum(albumcode) ArtistName = AlbumInfo.Artist

AlbumName = AlbumInfo.Album Retrieve TrackMeta Information: The following demonstrates how to retrieve the track information: Dim TrackInfo() As GD3ws.TrackMeta TrackInfo = AlbumInfo.TrackMeta TrackTitle = TrackInfo(0).TrackTitle TrackDuration_Seconds = TrackInfo(0).TrackLength / 1000 Retrieve Cover Art: The AlbumImage element is delivered as a byte array. The following code demonstrates how to convert this to an Image property type. Dim ImageByteArray () As Byte ImageByteArray = CType(AlbumInfo.AlbumImage, Byte()) Dim msimage As New IO.MemoryStream(ImageByteArray) Dim CoverArtImage As Image CoverArtImage = Image.FromStream(msImage) Further Functionality In addition to retrieving album information, the GD3 web service also provides functionality such as submitting your album information to the GD3 database. Submitting Album Information to the GD3 Database: There may be times when album information is not available for a specific CD. Once the proper edits have been made to the album, you can submit this back to the GD3 database. This ensures the next time this CD is lookedup it will be available. InsertAlbum Parameters: AlbumMeta Returned Value: Boolean Dim SubmitSuccess As Boolean SubmitSuccess = ws.insertalbum(albuminfo) In order to assign an image to the element AlbumImage, you must first convert it to a Byte array. This can be done as follows: Dim msimage As New IO.MemoryStream Where CoverArtImage is of type Image containing the new cover art image CoverArtImage.Image.Save(msImage, Imaging.ImageFormat.Jpeg) Dim ImageByteArray(CInt(msImage.Length - 1)) As Byte msimage.position = 0 msimage.read(imagebytearray, 0, CInt(msImage.Length)) AlbumInfo.AlbumImage = ImageByteArray

Checking your account for the number of lookups remaining: Licensing the GD3 database provides the user with a set number of lookups they will be entitled. The GetNumberOfLookupsRemaining call returns an integer representing the number of lookups your account has remaining. GetNumberOfLookupsRemaining Parameters: none Returned Value: Integer Dim RemainingLookups As Integer RemainingLookups = ws.getnumberoflookupsremaining() Change your account password: The account password can be changed through the UpdatePassword call. UpdatePassword Parameters: String (new password) Returned Value: String (success) Dim PasswordUpdateSuccess As String PasswordUpdateSuccess = ws.updatepassword( TestPassword1 )