0.0
No commit activity in last 3 years
No release in over 3 years
Upload data to wolfram databin mathematica via ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Build StatusCode Climate Gem Version

Wolfram Databin

Post data to a wolfram databin. You can post just about any kind of string data to the databin. Just add more stuff to the query hash and send it. The query hash contains all your data. The bin id is merged with the query hash so no need to add the bin id to the query.

Note that Mathematica does not like underscores so they are converted to U like mathematica does for Java. This means that your query contents are converted from symbols to string but this has not impact on the data except that the key with an underscore now has a U in it. (eg if you send weekly_revenue it looks like weeklyUrevenue in the datadrop)

Usage

@dbin=WolframDatabin::Base.new
@dbin.set_shortid("4PZWVcDT")
query= {time: Time.now}
res=@dbin.post_data(query)

Class usage

WolframDatbin::Base contains all the code but a simple one class submission is available at WolframDatabin.submit_data(shortid, hash of data)

WolframDatbin.submit_data("4PZWVcDT",{time: Time.now})
WolframDatbin::Base.submit_data("4PZWVcDT",{time: Time.now})

Test URL

http://wolfr.am/4PZWVcDT