searchapi 1.0.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 +7 -0
- data/README.md +175 -0
- data/bin/test +14 -0
- data/lib/searchapi/error_result.rb +50 -0
- data/lib/searchapi/google_finance_options.rb +40 -0
- data/lib/searchapi/google_finance_request.rb +26 -0
- data/lib/searchapi/google_finance_result.rb +262 -0
- data/lib/searchapi/google_flights_options.rb +85 -0
- data/lib/searchapi/google_flights_request.rb +25 -0
- data/lib/searchapi/google_flights_result.rb +275 -0
- data/lib/searchapi/google_images_options.rb +64 -0
- data/lib/searchapi/google_images_request.rb +26 -0
- data/lib/searchapi/google_images_result.rb +133 -0
- data/lib/searchapi/google_light_options.rb +43 -0
- data/lib/searchapi/google_light_request.rb +26 -0
- data/lib/searchapi/google_light_result.rb +198 -0
- data/lib/searchapi/google_local_options.rb +40 -0
- data/lib/searchapi/google_local_request.rb +26 -0
- data/lib/searchapi/google_local_result.rb +85 -0
- data/lib/searchapi/google_news_light_options.rb +47 -0
- data/lib/searchapi/google_news_light_request.rb +26 -0
- data/lib/searchapi/google_news_light_result.rb +94 -0
- data/lib/searchapi/google_news_options.rb +53 -0
- data/lib/searchapi/google_news_portal_options.rb +40 -0
- data/lib/searchapi/google_news_portal_request.rb +89 -0
- data/lib/searchapi/google_news_portal_result.rb +137 -0
- data/lib/searchapi/google_news_request.rb +26 -0
- data/lib/searchapi/google_news_result.rb +129 -0
- data/lib/searchapi/google_scholar_options.rb +48 -0
- data/lib/searchapi/google_scholar_request.rb +26 -0
- data/lib/searchapi/google_scholar_result.rb +195 -0
- data/lib/searchapi/google_search_options.rb +67 -0
- data/lib/searchapi/google_search_request.rb +26 -0
- data/lib/searchapi/google_search_result.rb +301 -0
- data/lib/searchapi/helpers.rb +10 -0
- data/lib/searchapi/instagram_profile_options.rb +31 -0
- data/lib/searchapi/instagram_profile_request.rb +26 -0
- data/lib/searchapi/instagram_profile_result.rb +117 -0
- data/lib/searchapi/module_methods.rb +80 -0
- data/lib/searchapi/request.rb +25 -0
- data/lib/searchapi/response_methods.rb +14 -0
- data/lib/searchapi/tiktok_profile_options.rb +31 -0
- data/lib/searchapi/tiktok_profile_request.rb +26 -0
- data/lib/searchapi/tiktok_profile_result.rb +71 -0
- data/lib/searchapi/version.rb +3 -0
- data/lib/searchapi/youtube_search_options.rb +62 -0
- data/lib/searchapi/youtube_search_request.rb +26 -0
- data/lib/searchapi/youtube_search_result.rb +411 -0
- data/lib/searchapi.rb +70 -0
- data/searchapi.gemspec +37 -0
- metadata +164 -0
data/searchapi.gemspec
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
require_relative 'lib/searchapi/version'
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do | spec |
|
|
4
|
+
|
|
5
|
+
spec.name = 'searchapi'
|
|
6
|
+
spec.version = SearchAPI::VERSION
|
|
7
|
+
spec.authors = [ 'Kristoph Cichocki-Romanov' ]
|
|
8
|
+
spec.email = [ 'rubygems.org@kristoph.net' ]
|
|
9
|
+
|
|
10
|
+
spec.summary =
|
|
11
|
+
"A Ruby client for the SearchAPI.io API, supporting various services including " \
|
|
12
|
+
"Google Search, YouTube, Instagram, and others."
|
|
13
|
+
spec.description =
|
|
14
|
+
"A Ruby client for the SearchAPI.io API. Supports various services including " \
|
|
15
|
+
"Google Search, YouTube, Instagram, TikTok, Google Finance, Google Flights, " \
|
|
16
|
+
"Google News, Google Images, Google Scholar, and more."
|
|
17
|
+
spec.license = 'MIT'
|
|
18
|
+
spec.homepage = 'https://github.com/EndlessInternational/searchapi'
|
|
19
|
+
spec.metadata = {
|
|
20
|
+
'source_code_uri' => 'https://github.com/EndlessInternational/searchapi',
|
|
21
|
+
'bug_tracker_uri' => 'https://github.com/EndlessInternational/searchapi/issues',
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
spec.required_ruby_version = '>= 3.0'
|
|
25
|
+
spec.files = Dir[ "lib/**/*.rb", "bin/*", "LICENSE", "README.md", "searchapi.gemspec" ]
|
|
26
|
+
spec.bindir = 'bin'
|
|
27
|
+
spec.executables = []
|
|
28
|
+
spec.require_paths = [ "lib" ]
|
|
29
|
+
|
|
30
|
+
spec.add_runtime_dependency 'faraday', '~> 2'
|
|
31
|
+
spec.add_runtime_dependency 'dynamicschema', '~> 2'
|
|
32
|
+
|
|
33
|
+
spec.add_development_dependency 'minitest', '~> 5.25'
|
|
34
|
+
spec.add_development_dependency 'debug', '~> 1.9'
|
|
35
|
+
spec.add_development_dependency 'vcr', '~> 6.3'
|
|
36
|
+
|
|
37
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: searchapi
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Kristoph Cichocki-Romanov
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: faraday
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '2'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '2'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: dynamicschema
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '2'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '2'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: minitest
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '5.25'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '5.25'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: debug
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '1.9'
|
|
61
|
+
type: :development
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '1.9'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: vcr
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '6.3'
|
|
75
|
+
type: :development
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '6.3'
|
|
82
|
+
description: A Ruby client for the SearchAPI.io API. Supports various services including
|
|
83
|
+
Google Search, YouTube, Instagram, TikTok, Google Finance, Google Flights, Google
|
|
84
|
+
News, Google Images, Google Scholar, and more.
|
|
85
|
+
email:
|
|
86
|
+
- rubygems.org@kristoph.net
|
|
87
|
+
executables: []
|
|
88
|
+
extensions: []
|
|
89
|
+
extra_rdoc_files: []
|
|
90
|
+
files:
|
|
91
|
+
- README.md
|
|
92
|
+
- bin/test
|
|
93
|
+
- lib/searchapi.rb
|
|
94
|
+
- lib/searchapi/error_result.rb
|
|
95
|
+
- lib/searchapi/google_finance_options.rb
|
|
96
|
+
- lib/searchapi/google_finance_request.rb
|
|
97
|
+
- lib/searchapi/google_finance_result.rb
|
|
98
|
+
- lib/searchapi/google_flights_options.rb
|
|
99
|
+
- lib/searchapi/google_flights_request.rb
|
|
100
|
+
- lib/searchapi/google_flights_result.rb
|
|
101
|
+
- lib/searchapi/google_images_options.rb
|
|
102
|
+
- lib/searchapi/google_images_request.rb
|
|
103
|
+
- lib/searchapi/google_images_result.rb
|
|
104
|
+
- lib/searchapi/google_light_options.rb
|
|
105
|
+
- lib/searchapi/google_light_request.rb
|
|
106
|
+
- lib/searchapi/google_light_result.rb
|
|
107
|
+
- lib/searchapi/google_local_options.rb
|
|
108
|
+
- lib/searchapi/google_local_request.rb
|
|
109
|
+
- lib/searchapi/google_local_result.rb
|
|
110
|
+
- lib/searchapi/google_news_light_options.rb
|
|
111
|
+
- lib/searchapi/google_news_light_request.rb
|
|
112
|
+
- lib/searchapi/google_news_light_result.rb
|
|
113
|
+
- lib/searchapi/google_news_options.rb
|
|
114
|
+
- lib/searchapi/google_news_portal_options.rb
|
|
115
|
+
- lib/searchapi/google_news_portal_request.rb
|
|
116
|
+
- lib/searchapi/google_news_portal_result.rb
|
|
117
|
+
- lib/searchapi/google_news_request.rb
|
|
118
|
+
- lib/searchapi/google_news_result.rb
|
|
119
|
+
- lib/searchapi/google_scholar_options.rb
|
|
120
|
+
- lib/searchapi/google_scholar_request.rb
|
|
121
|
+
- lib/searchapi/google_scholar_result.rb
|
|
122
|
+
- lib/searchapi/google_search_options.rb
|
|
123
|
+
- lib/searchapi/google_search_request.rb
|
|
124
|
+
- lib/searchapi/google_search_result.rb
|
|
125
|
+
- lib/searchapi/helpers.rb
|
|
126
|
+
- lib/searchapi/instagram_profile_options.rb
|
|
127
|
+
- lib/searchapi/instagram_profile_request.rb
|
|
128
|
+
- lib/searchapi/instagram_profile_result.rb
|
|
129
|
+
- lib/searchapi/module_methods.rb
|
|
130
|
+
- lib/searchapi/request.rb
|
|
131
|
+
- lib/searchapi/response_methods.rb
|
|
132
|
+
- lib/searchapi/tiktok_profile_options.rb
|
|
133
|
+
- lib/searchapi/tiktok_profile_request.rb
|
|
134
|
+
- lib/searchapi/tiktok_profile_result.rb
|
|
135
|
+
- lib/searchapi/version.rb
|
|
136
|
+
- lib/searchapi/youtube_search_options.rb
|
|
137
|
+
- lib/searchapi/youtube_search_request.rb
|
|
138
|
+
- lib/searchapi/youtube_search_result.rb
|
|
139
|
+
- searchapi.gemspec
|
|
140
|
+
homepage: https://github.com/EndlessInternational/searchapi
|
|
141
|
+
licenses:
|
|
142
|
+
- MIT
|
|
143
|
+
metadata:
|
|
144
|
+
source_code_uri: https://github.com/EndlessInternational/searchapi
|
|
145
|
+
bug_tracker_uri: https://github.com/EndlessInternational/searchapi/issues
|
|
146
|
+
rdoc_options: []
|
|
147
|
+
require_paths:
|
|
148
|
+
- lib
|
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
|
+
requirements:
|
|
151
|
+
- - ">="
|
|
152
|
+
- !ruby/object:Gem::Version
|
|
153
|
+
version: '3.0'
|
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - ">="
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: '0'
|
|
159
|
+
requirements: []
|
|
160
|
+
rubygems_version: 3.6.7
|
|
161
|
+
specification_version: 4
|
|
162
|
+
summary: A Ruby client for the SearchAPI.io API, supporting various services including
|
|
163
|
+
Google Search, YouTube, Instagram, and others.
|
|
164
|
+
test_files: []
|