HiveSQL for Ruby developers
@inertia is developing and maintaining a library for Ruby developers
Gem repository: https://github.com/inertia186/hive_sql
To use this gem, you must an active @hivesql subscription and store the credentials as environment variables. Read Register your HiveSQL acount to find out about HiveSQL accounts
Installation
First, install ruby. One way to do this is install rvm. Once ruby is installed, install hive_sql
with the gem
command:
Or, add it to your Gemfile
:
How To Use (Standalone)
The above example will query the top upvoted content for the last 7 days.
Models
Account
Block
Transaction
various operations
Comment
Community
Role
Subscriber
Follower
Reblog
Tag
Token
Witness
Followers
How to query today's followers:
Reblog
How to query today's reblogs:
Account Witness Proxy
How to query current accounts that are actively using a proxy:
Applications
How to query comments by application:
License
HiveSQL gem is licensed under a Creative Commons CC0 License.
Last updated