Skip to content

Commit

Permalink
Merge pull request #98 from twingly/remove-developer.twingly.com
Browse files Browse the repository at this point in the history
Link to our new API documentation
  • Loading branch information
roback authored Dec 21, 2022
2 parents b95acd2 + 546464d commit 7cd26b9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ To learn more about the features of this gem, read the [gem documentation] or ch
To learn more about the capabilities of Twingly's APIs, please read the [Blog Search API documentation] and [Blog LiveFeed API documentation].

[gem documentation]: https://www.rubydoc.info/github/twingly/twingly-search-api-ruby
[Blog Search API documentation]: https://developer.twingly.com/resources/search/
[Blog LiveFeed API documentation]: https://developer.twingly.com/resources/livefeed/
[Blog Search API documentation]: https://app.twingly.com/blog_search?tab=documentation
[Blog LiveFeed API documentation]: https://app.twingly.com/blog_livefeed?tab=documentation

### Blog Search API

Expand Down
2 changes: 1 addition & 1 deletion examples/find_all_posts_mentioning_github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(keyword, language: nil)

# Run block for each blog post returned from api.
# Uses a sliding time-based window to get all results.
# @see https://developer.twingly.com/resources/search/#pagination
# @see https://app.twingly.com/blog_search?tab=documentation
def each
loop do
result = execute_with_retry
Expand Down
4 changes: 2 additions & 2 deletions lib/twingly/livefeed/post.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ module LiveFeed
# @attr_reader [String] blog_name the name of the blog
# @attr_reader [String] blog_url the blog URL
# @attr_reader [Integer] blog_rank the rank of the blog, based on authority and language.
# See https://developer.twingly.com/resources/ranking/#blogrank
# See https://app.twingly.com/blog_livefeed?tab=documentation
# @attr_reader [Integer] authority the blog's authority/influence.
# See https://developer.twingly.com/resources/ranking/#authority
# See https://app.twingly.com/blog_livefeed?tab=documentation
class Post
attr_reader :id, :author, :url, :title, :text, :location_code,
:language_code, :coordinates, :links, :tags, :images, :indexed_at,
Expand Down
4 changes: 2 additions & 2 deletions lib/twingly/search/post.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ module Search
# @attr_reader [String] blog_name the name of the blog
# @attr_reader [String] blog_url the blog URL
# @attr_reader [Integer] blog_rank the rank of the blog, based on authority and language.
# See https://developer.twingly.com/resources/ranking/#blogrank
# See https://app.twingly.com/blog_search?tab=documentation
# @attr_reader [Integer] authority the blog's authority/influence.
# See https://developer.twingly.com/resources/ranking/#authority
# https://app.twingly.com/blog_search?tab=documentation
class Post
attr_reader :id, :author, :url, :title, :text, :location_code,
:language_code, :coordinates, :links, :tags, :images, :indexed_at,
Expand Down
2 changes: 1 addition & 1 deletion lib/twingly/search/result.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Result
# within the maximum allowed query time.
# @return [false] if all servers responded within the maximum allowed
# query time.
# @see https://developer.twingly.com/resources/search/#response
# @see https://app.twingly.com/blog_search?tab=documentation
def incomplete?
@incomplete_result
end
Expand Down

0 comments on commit 7cd26b9

Please sign in to comment.