instagram_feed_by_hashtag 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/instagram_feed_by_hashtag.gemspec +12 -12
- data/lib/instagram_feed_by_hashtag/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 324b61cdfb38a102aaa652885c1a27a991d3bd22
|
4
|
+
data.tar.gz: 238e4b494f795132cfd0d2de29cc8cd37ad91b01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9766df2210f81fe9ec35883ac3ab2dcb882083a8c365de3b77aacebfc2ffa9e6f513b626b15398f5147bb4b1897f6151cf1dac24f1ea35afe884cf3f2d9a5e5e
|
7
|
+
data.tar.gz: 662612ec1b7279c4fda4e9ac4feb705c3cfe58ab7ce720792b89549ed746551d6e98d9e3b73837b6e160c5e629d7bed9c3bd56ac9b7eb31240fbdff1d26ab495
|
@@ -10,18 +10,18 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["eduardoprauze@hotmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Instagram feed by hashtag, returns a JSON}
|
13
|
-
spec.description = %q{Simple Instagram feed by hashtag, returns a JSON, no API authentication needed
|
14
|
-
|
15
|
-
|
16
|
-
Usage: Instagramfeedbyhashtag.feed(hashtag, count) # hashtag => string; count => integer
|
17
|
-
|
18
|
-
Example: Instagramfeedbyhashtag.feed('cars', 6) # Returns an JSON with 6 latest pics tagged with 'cars'
|
19
|
-
|
20
|
-
Full example: feed = Instagramfeedbyhashtag.feed( 'cars', 6 ) # Make request and store JSON in feed variable
|
21
|
-
@images = [] # Define array
|
22
|
-
for i in 0..(feed.count - 1) # Loop through feed
|
23
|
-
@images << feed[i]['display_src'] unless feed[i].nil? # Grab images URLs and store them in @images
|
24
|
-
end
|
13
|
+
spec.description = %q{Simple Instagram feed by hashtag, returns a JSON, no API authentication needed.
|
14
|
+
|
15
|
+
|
16
|
+
Usage: Instagramfeedbyhashtag.feed(hashtag, count) # hashtag => string; count => integer.
|
17
|
+
|
18
|
+
Example: Instagramfeedbyhashtag.feed('cars', 6) # Returns an JSON with 6 latest pics tagged with 'cars'.
|
19
|
+
|
20
|
+
Full example: feed = Instagramfeedbyhashtag.feed( 'cars', 6 ) # Make request and store JSON in feed variable
|
21
|
+
@images = [] # Define array
|
22
|
+
for i in 0..(feed.count - 1) # Loop through feed
|
23
|
+
@images << feed[i]['display_src'] unless feed[i].nil? # Grab images URLs and store them in @images
|
24
|
+
end
|
25
25
|
|
26
26
|
|
27
27
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instagram_feed_by_hashtag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo Prauze
|
@@ -39,15 +39,15 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
description: "Simple Instagram feed by hashtag, returns a JSON, no API authentication
|
42
|
-
needed
|
43
|
-
count) # hashtag => string; count => integer
|
42
|
+
needed.\n\n\n Usage: Instagramfeedbyhashtag.feed(hashtag,
|
43
|
+
count) # hashtag => string; count => integer.\n\n Example:
|
44
44
|
Instagramfeedbyhashtag.feed('cars', 6) # Returns an JSON with 6 latest pics tagged
|
45
|
-
with 'cars'
|
46
|
-
'cars', 6 ) # Make request and store JSON in feed variable
|
47
|
-
= [] # Define array
|
48
|
-
- 1) # Loop through feed
|
49
|
-
|
50
|
-
|
45
|
+
with 'cars'.\n\n Full example: feed = Instagramfeedbyhashtag.feed(
|
46
|
+
'cars', 6 ) # Make request and store JSON in feed variable\n @images
|
47
|
+
= [] # Define array\n for i in 0..(feed.count
|
48
|
+
- 1) # Loop through feed\n @images <<
|
49
|
+
feed[i]['display_src'] unless feed[i].nil? # Grab images URLs and store them in
|
50
|
+
@images\n end\n\n\n\n "
|
51
51
|
email:
|
52
52
|
- eduardoprauze@hotmail.com
|
53
53
|
executables: []
|