crystal-darksky alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view crystal-darksky alternatives based on common mentions on social networks and blogs.
-
discordcr
Minimalist Discord library for Crystal. (Still WIP, but usable) -
TelegramBot
(deprecated) see https://github.com/protoncr/tourmaline instead -
twitter-crystal
A library to access the Twitter API using Crystal -
crystal_slack
Parse Slack slash commands or send incoming web hooks from Crystal -
crystal-consul
Crystal client for Consul (http://www.consul.io/) -
mollie.cr
Mollie Payments API client for Crystal http://www.mollie.com -
open_exchange_rates
A library for Open Exchange Rates API -
aws-signer.cr
This library signs your HTTP requests using AWS v4 -
twilio.cr
A Crystal shard for communicating with the Twilio API -
GDAX
๐ GDAX REST and WebSocket API wrapper to trade blockchain cryptocurrencies like bitcoin, Litecoin and Ethereum. -
web_finger
A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal. -
soundcloud-crystal
A library to access the SoundCloud API using Crystal -
bugsnag.cr
bugsnag exception notifier written in crystal. Supports sidekiq.cr, kemal, HTTP::Server. -
host_meta
A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal. -
fantasy_football_nerd_api
Crystal library for Fantasy Football Nerd API -
crystal-connpass
:anchor: A Crystal wrapper for the Connpass API
Collect and Analyze Billions of Data Points in Real Time
Do you think we are missing an alternative of crystal-darksky or a related project?
README
crystal-darksky
Dark Sky API wrapper in Crystal.
Documentation: https://darksky.net/dev/docs
Installation
Add this to your application's shard.yml
:
dependencies:
darksky:
github: sb89/crystal-darksky
Usage
require "darksky"
client = Darksky.new("api key...")
forecast = client.get_forecast("38.385939", "-97.43004")
forecast.currently.try do |c|
p "The temperature is #{c.temperature}!"
end
Additional options can be specified when calling Darksky.new(...)
. These options will be used for each API request.
client = Darksky.new("api key...", lang: Darksky::Language::NL, units: Darksky::Units::SI, extend_hourly: true, exclude: [Darksky::Blocks::Minutely, Darksky::Blocks::Daily] )
Additional options can also be specified when calling get_forecast(...)
. Any options specified here will override the options specified in the new()
method for this request.
client.get_forecast("38.385939", "-97.43004", lang: Darksky::Language::NL, units: Darksky::Units::SI, extend_hourly: true, exclude: [Darksky::Blocks::Minutely, Darksky::Blocks::Daily] )
Contributing
- Fork it ( https://github.com/sb89/crystal-darksky/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
- sb89 Steven - creator, maintainer