instagram_api_client 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 64ea4b37b0138bbd3d2c8da8f47db69ae42a94b9
4
+ data.tar.gz: ee8af806017b7327754a832edf711ca4117cb004
5
+ SHA512:
6
+ metadata.gz: 5fcb4202fd585628871edf2fa4637029c7767d57e9a7d646f0b8cb0758147f8a1235cc1ba0f557778d536c0571dcd40cda1f1be42802b9f0ce7dd82d5cf1f22e
7
+ data.tar.gz: 7829f62adf748a4ec94b914f57cdd740803d70d94c69bfccc81e0a9a0a62871b3c2b26bedf31a0802fe4717ad587ff7919ab549e37cff6d500a91b8a6696b444
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ .idea
12
+ instagram_api-*.gem
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.14.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at sergey.mell@agilie.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in instagram_api.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016-2017 Agilie Team info@agilie.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,56 @@
1
+ [![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/agilie/GoButton)
2
+
3
+ # InstagramApi
4
+
5
+ A Ruby wrapper for the Instagram API.
6
+ You can see the api endpoints here https://www.instagram.com/developer/endpoints/
7
+
8
+ ## Installation
9
+
10
+ ```ruby
11
+ gem install instagram_api
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ Before you start making the requests to instagram API provide the `access_token` using the configuration
17
+ wrapping.
18
+
19
+ ```ruby
20
+ InstagramAPI.config do |config|
21
+ config.access_token = 'put_your_token_here'
22
+ end
23
+ ```
24
+
25
+ As for now Instagram access token doesn't change or expire, so you can use this simple-to-use service
26
+ to generate it http://services.chrisriversdesign.com/instagram-token/
27
+ I the nearest future the OAuth authorization for access token fetching will be implemented.
28
+
29
+ ## TODOS
30
+
31
+ 1. OAuth authorization for access token fetching
32
+ 2. Incode Documentation
33
+ 3. Cover functionality with tests
34
+
35
+ ## Troubleshooting
36
+
37
+ Problems? Check the [Issues](https://github.com/agilie/instagram_api_gem/issues) block to find
38
+ the solution or create an new issue that we will fix asap. Feel free to contribute.
39
+ This project is intended to be a safe, welcoming space for collaboration.
40
+
41
+ ## Author
42
+ This gem is open-sourced by [Agilie Team](https://www.agilie.com) ([info@agilie.com](mailto:info@agilie.com))
43
+
44
+ ## Contributor
45
+ [Sergey Mell](https://github.com/SergeyMell)
46
+
47
+ ## Contact us
48
+ If you have any questions, suggestions or just need a help with web or mobile development,
49
+ please email us at <web@agilie.com>. You can ask us anything from basic to complex questions.
50
+
51
+ We will continue publishing new open-source projects. Stay with us, more updates will follow!
52
+
53
+ ## License
54
+
55
+ The gem is available as open source under the [MIT](LICENSE.md) License (MIT) Copyright © 2017 [Agilie Team](https://www.agilie.com)
56
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "instagram_api"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'instagram_api/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'instagram_api_client'
8
+ spec.version = InstagramApi::VERSION
9
+ spec.authors = ['SergeyMell']
10
+ spec.email = ['sergey.mell@agilie.com']
11
+
12
+ spec.summary = 'A Ruby wrapper for the Instagram API'
13
+ spec.description = 'A Ruby wrapper for the Instagram API'
14
+
15
+ spec.homepage = 'https://github.com/agilie/instagram_api_gem'
16
+ spec.license = 'MIT'
17
+
18
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
20
+ if spec.respond_to?(:metadata)
21
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
22
+ else
23
+ raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.14"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "minitest", "~> 5.0"
36
+
37
+ spec.add_dependency 'httparty'
38
+ spec.add_dependency 'plural'
39
+ spec.add_dependency 'hashie'
40
+ end
@@ -0,0 +1,31 @@
1
+ require 'instagram_api/version'
2
+
3
+ require 'instagram_api/client'
4
+ require 'instagram_api/common'
5
+
6
+ require 'instagram_api/user'
7
+ require 'instagram_api/tag'
8
+ require 'instagram_api/location'
9
+ require 'instagram_api/media'
10
+ require 'instagram_api/configuration'
11
+
12
+ module InstagramApi
13
+ extend Configuration
14
+
15
+ RESOURCES = %w(user location tag media).freeze
16
+
17
+ class << self
18
+ RESOURCES.each do |resource|
19
+ define_method resource do |resource_id = nil|
20
+ klass_name(resource).new(resource_id)
21
+ end
22
+ end
23
+
24
+ private
25
+
26
+ def klass_name(resource)
27
+ "InstagramApi::#{resource.capitalize}".split('::').inject(Object) {|o, c| o.const_get c}
28
+ end
29
+ end
30
+
31
+ end
@@ -0,0 +1,59 @@
1
+ require 'httparty'
2
+ require 'plural'
3
+ require 'hashie'
4
+ require 'instagram_api/exceptions'
5
+
6
+ module InstagramApi
7
+
8
+ module Client
9
+
10
+ include HTTParty
11
+
12
+ BASE_API_URI = 'https://api.instagram.com/v1'.freeze
13
+
14
+ ERROR_CODES = {
15
+ 400 => BadRequest,
16
+ 404 => NotFound,
17
+ 429 => TooManyRequests,
18
+ 500 => InternalServerError,
19
+ 502 => BadGateway,
20
+ 503 => ServiceUnavailable,
21
+ 504 => GatewayTimeout
22
+ }.freeze
23
+
24
+ protected
25
+
26
+ def resource_path(id = nil)
27
+ resource = self.class.name.split('::').last.downcase.plural
28
+ suffix = id ? "/#{id}" : ''
29
+ "#{BASE_API_URI}/#{resource}#{suffix}?access_token=#{InstagramApi.access_token}"
30
+ end
31
+
32
+ def make_request(url, options, method = :get)
33
+ response = HTTParty.send(method, url, options)
34
+ if response.success?
35
+ parse_success response
36
+ else
37
+ parse_failed response
38
+ end
39
+ end
40
+
41
+ private
42
+
43
+ def parse_success(response)
44
+ response_hash = JSON.parse(response.body).merge(
45
+ limit: response.headers['x-ratelimit-limit'],
46
+ remaining: response.headers['x-ratelimit-remaining']
47
+ )
48
+ ::Hashie::Mash.new(response_hash)
49
+ end
50
+
51
+ def parse_failed(response)
52
+ error = ERROR_CODES[response.code].new(response)
53
+ raise error, error.message
54
+ end
55
+
56
+ end
57
+
58
+ end
59
+
@@ -0,0 +1,42 @@
1
+ require 'instagram_api/client'
2
+
3
+ module InstagramApi
4
+
5
+ module Search
6
+ include Client
7
+
8
+ def search(query, options = {})
9
+ make_request resource_path('search'), query: options.merge(q: query)
10
+ end
11
+ end
12
+
13
+ module Resource
14
+ include Client
15
+
16
+ private
17
+
18
+ def show(id, options = {})
19
+ raise 'Resource ID is required' unless id
20
+ make_request resource_path(id), query: options
21
+ end
22
+
23
+ def index(id, resource_name, options = {})
24
+ raise 'Resource ID is required' unless id
25
+ make_request resource_path("#{id}/#{resource_name}"), query: options
26
+ end
27
+
28
+ def create(id, resource_name, options = {})
29
+ raise 'Resource ID is required' unless id
30
+ make_request(resource_path("#{id}/#{resource_name}"), { body: options }, :post)
31
+ end
32
+
33
+ def destroy(id, resource_name, resource_id = nil, options = {})
34
+ raise 'Resource ID is required' unless id
35
+ path = "#{id}/#{resource_name}"
36
+ path = "#{path}/#{resource_id}" if resource_id
37
+ make_request(resource_path(path), { query: options }, :delete)
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,15 @@
1
+ module InstagramApi
2
+ module Configuration
3
+
4
+ OPTIONS = [
5
+ :access_token
6
+ ].freeze
7
+
8
+ attr_accessor *OPTIONS
9
+
10
+ def config
11
+ yield self
12
+ end
13
+
14
+ end
15
+ end
@@ -0,0 +1,51 @@
1
+ module InstagramApi
2
+
3
+ class Error < StandardError
4
+ attr_reader :message, :type, :code
5
+
6
+ def initialize(response)
7
+ body = JSON.parse(response.body)
8
+
9
+ @code = "#{response[:status]}"
10
+ @type = body['meta']['error_type']
11
+ @message = body['meta']['error_message']
12
+ end
13
+ end
14
+
15
+ # Raised when Instagram returns the HTTP status code 400
16
+ class BadRequest < Error
17
+ end
18
+
19
+ # Raised when Instagram returns the HTTP status code 404
20
+ class NotFound < Error
21
+ end
22
+
23
+ # Raised when Instagram returns the HTTP status code 429
24
+ class TooManyRequests < Error
25
+ end
26
+
27
+ # Raised when Instagram returns the HTTP status code 500
28
+ class InternalServerError < Error
29
+ end
30
+
31
+ # Raised when Instagram returns the HTTP status code 502
32
+ class BadGateway < Error
33
+ end
34
+
35
+ # Raised when Instagram returns the HTTP status code 503
36
+ class ServiceUnavailable < Error
37
+ end
38
+
39
+ # Raised when Instagram returns the HTTP status code 504
40
+ class GatewayTimeout < Error
41
+ end
42
+
43
+ # Raised when a subscription payload hash is invalid
44
+ class InvalidSignature < Error
45
+ end
46
+
47
+ # Raised when Instagram returns the HTTP status code 429
48
+ class RateLimitExceeded < Error
49
+ end
50
+
51
+ end
@@ -0,0 +1,18 @@
1
+ require 'instagram_api/common'
2
+
3
+ module InstagramApi
4
+
5
+ class Location
6
+ include Search
7
+
8
+ def initialize(location_id = nil)
9
+ @location_id = location_id
10
+ end
11
+
12
+ def recent_media(options = {})
13
+ index @location_id, 'media/recent', options
14
+ end
15
+ end
16
+
17
+ end
18
+
@@ -0,0 +1,47 @@
1
+ require 'instagram_api/common'
2
+
3
+ module InstagramApi
4
+
5
+ class Media
6
+ include Search
7
+ include Resource
8
+
9
+ def initialize(media_id = nil)
10
+ @media_id = media_id
11
+ end
12
+
13
+ def show(options = {})
14
+ super @media_id, options
15
+ end
16
+
17
+ def short_code(short_code, options = {})
18
+ make_request resource_path("shortcode/#{short_code}"), query: options
19
+ end
20
+
21
+ def likes(options = {})
22
+ index(@media_id, 'likes', options)
23
+ end
24
+
25
+ def add_like(options = {})
26
+ create(@media_id, 'likes', options)
27
+ end
28
+
29
+ def delete_like(options = {})
30
+ destroy(@media_id, 'likes', nil, options)
31
+ end
32
+
33
+ def comments(options = {})
34
+ index(@media_id, 'comments', options)
35
+ end
36
+
37
+ def add_comment(options = {})
38
+ create(@media_id, 'comments', options)
39
+ end
40
+
41
+ def delete_comment(comment_id, options = {})
42
+ destroy(@media_id, 'comments', comment_id, options)
43
+ end
44
+ end
45
+
46
+ end
47
+
@@ -0,0 +1,19 @@
1
+ require 'instagram_api/common'
2
+
3
+ module InstagramApi
4
+
5
+ class Tag
6
+ include Search
7
+ include Resource
8
+
9
+ def initialize(tag_id = nil)
10
+ @tag_id = tag_id
11
+ end
12
+
13
+ def recent_media(options = {})
14
+ index @tag_id, 'media/recent', options
15
+ end
16
+ end
17
+
18
+ end
19
+
@@ -0,0 +1,42 @@
1
+ require 'instagram_api/common'
2
+
3
+ module InstagramApi
4
+
5
+ class User
6
+ include Search
7
+ include Resource
8
+
9
+ def initialize(user_id)
10
+ @user_id = user_id || 'self'
11
+ end
12
+
13
+ def show(options = {})
14
+ super @user_id, options
15
+ end
16
+
17
+ def recent_media(options = {})
18
+ index @user_id, 'media/recent', options
19
+ end
20
+
21
+ def liked_media(options = {})
22
+ index @user_id, 'media/liked', options
23
+ end
24
+
25
+ def follows(options = {})
26
+ make_request resource_path('self/follows'), query: options
27
+ end
28
+
29
+ def followed_by(options = {})
30
+ make_request resource_path('self/followed-by'), query: options
31
+ end
32
+
33
+ def check_relationship(user_id, options = {})
34
+ make_request resource_path("#{user_id}/relationship"), query: options
35
+ end
36
+
37
+ def change_relationship(user_id, options = {})
38
+ make_request resource_path("#{user_id}/relationship"), {body: options}, :post
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,3 @@
1
+ module InstagramApi
2
+ VERSION = '0.1.0'
3
+ end
metadata ADDED
@@ -0,0 +1,149 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: instagram_api_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - SergeyMell
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-07-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: httparty
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: plural
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: hashie
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: A Ruby wrapper for the Instagram API
98
+ email:
99
+ - sergey.mell@agilie.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".travis.yml"
106
+ - CODE_OF_CONDUCT.md
107
+ - Gemfile
108
+ - LICENSE.txt
109
+ - README.md
110
+ - Rakefile
111
+ - bin/console
112
+ - bin/setup
113
+ - instagram_api.gemspec
114
+ - lib/instagram_api.rb
115
+ - lib/instagram_api/client.rb
116
+ - lib/instagram_api/common.rb
117
+ - lib/instagram_api/configuration.rb
118
+ - lib/instagram_api/exceptions.rb
119
+ - lib/instagram_api/location.rb
120
+ - lib/instagram_api/media.rb
121
+ - lib/instagram_api/tag.rb
122
+ - lib/instagram_api/user.rb
123
+ - lib/instagram_api/version.rb
124
+ homepage: https://github.com/agilie/instagram_api_gem
125
+ licenses:
126
+ - MIT
127
+ metadata:
128
+ allowed_push_host: https://rubygems.org
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubyforge_project:
145
+ rubygems_version: 2.4.3
146
+ signing_key:
147
+ specification_version: 4
148
+ summary: A Ruby wrapper for the Instagram API
149
+ test_files: []