All Projects â†’ mdewilde â†’ itunes-api

mdewilde / itunes-api

Licence: Apache-2.0 license
Java client for iTunes APIs

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to itunes-api

iTunesSearch
ðŸŽĩ A .NET wrapper to the iTunes search API
Stars: ✭ 20 (-37.5%)
Mutual labels:  itunes-search, itunes-api
SparkJobServerClient
Java Client of the Spark Job Server implementing the arranged Rest APIs
Stars: ✭ 50 (+56.25%)
Mutual labels:  java-client
Musish
Apple Music...ish
Stars: ✭ 2,775 (+8571.88%)
Mutual labels:  apple
JRedisTimeSeries
Java Client for RedisTimeSeries
Stars: ✭ 29 (-9.37%)
Mutual labels:  java-client
Applereserver
Apple åŪ˜æ–đéĒ„įšĶį›‘控åŠĐ手
Stars: ✭ 245 (+665.63%)
Mutual labels:  apple
jetty-load-generator
jetty-project.github.io/jetty-load-generator/
Stars: ✭ 62 (+93.75%)
Mutual labels:  java-client
Watusi For Whatsapp
Your all-in-one tweak for WhatsApp Messenger!
Stars: ✭ 240 (+650%)
Mutual labels:  apple
iOS-ARKit
Basic Concepts and Projects using ARKit on iOS.
Stars: ✭ 18 (-43.75%)
Mutual labels:  apple
nheqminer-macos
nheqminer for macOS with AVX and CUDA
Stars: ✭ 85 (+165.63%)
Mutual labels:  apple
podcastcrawler
PHP library to find podcasts
Stars: ✭ 40 (+25%)
Mutual labels:  itunes-api
app-stores-prometheus-exporter
Prometheus exporter that exports metrics (score, ratings, reviews, app version, etc.) from the Apple App Store and Google Play Store
Stars: ✭ 80 (+150%)
Mutual labels:  itunes-store
Pyapns2
Python library for interacting with the Apple Push Notification service (APNs) via HTTP/2 protocol
Stars: ✭ 246 (+668.75%)
Mutual labels:  apple
player-shoutcast-html5
Responsive HMTL5 Web Player for SHOUTCast and Icecast streamings with cover art and lyrics
Stars: ✭ 71 (+121.88%)
Mutual labels:  itunes-api
Swiftui Sliders
🚀 SwiftUI Sliders with custom styles
Stars: ✭ 241 (+653.13%)
Mutual labels:  apple
pinpoint
🌎 A python script for finding your Mac.
Stars: ✭ 56 (+75%)
Mutual labels:  apple
2017
Student Submissions for the WWDC 2017 Scholarship
Stars: ✭ 240 (+650%)
Mutual labels:  apple
Secureenclavecrypto
Demonstration library for using the Secure Enclave on iOS
Stars: ✭ 251 (+684.38%)
Mutual labels:  apple
JRedisGraph
Java API for RedisGraph
Stars: ✭ 56 (+75%)
Mutual labels:  java-client
JRediSearch
Java Client for RediSearch
Stars: ✭ 133 (+315.63%)
Mutual labels:  java-client
react-mapkit
React wrapper for Apple's mapkit.js.
Stars: ✭ 71 (+121.88%)
Mutual labels:  apple

iTunes API

Maven Central badge Javadocs License build status code coverage

iTunes API is a Java client library providing easy programmatic access to four different iTunes APIs.

Usage

Search

Search for 15 podcasts with CBS Radio as author in the Canadian iTunes store:

Response response = new Search("cbs radio")
	.setCountry(Country.CANADA)
	.setAttribute(Attribute.AUTHOR_TERM)
	.setMedia(Media.PODCAST)
	.setLimit(15)
	.execute();

See also Search API page on apple.com

Lookup

Lookup Bruce Springsteen albums by his iTunes artist id, 178834:

Response response = new Lookup()
	.addId("178834")
	.setEntity(Entity.ALBUM)
	.execute();

See also Lookup API page on apple.com

Feed Generator

The purpose of the Feed Generator API is to create custom RSS feeds of specific iTunes Store content, such as charts and new entries.

This library allows creating feed URLs programmatically. It also allows retrieving the feed content directly.

For example, create a feed URL for the top 10 hot albums for Apple Music in France:

String url = new FeedGenerator()
	.setCountry(Country.FRANCE)
	.setMediaType(MediaType.APPLE_MUSIC)
	.setFeedType(FeedType.HOT_ALBUMS)
	.setResultsLimit(10)
	.getUrl();

To retrieve the feed content directly:

Feed feed = new FeedGenerator()
	.setAllowExplicit(true)
	.setCountry(Country.FRANCE)
	.setMediaType(MediaType.APPLE_MUSIC)
	.setFeedType(FeedType.HOT_ALBUMS)
	.setResultsLimit(10)
	.execute();

See also Feed Generator page on apple.com

Genre ID

Get the full genre hierarchy for the iTunes store, along with relevant links for each genre.

GenreIdsResponse response = new GenreIdsAppendix().getGenres();

See also Genre ID page on apple.com

HTTP connection setup

To reduce external dependencies, iTunes API has a default HTTP implementation relying on java.net.URLConnection. However, using your preferred way to make HTTP requests can be done by implementing the be.ceau.itunesapi.http.Connector interface and passing an instance to the relevant API entry point:

  • be.ceau.itunesapi.Search.execute(Connector)
  • be.ceau.itunesapi.Lookup.execute(Connector)
  • be.ceau.itunesapi.FeedGenerator.execute(Connector)
  • be.ceau.itunesapi.GenreIdsAppendix.execute(Connector)

Requirements

This library requires Java 7 or higher.

Maven Central

Include this project directly from Maven Central

<dependency>
	<groupId>be.ceau</groupId>
	<artifactId>itunes-api</artifactId>
	<version>${project.version}</version>
</dependency>

iTunes Search

iTunes API is an evolution of the iTunes Search library. The new name iTunes API reflects the fact multiple APIs are implemented by the library.

GnuPG public key

Verify signature files with my GnuPG public key.

Javadoc

View javadoc for current release at javadoc.io.

License

Licensed under the Apache 2.0 license.

Disclaimer

iTunes is a trademark of Apple Inc., registered in the U.S. and other countries.

This library has not been authorized, sponsored, or otherwise approved by Apple Inc.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].