searchapi 1.0.0 → 1.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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -33
  3. data/lib/searchapi/error_result.rb +3 -3
  4. data/lib/searchapi/google_finance_options.rb +1 -1
  5. data/lib/searchapi/google_finance_request.rb +1 -1
  6. data/lib/searchapi/google_finance_result.rb +1 -1
  7. data/lib/searchapi/google_flights_options.rb +1 -1
  8. data/lib/searchapi/google_flights_request.rb +1 -1
  9. data/lib/searchapi/google_flights_result.rb +1 -1
  10. data/lib/searchapi/google_images_options.rb +1 -1
  11. data/lib/searchapi/google_images_request.rb +1 -1
  12. data/lib/searchapi/google_images_result.rb +1 -1
  13. data/lib/searchapi/google_light_options.rb +1 -1
  14. data/lib/searchapi/google_light_request.rb +1 -1
  15. data/lib/searchapi/google_light_result.rb +1 -1
  16. data/lib/searchapi/google_local_options.rb +1 -1
  17. data/lib/searchapi/google_local_request.rb +1 -1
  18. data/lib/searchapi/google_local_result.rb +1 -1
  19. data/lib/searchapi/google_news_light_options.rb +1 -1
  20. data/lib/searchapi/google_news_light_request.rb +1 -1
  21. data/lib/searchapi/google_news_light_result.rb +1 -1
  22. data/lib/searchapi/google_news_options.rb +1 -1
  23. data/lib/searchapi/google_news_portal_options.rb +1 -1
  24. data/lib/searchapi/google_news_portal_request.rb +1 -1
  25. data/lib/searchapi/google_news_portal_result.rb +1 -1
  26. data/lib/searchapi/google_news_request.rb +1 -1
  27. data/lib/searchapi/google_news_result.rb +1 -1
  28. data/lib/searchapi/google_scholar_options.rb +1 -1
  29. data/lib/searchapi/google_scholar_request.rb +1 -1
  30. data/lib/searchapi/google_scholar_result.rb +1 -1
  31. data/lib/searchapi/google_search_options.rb +1 -1
  32. data/lib/searchapi/google_search_request.rb +1 -1
  33. data/lib/searchapi/google_search_result.rb +1 -1
  34. data/lib/searchapi/helpers.rb +1 -1
  35. data/lib/searchapi/instagram_profile_options.rb +1 -1
  36. data/lib/searchapi/instagram_profile_request.rb +1 -1
  37. data/lib/searchapi/instagram_profile_result.rb +1 -1
  38. data/lib/searchapi/module_methods.rb +1 -1
  39. data/lib/searchapi/request.rb +4 -4
  40. data/lib/searchapi/response_methods.rb +1 -1
  41. data/lib/searchapi/tiktok_profile_options.rb +1 -1
  42. data/lib/searchapi/tiktok_profile_request.rb +1 -1
  43. data/lib/searchapi/tiktok_profile_result.rb +1 -1
  44. data/lib/searchapi/version.rb +2 -2
  45. data/lib/searchapi/youtube_search_options.rb +1 -1
  46. data/lib/searchapi/youtube_search_request.rb +1 -1
  47. data/lib/searchapi/youtube_search_result.rb +1 -1
  48. data/lib/searchapi.rb +1 -1
  49. data/searchapi.gemspec +3 -3
  50. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d08a566b8b60588ec83cfb8c18f535de5fe329325dfafb1d8120a61f105afeac
4
- data.tar.gz: 4a59d8ca1b3921e1d419abd37789ca5098b61f4dd0a5465c1674b76445cff156
3
+ metadata.gz: bade0e59fb4fc3764856d1cd4a5fed0eef7f06c6b5ce512ff4802d9848269154
4
+ data.tar.gz: 5ebb00269d7e4b1c01efe107d4082157b513644352674bde9282de28e6975043
5
5
  SHA512:
