You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,21 +16,21 @@ gem install twingly-search
16
16
Or add to your application's [Gemfile](http://bundler.io/gemfile.html) and then run `bundle`
17
17
18
18
```ruby
19
-
gem 'twingly-search'
19
+
gem "twingly-search"
20
20
```
21
21
22
22
## Usage
23
23
24
24
```ruby
25
-
require'twingly/search'
25
+
require"twingly/search"
26
26
27
27
client =Twingly::Search::Client.newdo |client|
28
28
client.user_agent ="MyCompany/1.0"
29
29
end
30
30
31
31
query = client.query do |query|
32
-
query.pattern ='github page-size:10'
33
-
query.language ='sv'
32
+
query.pattern ="github page-size:10"
33
+
query.language ="sv"
34
34
end
35
35
36
36
result = query.execute
@@ -42,11 +42,11 @@ The `twingly-search` gem talks to a commercial blog search API and requires an A
42
42
43
43
Example code can be found in [examples/](examples/).
44
44
45
-
Too learn more about the capabilities of this API you should read the [Twingly Search API documentation](https://developer.twingly.com/resources/search/).
45
+
To learn more about the capabilities of the API, please read the [Twingly Search API documentation](https://developer.twingly.com/resources/search/).
46
46
47
47
## Requirements
48
48
49
-
* API key, contact sales@twingly.com to get one
49
+
* API key, contact sales@twingly.comvia [twingly.com](http://www.twingly.com/try-for-free/)to get one
0 commit comments