bitget.rb 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -4
  3. data/lib/Bitget/VERSION.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68ebcc266ecbdcc502c80abf56f670fd7b0d274e1cee117dafdff7fed81f02de
4
- data.tar.gz: 9e59c895f487eef1ffa14f3d88266fcd6ae87a79864dc8ed9f0ff28b63afadf3
3
+ metadata.gz: 7bbb2026a29cd85153418b65cb4cdddd9bc29b06873ceec95cc455894922cd2a
4
+ data.tar.gz: ef489e8f1966705d4e3e10c7f8d558284c0847e9d5b2e5e5b42f06ac43b6dafe
5
5
  SHA512:
6
- metadata.gz: 1dda1a6e29afc914c90cfeb318b0250d10fbe9a04e12502a842e7a1b908baf0f45ed27e51e4be89c5035988553ee6dfc6bf0ff4197cb993f03b3a8aa50560f26
7
- data.tar.gz: 7d5f81ce7c5b2b3c943015724b81b0ab7e7d4868f2935b00fb570f66dd5e7d03c6e6b83fad8ef3cf9c08a9fa347394ff9b5186420978c2849f546bd4814bb19a
6
+ metadata.gz: 672c0fbd1f0f756fbba640997f340c009ca218bc008078988365c511c7f427a894068b8470cf14d147fa3827f453e3f2c5881be9df35edbb052370992d5e59a3
7
+ data.tar.gz: e7b2c3e7253cf737b909542da4a5c1397164fe3770bd7b90490fb9ffb0a9275c7ab6204f00e1127646462279d6a4bff220a271bf073e8ea20b8a410691617a7a
data/README.md CHANGED
@@ -7,21 +7,27 @@ Access the Bitget API with Ruby.
7
7
  ## Installation
8
8
 
9
9
  Add this line to your application's Gemfile:
10
+
10
11
  ```ruby
11
- gem 'bitget.rb'
12
+ gem 'bitget.rb'
12
13
  ```
14
+
13
15
  And then execute:
16
+
14
17
  ```bash
15
- $ bundle
18
+ $ bundle
16
19
  ```
20
+
17
21
  Or install it yourself as:
22
+
18
23
  ```bash
19
- $ gem install bitget.rb
24
+ $ gem install bitget.rb
20
25
  ```
21
26
 
22
27
  ## Usage
23
28
 
24
29
  ### Setup
30
+
25
31
  ```ruby
26
32
  bitget_client = Bitget::Client.new(
27
33
  api_key: 'api_key0',
@@ -90,6 +96,7 @@ yours, which is what lets a StringIO logger in a test, or a levelled one, or som
90
96
  is not a Logger at all, work as well as the above.
91
97
 
92
98
  ### Retrieve Info on All the Coins Traded
99
+
93
100
  ```ruby
94
101
  bitget_client.spot_public_coins
95
102
  # =>
@@ -117,6 +124,7 @@ bitget_client.spot_public_coins
117
124
  ```
118
125
 
119
126
  ### Retrieve Info for One of the Coins Traded
127
+
120
128
  ```ruby
121
129
  bitget_client.spot_public_coins(coin: 'BTC')
122
130
  # =>
@@ -157,19 +165,22 @@ bitget_client.spot_public_coins(coin: 'BTC')
157
165
  ```
158
166
 
159
167
  ### Get Account Information
168
+
160
169
  ```ruby
161
170
  bitget_client.spot_account_info
162
171
  ```
163
172
 
164
173
  ### Get Account Assets
174
+
165
175
  ```ruby
166
176
  bitget_client.spot_account_assets
167
177
  ```
178
+
168
179
  ```ruby
169
180
  bitget_client.spot_account_assets(coin: 'BTC')
170
181
  ```
171
182
 
172
- See https://www.bitget.com/api-doc/spot/intro for further information on endpoint arguments
183
+ See https://www.bitget.com/api-doc/spot/intro for further information on endpoint arguments.
173
184
 
174
185
  ## Contributing
175
186
 
@@ -2,5 +2,5 @@
2
2
  # Bitget::VERSION
3
3
 
4
4
  module Bitget
5
- VERSION = '0.6.1'
5
+ VERSION = '0.6.3'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitget.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran