tumblikes 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +19 -5
- data/lib/tumblikes/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: 451bbfef938d8fe329c2ba002e6658e175b90fa5
|
|
4
|
+
data.tar.gz: 6c5a4b4edb6d617e42a0d8d4bc0285e900ad9c09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c14313b472ba3f90dbc84592f805f0266ff27bf3c7c0a5b98a56e58bd903aceb0a4bcc1d4c74daa800ea1965f4274148f0da4bc459a9ac34eb26ee71b9da8072
|
|
7
|
+
data.tar.gz: a305016d2d380619cf82363dbce9192f6578c9e4966330f52d72367f4beac91e0aabffb3c14277fc9cab225fa5e499cdd4bf9a770abaf5fdf3b605632df405c3
|
data/README.md
CHANGED
|
@@ -38,9 +38,21 @@ tumblikes = Tumblikes::Client.new(
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
### Quick Example
|
|
41
|
+
#### Liked Count
|
|
42
|
+
```ruby
|
|
43
|
+
tumblikes.liked_count
|
|
44
|
+
# => 5729
|
|
45
|
+
```
|
|
41
46
|
|
|
47
|
+
#### Image Urls
|
|
42
48
|
```ruby
|
|
43
49
|
tumblikes.image_urls
|
|
50
|
+
# => [
|
|
51
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_1.jpg",
|
|
52
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_2.jpg",
|
|
53
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_3.jpg",
|
|
54
|
+
# ...
|
|
55
|
+
# ]
|
|
44
56
|
```
|
|
45
57
|
|
|
46
58
|
You can use following options.
|
|
@@ -49,11 +61,13 @@ You can use following options.
|
|
|
49
61
|
|
|
50
62
|
```ruby
|
|
51
63
|
tumblikes.image_urls(limit: 5, offset: 100)
|
|
52
|
-
# => [
|
|
53
|
-
# "https://xx.media.tumblr.com/
|
|
54
|
-
# "https://xx.media.tumblr.com/
|
|
55
|
-
# "https://xx.media.tumblr.com/
|
|
56
|
-
# "https://xx.media.tumblr.com/
|
|
64
|
+
# => [
|
|
65
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_100.jpg",
|
|
66
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_101.jpg",
|
|
67
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_102.jpg",
|
|
68
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_103.jpg",
|
|
69
|
+
# "https://xx.media.tumblr.com/xxx/tumblr_104.jpg"
|
|
70
|
+
# ]
|
|
57
71
|
```
|
|
58
72
|
|
|
59
73
|
## Contributing
|
data/lib/tumblikes/version.rb
CHANGED