RubyGems Navigation menu

instagram_feed_by_hashtag 0.0.6

Simple Instagram feed by hashtag, returns a JSON, no API authentication needed. Usage: Instagramfeedbyhashtag.feed(hashtag, count) # hashtag => string; count => integer. Example: Instagramfeedbyhashtag.feed('cars', 6) # Returns an JSON with 6 latest pics tagged with 'cars'. Full example: feed = Instagramfeedbyhashtag.feed( 'cars', 6 ) # Make request and store JSON in feed variable @images = [] # Define array for i in 0..(feed.count - 1) # Loop through feed @images << feed[i]['display_src'] unless feed[i].nil? # Grab images URLs and store them in @images end

Gemfile:
=

install:
=

Versions:

  1. 0.1.3 June 21, 2016 (7 KB)
  2. 0.1.1 June 21, 2016 (7 KB)
  3. 0.1.0 June 21, 2016 (7.5 KB)
  4. 0.0.9 June 21, 2016 (7 KB)
  5. 0.0.8 June 21, 2016 (7 KB)
  6. 0.0.6 June 20, 2016 (7.5 KB)
Show all versions (12 total)

Development Dependencies (2):

bundler ~> 1.12
rake ~> 10.0

Owners:

Authors:

  • Eduardo Prauze

SHA 256 checksum:

=

Total downloads 30,700

For this version 3,009

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: