Popularity
6.1
Stable
Activity
1.1
Stable
1
15
1
Programming language: Crystal
Tags:
Third-party APIs
Latest version: v0.6.1
crystal_brium alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view crystal_brium alternatives based on common mentions on social networks and blogs.
-
GDAX
๐ GDAX REST and WebSocket API wrapper to trade blockchain cryptocurrencies like bitcoin, Litecoin and Ethereum.
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai

Do you think we are missing an alternative of crystal_brium or a related project?
README
crystal_brium
Access Brium's API using Crystal.
Projectfile
deps do
github "manastech/crystal_brium"
end
Usage
require "brium"
client_id = "..."
client_secret = "..."
oauth_client = Brium.new_oauth_client(client_id, client_secret)
access_token = # some OAuth2::AccessToken
session = OAuth2::Session.new(oauth_client, access_token) do
puts "Refreshing access token..."
end
api = Brium::API.new session
# Get workers
workers = api.workers active: true, admin: false, suspended: false
# Get clients
clients = api.clients
# Get entries
entries = api.entries billable_status: "billable,billed"
# Or sum some entries hours
total_hours = api.entries_sum billable_status: "billable,billed"
# Get holidays
holidays = api.holidays kind: "vacations", since_date: 3.days.ago