6
- metadata.gz: 680bf0570d6b8b814cf7256c5bc3df04d0a3e60f3c38cc7ff420044a51e15836835c8b40ead4c8a613c69016512206cc8f72fe41602124127b8130883d1408bd
7
- data.tar.gz: 1dc489acd03a4540dcf63121ae4c4ece11f550f795c0e86a6f4326420c263dee4b0ac0bfc92b805ede693c24232f6d62dbf135bbb64424177963d52c342a7e45
6
+ metadata.gz: 5f39465a4dbcfe4869e45aec36807fa5e4af2ad6ffc4dd9d974982a9f8d65fa1a49347f8a5a1265876003198af0155052426c14ad77da99ceb1afb3255c60c1a
7
+ data.tar.gz: 0fab4b542de5214aeb387bdf0530ca2791667b74c8d21e47322d5341cad1dfdd8f095aad1faa7d9879bdbdf051dc684f971d206b29a70a692fa27d9c080bad6a
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # SearchAPI Ruby Gem
1
+ # SearchApi Ruby Gem
2
2
 
3
- A Ruby client for the [SearchAPI.io](https://searchapi.io) API, providing access to Google Search, YouTube, Instagram, TikTok, and more.
3
+ A Ruby client for the [SearchApi.io](https://searchapi.io) API, providing access to Google Search, YouTube, Instagram, TikTok, and more.
4
4
 
5
5
  ## Installation
6
6
 
@@ -21,33 +21,33 @@ gem install searchapi
21
21
  ```ruby
22
22
  require 'searchapi'
23
23
 
24
- SearchAPI.api_key ENV['SEARCH_API_KEY']
24
+ SearchApi.api_key ENV['SEARCH_API_KEY']
25
25
  ```
26
26
 
27
27
  ## Available APIs
28
28
 
29
29
  | API | Method | Description |
30
30
  |-----|--------|-------------|
31
- | Google Search | `SearchAPI.google(query)` | Full Google search with all features |
32
- | Google Light | `SearchAPI.google_light(query)` | Fast, lightweight Google search |
33
- | Google News | `SearchAPI.news(query)` | Google News articles |
34
- | Google News Portal | `SearchAPI.news_portal(query)` | Google News Portal with topics |
35
- | Google News Light | `SearchAPI.news_light(query)` | Fast, lightweight news search |
36
- | Google Images | `SearchAPI.images(query)` | Google Image search |
37
- | Google Local | `SearchAPI.local(query)` | Local business search |
38
- | Google Scholar | `SearchAPI.scholar(query)` | Academic papers and citations |
39
- | Google Finance | `SearchAPI.finance(symbol)` | Stock quotes and financial data |
40
- | Google Flights | `SearchAPI.flights(options)` | Flight search and booking |
41
- | YouTube | `SearchAPI.youtube(query)` | YouTube video search |
42
- | Instagram | `SearchAPI.instagram(username)` | Instagram profile data |
43
- | TikTok | `SearchAPI.tiktok(username)` | TikTok profile data |
31
+ | Google Search | `SearchApi.google(query)` | Full Google search with all features |
32
+ | Google Light | `SearchApi.google_light(query)` | Fast, lightweight Google search |
33
+ | Google News | `SearchApi.news(query)` | Google News articles |
34
+ | Google News Portal | `SearchApi.news_portal(query)` | Google News Portal with topics |
35
+ | Google News Light | `SearchApi.news_light(query)` | Fast, lightweight news search |
36
+ | Google Images | `SearchApi.images(query)` | Google Image search |
37
+ | Google Local | `SearchApi.local(query)` | Local business search |
38
+ | Google Scholar | `SearchApi.scholar(query)` | Academic papers and citations |
39
+ | Google Finance | `SearchApi.finance(symbol)` | Stock quotes and financial data |
40
+ | Google Flights | `SearchApi.flights(options)` | Flight search and booking |
41
+ | YouTube | `SearchApi.youtube(query)` | YouTube video search |
42
+ | Instagram | `SearchApi.instagram(username)` | Instagram profile data |
43
+ | TikTok | `SearchApi.tiktok(username)` | TikTok profile data |
44
44
 
45
45
  ## Quick Examples
46
46
 
47
47
  ### Google Search
48
48
 
49
49
  ```ruby
50
- response = SearchAPI.google('ruby programming')
50
+ response = SearchApi.google('ruby programming')
51
51
  response.result.organic_results.each do |result|
52
52
  puts "#{ result.title } - #{ result.link }"
53
53
  end
@@ -56,7 +56,7 @@ end
56
56
  ### Google News
57
57
 
58
58
  ```ruby
59
- response = SearchAPI.news('technology', time_period: :last_week)
59
+ response = SearchApi.news('technology', time_period: :last_week)
60
60
  response.result.each do |article|
61
61
  puts "#{ article.title } (#{ article.source })"
62
62
  end
@@ -65,7 +65,7 @@ end
65
65
  ### Google Images
66
66
 
67
67
  ```ruby
68
- response = SearchAPI.images('sunset', size: :large, color: :orange)
68
+ response = SearchApi.images('sunset', size: :large, color: :orange)
69
69
  response.result.each do |image|
70
70
  puts "#{ image.title } - #{ image.original.link }"
71
71
  end
@@ -74,28 +74,28 @@ end
74
74
  ### Google Finance
75
75
 
76
76
  ```ruby
77
- response = SearchAPI.finance('AAPL:NASDAQ')
77
+ response = SearchApi.finance('AAPL:NASDAQ')
78
78
  puts "#{ response.result.summary.title }: $#{ response.result.summary.price }"
79
79
  ```
80
80
 
81
81
  ### Google Flights
82
82
 
83
83
  ```ruby
84
- options = SearchAPI::GoogleFlightsOptions.build do
84
+ options = SearchApi::GoogleFlightsOptions.build do
85
85
  departure_id 'JFK'
86
86
  arrival_id 'LAX'
87
87
  outbound_date '2026-06-15'
88
88
  flight_type :one_way
89
89
  end
90
90
 
91
- response = SearchAPI.flights(options)
91
+ response = SearchApi.flights(options)
92
92
  puts "Cheapest: $#{ response.result.cheapest&.price }"
93
93
  ```
94
94
 
95
95
  ### YouTube Search
96
96
 
97
97
  ```ruby
98
- response = SearchAPI.youtube('ruby tutorial')
98
+ response = SearchApi.youtube('ruby tutorial')
99
99
  response.result.videos.each do |video|
100
100
  puts "#{ video.title } by #{ video.channel.title }"
101
101
  end
@@ -105,11 +105,11 @@ end
105
105
 
106
106
  ```ruby
107
107
  # Instagram
108
- response = SearchAPI.instagram('instagram')
108
+ response = SearchApi.instagram('instagram')
109
109
  puts "#{ response.result.profile.username }: #{ response.result.followers } followers"
110
110
 
111
111
  # TikTok
112
- response = SearchAPI.tiktok('tiktok')
112
+ response = SearchApi.tiktok('tiktok')
113
113
  puts "#{ response.result.profile.name }: #{ response.result.hearts } hearts"
114
114
  ```
115
115
 
@@ -119,25 +119,25 @@ Each API supports options via a block or hash:
119
119
 
120
120
  ```ruby
121
121
  # Block syntax
122
- options = SearchAPI::GoogleSearchOptions.build do
122
+ options = SearchApi::GoogleSearchOptions.build do
123
123
  device :mobile
124
124
  gl 'us'
125
125
  hl 'en'
126
126
  time_period :last_week
127
127
  end
128
- response = SearchAPI.google('news', options)
128
+ response = SearchApi.google('news', options)
129
129
 
130
130
  # Hash syntax
131
- response = SearchAPI.google('news', { device: :mobile, gl: 'us' })
131
+ response = SearchApi.google('news', { device: :mobile, gl: 'us' })
132
132
  ```
133
133
 
134
134
  Options are case-insensitive and normalized automatically:
135
135
 
136
136
  ```ruby
137
137
  # These are equivalent
138
- SearchAPI::GoogleFinanceOptions.build { window :'1d' } # => '1D'
139
- SearchAPI::GoogleFinanceOptions.build { window :'1D' } # => '1D'
140
- SearchAPI::GoogleFinanceOptions.build { window :MAX } # => 'MAX'
138
+ SearchApi::GoogleFinanceOptions.build { window :'1d' } # => '1D'
139
+ SearchApi::GoogleFinanceOptions.build { window :'1D' } # => '1D'
140
+ SearchApi::GoogleFinanceOptions.build { window :MAX } # => 'MAX'
141
141
  ```
142
142
 
143
143
  ## Response Structure
@@ -145,7 +145,7 @@ SearchAPI::GoogleFinanceOptions.build { window :MAX } # => 'MAX'
145
145
  All responses return a Faraday response with a `result` accessor:
146
146
 
147
147
  ```ruby
148
- response = SearchAPI.google('test')
148
+ response = SearchApi.google('test')
149
149
  response.success? # HTTP success
150
150
  response.result.success? # API success (no error field)
151
151
  response.result.search_metadata
@@ -156,7 +156,7 @@ response.result.organic_results
156
156
  Results are enumerable where it makes sense:
157
157
 
158
158
  ```ruby
159
- response = SearchAPI.google('ruby')
159
+ response = SearchApi.google('ruby')
160
160
  response.result.each { |r| puts r.title } # Iterates organic_results
161
161
  response.result.first # First organic result
162
162
  response.result.count # Number of organic results
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class ErrorResult
3
3
 
4
4
  attr_reader :error_type, :error_description
@@ -39,10 +39,10 @@ module SearchAPI
39
39
  "The rate limit has been exceeded." ]
40
40
  when 500..599
41
41
  [ :server_error,
42
- "The SearchAPI server encountered an error while processing the request." ]
42
+ "The SearchApi server encountered an error while processing the request." ]
43
43
  else
