RBrainz 0.3.0
Sponsored Links
RBrainz 0.3.0 Ranking & Summary
File size:
0.070 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
805
Date added:
2007-08-13
Publisher:
Philipp Wolfer
RBrainz 0.3.0 description
RBrainz is a Ruby client library to query the MusicBrainz database using the MusicBrainz XML web service.
RBrainz follows the design of the MusicBrainz client library reference implementation and supports the MusicBrainz XML Metadata Schema Version 1.2.
Usage:
A simple example on how to use RBrainz is shown below. For more detailed instructions see the API documentation.
require rbrainz
include MusicBrainz
# With the ArtistInclude object we can control what
# kind of information the MusicBrainz server will
# include in its answer.
artist_includes = Webservice::ArtistIncludes.new(
:aliases => true,
:releases => [Album, Official],
:artist_rels => true,
:release_rels => true,
:track_rels => true,
:label_rels => true,
:url_rels => true
)
# Query the webservice for the artist with a given ID.
# The result will contain all the information
# specified in artist_includes.
query = Webservice::Query.new
id = c0b2500e-0cef-4130-869d-732b23ed9df5
artist = query.get_artist_by_id(id, artist_includes)
# Display the fetched artist data together with
# all release titles.
print < ID : #{artist.id.uuid}
Name : #{artist.name}
Sort name : #{artist.sort_name}
Disambiguation: #{artist.disambiguation}
Type : #{artist.type}
Begin date : #{artist.begin_date}
End date : #{artist.end_date}
Aliases : #{artist.aliases.to_a.join(; )}
Releases : #{artist.releases.to_a.join(; )}
EOF
Enhancements:
- This release fixes a bug with relation end dates and makes it easier to work with values such as release types or relation attributes with or without namespace.
RBrainz follows the design of the MusicBrainz client library reference implementation and supports the MusicBrainz XML Metadata Schema Version 1.2.
Usage:
A simple example on how to use RBrainz is shown below. For more detailed instructions see the API documentation.
require rbrainz
include MusicBrainz
# With the ArtistInclude object we can control what
# kind of information the MusicBrainz server will
# include in its answer.
artist_includes = Webservice::ArtistIncludes.new(
:aliases => true,
:releases => [Album, Official],
:artist_rels => true,
:release_rels => true,
:track_rels => true,
:label_rels => true,
:url_rels => true
)
# Query the webservice for the artist with a given ID.
# The result will contain all the information
# specified in artist_includes.
query = Webservice::Query.new
id = c0b2500e-0cef-4130-869d-732b23ed9df5
artist = query.get_artist_by_id(id, artist_includes)
# Display the fetched artist data together with
# all release titles.
print <
Name : #{artist.name}
Sort name : #{artist.sort_name}
Disambiguation: #{artist.disambiguation}
Type : #{artist.type}
Begin date : #{artist.begin_date}
End date : #{artist.end_date}
Aliases : #{artist.aliases.to_a.join(; )}
Releases : #{artist.releases.to_a.join(; )}
EOF
Enhancements:
- This release fixes a bug with relation end dates and makes it easier to work with values such as release types or relation attributes with or without namespace.
RBrainz 0.3.0 Screenshot
RBrainz 0.3.0 Keywords
RBrainz
MusicBrainz
XML
MusicBrainz XML
RBrainz 0.3.0
musicbrainz xml web service
Ruby client library
XML Web Service
Client Library
XML Web
ruby client
to query
rels
query
library
client
Bookmark RBrainz 0.3.0
RBrainz 0.3.0 Copyright
WareSeeker periodically updates pricing and software information of RBrainz 0.3.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of RBrainz 0.3.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
xml web services
xml web services tutorial
Web service
xml web service standards
xml web service tutorial
yahoo ruby client
ruby client server
mysql client library
musicbrainz tagger
xml web service directory
web service oracle stored procedure connection string xml
ruby client server example
musicbrainz blog blog
unable to initialize client library context
weather xml web service
xml webservice
musicbrainz picard
xml web services interview questions
Related Software
RPCAP is a Remote Packet Capture system. Free Download
Twisted Names is both a domain name server as well as a client resolver library. Free Download
Ruby/DICT is an RFC 2229 compliant client-side library implementation of the DICT protocol. Free Download
MusicBrainz::Client is a MusicBrainz Client API. Free Download
BeanKeeper is a full featured, powerful object/relational persistence and query library for Java. Free Download
BelowVersion is a single-file Python CGI to browse a Subversion repository. Free Download
VP Toolkit is an Internet client/server C++ library, with support for object threads. Free Download
GPM client library (libgpm) package is an stand-alone version of GPMs client library. Free Download
Latest Software
Popular Software
Favourite Software