forked from fibercrypto/libskycoin-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skyapi] refs fibercrypto#5 Added travis, Readme and Changelog
Set travis to test skycoin wrapper Updated README and Changelog for v0.25.1 release Update contact email
- Loading branch information
Showing
62 changed files
with
406 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
lang: ruby | ||
|
||
script: ./travis/skyapi.sh | ||
|
||
rvm: 2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## LibSkycoin-Ruby 0.25.1 - 2019/03/19 | ||
|
||
### Added | ||
|
||
- Add `skyapi`, a wrapper for Skycoin api in version 0.25.1 | ||
|
||
### Fixed | ||
|
||
- Fix #5 - Ruby API wrapper for the Skycoin node API | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Skyapi, a Wrapper for Skycoin Api | ||
|
||
This wrapper is Auto generated by openapi-generator directly from `Skycoin Api` code for version v0.25.1. | ||
|
||
For further details of usage of `Skyapi wrapper for Skycoin Api` see [Autogenerated documentation](./lib/skyapi/README.md) | ||
|
||
### Specific Node Address | ||
|
||
For use a specific node of Skycoin, you just need to create a instance of `ApiClient` passing the node address: | ||
|
||
```ruby | ||
# Load the gem | ||
require 'sky_api' | ||
|
||
config = | ||
api_instance = SkyApi::DefaultApi.new | ||
# Set prefered host | ||
api_instance.api_client.config.host = 'some_host' | ||
|
||
begin | ||
#Returns the total number of unique address that have coins. | ||
result = api_instance.address_count | ||
p result | ||
rescue SkyApi::ApiError => e | ||
puts "Exception when calling DefaultApi->address_count: #{e}" | ||
end | ||
|
||
``` | ||
|
||
Then in `skyapi` you can use all methods related to Api Client. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#Skycoin is a next-generation cryptocurrency. | ||
OpenAPI spec version: 0.25.1 | ||
Contact: skycoin.[email protected] | ||
Contact: contact@skycoin.net | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 3.3.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#Skycoin is a next-generation cryptocurrency. | ||
OpenAPI spec version: 0.25.1 | ||
Contact: skycoin.[email protected] | ||
Contact: contact@skycoin.net | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 3.3.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#Skycoin is a next-generation cryptocurrency. | ||
OpenAPI spec version: 0.25.1 | ||
Contact: skycoin.[email protected] | ||
Contact: contact@skycoin.net | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 3.3.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
#Skycoin is a next-generation cryptocurrency. | ||
OpenAPI spec version: 0.25.1 | ||
Contact: skycoin.[email protected] | ||
Contact: contact@skycoin.net | ||
Generated by: https://openapi-generator.tech | ||
OpenAPI Generator version: 3.3.4 | ||
|
Oops, something went wrong.