noawsalbumart 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/lib/noawsalbumart/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a884ac869d0f2990f183a00201ef6e727fca872a
|
4
|
+
data.tar.gz: c120c1116bd2af160f0a610f14cba23ca24a2d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7456be20a94e019d1a641ee2ce47d9618885dd5fee402b65c9482db7a05d7a1fb27ec572c24a436f3b2b3d5e28dae2dfb52b3b388da0edb574d6bb960c1d4c25
|
7
|
+
data.tar.gz: 65ecd49a0b1539e8f12dfa23ed46835ba094bfc96f58387878bc849ae488af28b45a02d4b8eec15ebb2d4db86699b07a916f0a6cd93823e9eb6fdf990c8e8648
|
data/README.md
CHANGED
@@ -22,6 +22,19 @@ NoAWSAlbumArt was mainly an exercise in building an alternative to Amazon Album
|
|
22
22
|
|
23
23
|
I mainly chose to use amazon simply because of image normalization for most album art at certain sizes.
|
24
24
|
|
25
|
+
To use, simply search using Noawsalbumart("artist name", "album name") to return a url to a small album image.
|
26
|
+
|
27
|
+
<pre><code> Noawsalbumart.search("Kanye West", "Graduation") </code></pre>
|
28
|
+
returns
|
29
|
+
<pre><code> http://ecx.images-amazon.com/images/I/516is-FPgmL._AA160_.jpg </code></pre>
|
30
|
+
![graduation](http://ecx.images-amazon.com/images/I/516is-FPgmL._AA160_.jpg)
|
31
|
+
|
32
|
+
If provided with nil or an empty string, the search will return "Album Art Not Found".
|
33
|
+
|
34
|
+
<pre><code> Noawsalbumart.search("", nil) </code></pre>
|
35
|
+
returns
|
36
|
+
<pre><code> "Album Art Not Found" </pre></code>
|
37
|
+
|
25
38
|
## Development
|
26
39
|
|
27
40
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|