44
44
  [ :unknown_error,
45
- "The SearchAPI service returned an unexpected status code: '#{ status_code }'." ]
45
+ "The SearchApi service returned an unexpected status code: '#{ status_code }'." ]
46
46
  end
47
47
  end
48
48
 
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleFinanceOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleFinanceRequest < Request
3
3
 
4
4
  def quote( symbol, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  # Google Finance Search metadata
6
6
  GoogleFinanceMetadataSchema = DynamicSchema::Struct.define do
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleFlightsOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleFlightsRequest < Request
3
3
 
4
4
  def search( options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  # Google Flights Search metadata
6
6
  GoogleFlightsMetadataSchema = DynamicSchema::Struct.define do
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleImagesOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleImagesRequest < Request
3
3
 
4
4
  def search( query, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleImagesMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleLightOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleLightRequest < Request
3
3
 
4
4
  def search( query, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleLightMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleLocalOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleLocalRequest < Request
3
3
 
4
4
  def search( query, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleLocalSearchMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleNewsLightOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleNewsLightRequest < Request
3
3
 
4
4
  def search( query, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleNewsLightMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleNewsOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleNewsPortalOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleNewsPortalRequest < Request
3
3
 
4
4
  def search( query = nil, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleNewsPortalMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleNewsRequest < Request
3
3
 
4
4
  def search( query, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleNewsMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleScholarOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleScholarRequest < Request
3
3
 
4
4
  def search( query = nil, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  GoogleScholarMetadataSchema = DynamicSchema::Struct.define do
6
6
  id String
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleSearchOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class GoogleSearchRequest < Request
3
3
 
4
4
  def search( query = nil, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  # Search metadata
6
6
  GoogleSearchMetadataSchema = DynamicSchema::Struct.define do
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  module Helpers
3
3
 
4
4
  def string_camelize( string )
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class InstagramProfileOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class InstagramProfileRequest < Request
3
3
 
4
4
  def profile( username, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  # Instagram Search metadata
6
6
  InstagramProfileMetadataSchema = DynamicSchema::Struct.define do
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  module ModuleMethods
3
3
 
4
4
  def connection( connection = nil )
@@ -1,14 +1,14 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class Request
3
3
 
4
4
  BASE_URI = 'https://www.searchapi.io/api/v1'
5
5
 
6
6
  def initialize( connection: nil, api_key: nil )
7
- @connection = connection || SearchAPI.connection
8
- @api_key = api_key || SearchAPI.api_key
7
+ @connection = connection || SearchApi.connection
8
+ @api_key = api_key || SearchApi.api_key
9
9
  raise ArgumentError,
10
10
  "The API key is required but was not provided; configure it using " \
11
- "'SearchAPI.api_key' or pass it directly." unless @api_key
11
+ "'SearchApi.api_key' or pass it directly." unless @api_key
12
12
  end
13
13
 
14
14
  protected
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  module ResponseMethods
3
3
 
4
4
  def self.install( response, result )
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class TikTokProfileOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class TikTokProfileRequest < Request
3
3
 
4
4
  def profile( username, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  # TikTok Search metadata
6
6
  TikTokProfileMetadataSchema = DynamicSchema::Struct.define do
@@ -1,3 +1,3 @@
1
- module SearchAPI
2
- VERSION = '1.0.0'
1
+ module SearchApi
2
+ VERSION = '1.1.0'
3
3
  end
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class YouTubeSearchOptions
3
3
  include DynamicSchema::Definable
4
4
  include Helpers
@@ -1,4 +1,4 @@
1
- module SearchAPI
1
+ module SearchApi
2
2
  class YouTubeSearchRequest < Request
3
3
 
4
4
  def search( query, options = nil, &block )
@@ -1,6 +1,6 @@
1
1
  require 'forwardable'
2
2
 
3
- module SearchAPI
3
+ module SearchApi
4
4
 
5
5
  # YouTube Search metadata
6
6
  YouTubeSearchMetadataSchema = DynamicSchema::Struct.define do
data/lib/searchapi.rb CHANGED
@@ -65,6 +65,6 @@ require_relative 'searchapi/google_scholar_request'
65
65
 
66
66
  require_relative 'searchapi/module_methods'
67
67
 
68
- module SearchAPI
68
+ module SearchApi
69
69
  extend ModuleMethods
70
70
  end
data/searchapi.gemspec CHANGED
@@ -3,15 +3,15 @@ require_relative 'lib/searchapi/version'
3
3
  Gem::Specification.new do | spec |
4
4
 
5
5
  spec.name = 'searchapi'
6
- spec.version = SearchAPI::VERSION
6
+ spec.version = SearchApi::VERSION
7
7
  spec.authors = [ 'Kristoph Cichocki-Romanov' ]
8
8
  spec.email = [ 'rubygems.org@kristoph.net' ]
9
9
 
10
10
  spec.summary =
11
- "A Ruby client for the SearchAPI.io API, supporting various services including " \
11
+ "A Ruby client for the SearchApi.io API, supporting various services including " \
12
12
  "Google Search, YouTube, Instagram, and others."
13
13
  spec.description =
14
- "A Ruby client for the SearchAPI.io API. Supports various services including " \
14
+ "A Ruby client for the SearchApi.io API. Supports various services including " \
15
15
  "Google Search, YouTube, Instagram, TikTok, Google Finance, Google Flights, " \
16
16
  "Google News, Google Images, Google Scholar, and more."
17
17
  spec.license = 'MIT'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristoph Cichocki-Romanov
@@ -79,7 +79,7 @@ dependencies:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '6.3'
82
- description: A Ruby client for the SearchAPI.io API. Supports various services including
82
+ description: A Ruby client for the SearchApi.io API. Supports various services including
83
83
  Google Search, YouTube, Instagram, TikTok, Google Finance, Google Flights, Google
84
84
  News, Google Images, Google Scholar, and more.
85
85
  email:
@@ -159,6 +159,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  requirements: []
160
160
  rubygems_version: 3.6.7
161
161
  specification_version: 4
162
- summary: A Ruby client for the SearchAPI.io API, supporting various services including
162
+ summary: A Ruby client for the SearchApi.io API, supporting various services including
163
163
  Google Search, YouTube, Instagram, and others.
164
164
  test_files: []