thunderstore_client v1.1.0
thunderstore_client
The Thunderstore API Crystal wrapper. Fetch game modification info from your Crystal code.
Copyright 2022-2024 Hostari Philippines, Inc. See LICENSE for copying information.
📝 Implements: REST API Reference (V1) 😘 Maintainer(s): @xaviablaza
Installation
-
Add the dependency to your
shard.yml
:dependencies: thunderstore_client: github: hostari/thunderstore_client
-
Run
shards install
Usage
require "thunderstore_client"
Build a new Thunderstore client with the community
that you want to target.
client = Thunderstore::Client.new
client.set_community("valheim")
Then, your client is ready to be consumed!
Resource Methods
Most useful available Thunderstore API resources are implemented.
Package
- v1_package_list
- List Packages
Thunderstore::Package.list(client : Thunderstore::Client) : Array(Thunderstore::Package)
- List Packages
Contributing
- Fork it (https://github.com/hostari/thunderstore_client/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
- Xavi Ablaza - creator and maintainer
Repository
thunderstore_client
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- 7 months ago
- April 23, 2022
License
MIT License
Links
Synced at
Mon, 18 Nov 2024 05:35:25 GMT
Languages