-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1647 from hollaex/beta
Beta
- Loading branch information
Showing
53 changed files
with
521 additions
and
272 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
swagger: "2.0" | ||
info: | ||
version: "2.4.0" | ||
version: "2.4.1" | ||
title: HollaEx Kit | ||
host: api.hollaex.com | ||
basePath: /v2 | ||
|
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
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 |
---|---|---|
|
@@ -18,13 +18,13 @@ | |
|
||
### Prerequisites | ||
|
||
This Tools Library will only work with the [HollaEx Kit](https://github.com/bitholla/hollaex-kit). | ||
This Tools Library will only work with the [HollaEx Kit](https://github.com/hollaex/hollaex-kit). | ||
|
||
### Installation | ||
|
||
1. Clone the repo | ||
```sh | ||
git clone https://github.com/bitholla/hollaex-tools-lib.git | ||
git clone https://github.com/hollaex/hollaex-tools-lib.git | ||
``` | ||
2. Install NPM packages | ||
```sh | ||
|
@@ -649,7 +649,7 @@ const tools = require('hollaex-tools-lib'); | |
#### User functions | ||
|
||
- `signUpUser(email, password, [opts = { referral: null }])` | ||
- Signup new user using bitHolla's signup flow | ||
- Signup new user using hollaex's signup flow | ||
- Will send email to user asking for verification | ||
- Returns promise with sequelize object of user data | ||
```javascript | ||
|
@@ -1780,7 +1780,7 @@ const tools = require('hollaex-tools-lib'); | |
- `order` = asc or desc | ||
- `start_date` = get users created after this date | ||
- `end_date` = get users created before this date | ||
- `format` = pass `csv` to get csv file | ||
- `format` = pass `csv` to get csv file or `all` to get all the data without pagination | ||
- Returns promise with trades data | ||
```javascript | ||
tools.order.getAllTradesNetwork() | ||
|
@@ -1805,7 +1805,7 @@ const tools = require('hollaex-tools-lib'); | |
- `order` = asc or desc | ||
- `start_date` = get users created after this date | ||
- `end_date` = get users created before this date | ||
- `format` = pass `csv` to get csv file | ||
- `format` = pass `csv` to get csv file or `all` to get all the data without pagination | ||
- Returns promise with trades data | ||
```javascript | ||
tools.order.getAllUserTradesByKitId(99) | ||
|
@@ -1830,7 +1830,7 @@ const tools = require('hollaex-tools-lib'); | |
- `order` = asc or desc | ||
- `start_date` = get users created after this date | ||
- `end_date` = get users created before this date | ||
- `format` = pass `csv` to get csv file | ||
- `format` = pass `csv` to get csv file or `all` to get all the data without pagination | ||
- Returns promise with trades data | ||
```javascript | ||
tools.order.getAllUserTradesByEmail('[email protected]') | ||
|
@@ -1855,7 +1855,7 @@ const tools = require('hollaex-tools-lib'); | |
- `order` = asc or desc | ||
- `start_date` = get users created after this date | ||
- `end_date` = get users created before this date | ||
- `format` = pass `csv` to get csv file | ||
- `format` = pass `csv` to get csv file or `all` to get all the data without pagination | ||
- Returns promise with trades data | ||
```javascript | ||
tools.order.getAllUserTradesByNetwork(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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"name": "hollaex-tools-lib", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "HollaEx tools library for developers", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bitholla/hollaex-kit/tree/master/server/utils/hollaex-tools-lib" | ||
"url": "https://github.com/hollaex/hollaex-kit/tree/master/server/utils/hollaex-tools-lib" | ||
}, | ||
"dependencies": {} | ||
} |
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
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
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
2.4.0 | ||
2.4.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
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
This file was deleted.
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
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
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
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
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
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
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
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
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
Oops, something went wrong.