-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
34 lines (23 loc) · 785 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
= Yahoo Site Explorer Gem
Yahoo Site Explorer API integration.
== Installation
gem install yahoo-se
== Usage
Yahoo::SE.application_id = "YOUR_YAHOO_APPLICATION_ID"
# Inlink Service
backlinks = Yahoo::SE.inlinks("http://rubyskills.com", :results => 100)
backlinks.results
backlinks.next
backlinks.results
# Page Service
page_data = Yahoo::SE.pages("http://rubyskills.com", :results => 100)
page_data.results
page_data.next.results
# Ping Service
ping = Yahoo::SE.ping("http://rubyskills.com")
ping.response
# Update Notification Service
update_notification = Yahoo::SE.update_notification("http://rubyskills.com")
update_notification.response
See Yahoo::SE for more info
see: http://developer.yahoo.com/search/siteexplorer for more details on the Yahoo API.