Skip to content

Commit

Permalink
export scraping functions
Browse files Browse the repository at this point in the history
  • Loading branch information
duncantl committed Aug 12, 2015
1 parent d9745c7 commit 5c96885
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NAMESPACE
Expand Up @@ -16,3 +16,6 @@ export(
groupShow,
userBookReview
)

export(getSearchResults, getReviews)

15 changes: 15 additions & 0 deletions boot.R
@@ -0,0 +1,15 @@
library(RCurl)
library(XML)

source(url("https://github.com/dsidavis/Rgoodreads/raw/master/R/api.R"))
source(url("https://github.com/dsidavis/Rgoodreads/raw/master/R/utils.R"))
source(url("https://github.com/dsidavis/Rgoodreads/raw/master/R/scrape.R"))

# Then run the following command without the # and the my key replaced by you actual developer key.
# options(GoodReadsKey = "my key")

# Then
u = getSearchResults("Wild")
rvs = getReviews(u[1], max = 100)


0 comments on commit 5c96885

Please sign in to comment.