Popularity
0.8
Growing
Activity
0.0
Stable
0
1
0
Programming language: Crystal
License: MIT License
Tags:
Third-party APIs
crystal-mondo alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view crystal-monzo alternatives based on common mentions on social networks and blogs.
-
open_exchange_rates
A library to access Open Exchange Rates API -
soundcloud-crystal
A library to access the SoundCloud API -
fantasy_football_nerd_api
A library for the Fantasy Football Nerd API
Get performance insights in less than 4 minutes.
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Promoted
scoutapm.com
Do you think we are missing an alternative of crystal-mondo or a related project?
README
crystal-monzo
A Crystal client for the Monzo API.
Installation
Add this to your application's shard.yml
:
dependencies:
crystal-monzo:
github: barisbalic/crystal-monzo
Usage
require "monzo"
client = Monzo.new("SATSUI-NO-HADOU")
client.accounts.each do |account|
balance = client.balance(account)
puts balance.spend_today
end
The client API follows the documented API reasonably closely, the only significant divergence being that the "who_am_i"
calls are made with client.identity
. Only because "who_am_i" really annoyed me.
Development
In order to run the tests you will need to set the MONZO_TOKEN
environment variable to a valid API token. You can
then run the tests with:
MONZO_TOKEN=magicbeans crystal spec
Contributing
- Fork it ( https://github.com/barisbalic/crystal-monzo/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- barisbalic Baris Balic - creator, maintainer