dogapi
Version, currently 0.5.02 versions
- 0.5.0latestAug 8, 2021
- 0.1.0not indexedMay 10, 2022
github.com/fullcycleapp/dogapi-cr
A Datadog API client written in Crystal.
Installation
# Add this to your shard.yml
dependencies:
dogapi:
github: fullcycleapp/dogapi-cr
version: ~> 0.5.0Then run:
shards installshard.yml
- Crystal
>= 1.0.0, < 2.0.0- License
- Apache 2.0
- Authors
- Calvin Hill, Wesley Hill
Dependencies
This version declares no dependencies.
README
dogapi-cr
dogapi-cr is a crystal client for DataDog's API the code is based loosely on Datadog's Ruby Library.
Requirements
Crystal 1.0+
Installation
Add this to your application's shard.yml:
dependencies:
dogapi:
github: fullcycleapp/dogapi-cr
Usage
When running the code below you need the DATADOG_KEY and a DATADOG_APP_KEY set, go to Integrations > APIs in datadog to get your API and app key.
After that, you can use this client in your Crystal programs like so:
require "dogapi"
dog = Dogapi::Client.new(ENV["DATADOG_KEY"])
dog.emit_point("test.api.test_metric", 4.0)
Take a look at the examples/ folder for more examples usages.
Contributing
Contributions and patches are welcome! Please read the following instructions before submitting your patch:
- Fork it (https://github.com/fullcycleapp/dogapi-cr/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
Maintainers
LICENSE
Apache 2.0
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.5.0- Tagged
- Aug 8, 2021
- Commit
244c9e96fbbb- Crystal
>= 1.0.0, < 2.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/fullcycleapp/dogapi-cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 2