v0.1.1 includes sdk_package tracking

update POST request in create_query_token()
This commit is contained in:
Carlos R. Mercado 2022-10-28 10:11:00 -04:00
parent 389d255f2c
commit 2bc5231b50
3 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Package: shroomDK
Type: Package
Title: Accessing the Flipside Crypto ShroomDK REST API
Version: 0.1.0
Version: 0.1.1
Author: Carlos Mercado
Maintainer: Carlos Mercado <carlos.mercado@flipsidecrypto.com>
Description: Programmatic access to Flipside Crypto data via the REST API: <https://sdk.flipsidecrypto.xyz/shroomdk>. As simple as auto_paginate_query() but with core functions as needed for troubleshooting.

View File

@ -49,7 +49,9 @@ create_query_token <- function(query, api_key, ttl = 10, cache = TRUE){
body = jsonlite::toJSON(
list("sql" = query,
"ttlMinutes" = ttl,
cache = cache),
"cache" = cache,
"sdk_package" = "R",
"sdk_version" = "0.1.1"),
auto_unbox = TRUE)
)

BIN
r/shroomDK_0.1.1.tar.gz Normal file

Binary file not shown.