Skip to content

josefansinger/sanapiwrapper

Repository files navigation

sanapiwrapper

Wrapper of the GraphQL based Santiment API.

installation

First install the following R packages by hand.

install.packages(c("devtools", "roxygen2", "jsonlite", "tidyr", "testthat"))

library(devtools)
install_github("ropensci/ghql")

Download the tar.gz file and run on the command line.

R CMD INSTALL sanapiwrapper_0.2.tar.gz

Alternatively, clone the repository and run the make file.

git clone https://github.com/josefansinger/sanapiwrapper.git
cd sanapiwrapper
make

usage

library(sanapiwrapper)

metric <- santimentMetric('daily_active_addresses', 'ethereum', '2020-01-01', '2020-04-01')

Examples are listed in the documentation. Further tests are run during the build process.

Travis build status

About

Wrapper functions for Santiment GraphQL API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published