awis-sdk-ruby 0.0.5 → 0.0.6
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.
- data/README.md +27 -1
- data/lib/awis/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -29,6 +29,11 @@ client = Awis::Client.new
|
|
|
29
29
|
url_info = client.url_info(url: "site.com")
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
If you looking for the API request URI:
|
|
33
|
+
|
|
34
|
+
* Awis::API::UrlInfo.new.load_request_uri(url: 'site.com')
|
|
35
|
+
|
|
36
|
+
|
|
32
37
|
Returns object that contains attributes:
|
|
33
38
|
|
|
34
39
|
* data_url
|
|
@@ -41,10 +46,15 @@ Returns object that contains relationships:
|
|
|
41
46
|
* content_data [:data_url, :site_title, :site_description, :speed_median_load_time, :speed_percentile, :adult_content, :language_locale, :links_in_count, :owned_domains]
|
|
42
47
|
* usage_statistics [:time_range_months, :time_range_days, :rank_value, :rank_delta, :reach_rank_value, :reach_rank_delta,
|
|
43
48
|
:reach_per_million_value, :reach_per_million_delta, :reach_page_views_per_million_value, :reach_page_views_per_million_delta,
|
|
44
|
-
:reach_page_views_rank_value, :reach_page_views_rank_delta, :reach_page_views_per_user_value, :reach_page_views_per_user_delta]
|
|
49
|
+
:reach_page_views_rank_value, :reach_page_views_rank_delta, :reach_page_views_per_user_value, :reach_page_views_per_user_delta]
|
|
50
|
+
- add two methods: [range_type, range_count]
|
|
45
51
|
* related_links [:data_url, :navigable_url, :title]
|
|
46
52
|
* categories [:title, :absolute_path]
|
|
47
53
|
|
|
54
|
+
New methods:
|
|
55
|
+
|
|
56
|
+
* is_404?
|
|
57
|
+
|
|
48
58
|
You can specify options:
|
|
49
59
|
|
|
50
60
|
* url
|
|
@@ -57,6 +67,10 @@ client = Awis::Client.new
|
|
|
57
67
|
sites_linking_in = client.sites_linking_in(url: "site.com")
|
|
58
68
|
```
|
|
59
69
|
|
|
70
|
+
If you looking for the API request URI:
|
|
71
|
+
|
|
72
|
+
* Awis::API::SitesLinkingIn.new.load_request_uri(url: 'site.com')
|
|
73
|
+
|
|
60
74
|
Returns object that contains relationships:
|
|
61
75
|
|
|
62
76
|
* sites [:title, :url]
|
|
@@ -74,6 +88,10 @@ client = Awis::Client.new
|
|
|
74
88
|
traffic_history = client.traffic_history(url: "site.com")
|
|
75
89
|
```
|
|
76
90
|
|
|
91
|
+
If you looking for the API request URI:
|
|
92
|
+
|
|
93
|
+
* Awis::API::TrafficHistory.new.load_request_uri(url: 'site.com')
|
|
94
|
+
|
|
77
95
|
Returns object that contains methods:
|
|
78
96
|
|
|
79
97
|
* range
|
|
@@ -97,6 +115,10 @@ client = Awis::Client.new
|
|
|
97
115
|
category_listings = client.category_listings(path: "Top/Games/Card_Games")
|
|
98
116
|
```
|
|
99
117
|
|
|
118
|
+
If you looking for the API request URI:
|
|
119
|
+
|
|
120
|
+
* Awis::API::CategoryListings.new.load_request_uri(path: "Top/Games/Card_Games")
|
|
121
|
+
|
|
100
122
|
Returns object that contains methods:
|
|
101
123
|
|
|
102
124
|
* count
|
|
@@ -113,6 +135,10 @@ client = Awis::Client.new
|
|
|
113
135
|
category_browses = client.category_browse(path: "Top/Games/Card_Games")
|
|
114
136
|
```
|
|
115
137
|
|
|
138
|
+
If you looking for the API request URI:
|
|
139
|
+
|
|
140
|
+
* Awis::API::CategoryBrowse.new.load_request_uri(path: "Top/Games/Card_Games")
|
|
141
|
+
|
|
116
142
|
Returns object that contains methods:
|
|
117
143
|
|
|
118
144
|
* categories [:path, :title, :sub_category_count, :total_listing_count]
|
data/lib/awis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: awis-sdk-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
167
|
version: '0'
|
|
168
168
|
segments:
|
|
169
169
|
- 0
|
|
170
|
-
hash:
|
|
170
|
+
hash: -3875215359314092874
|
|
171
171
|
requirements: []
|
|
172
172
|
rubyforge_project:
|
|
173
173
|
rubygems_version: 1.8.23
|