You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LICENSE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
The MIT License (MIT)
2
2
3
-
Copyright (c) 2013, 2014 Brett Ausmeier
3
+
Copyright (c) dutu@protonmail.com
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Copy file name to clipboardExpand all lines: README.md
+39-45Lines changed: 39 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,19 @@
1
-
# bitx-api-node
1
+
# luno-api-node
2
2
3
3
A simple wrapper for the Luno API. The module supports promise and callbacks.
4
4
5
-
> This module is forked from https://github.com/bausmeier/node-bitx.
6
-
> Since the original repository seems not to be maintained anymore, starting with version v1.10.1 this fork has been detached from original repository, and it is now stand alone. Contributions starting with v1.10.1 are not pull-requested to original repository.
5
+
> This module is forked from https://github.com/bausmeier/node-luno.
6
+
> Since the original repository seems not to be maintained anymore, starting with version v1.10.1 this fork has been detached from original repository, and it is now stand alone. Contributions are not pull-requested to original repository.
To access the private Luno API methods you must supply your key id and key secret as the first two arguments. If you are only accessing the public API endpoints you can leave these two arguments out.
22
18
23
19
The optional `options` argument can be used to override the default options. The default options are equivalent to:
@@ -44,7 +40,7 @@ See Luno API documentation for applicable rate limitations: https://www.luno.com
44
40
Example:
45
41
46
42
```javascript
47
-
console.log(bitx.apiCallRate)
43
+
console.log(luno.apiCallRate)
48
44
```
49
45
50
46
@@ -66,14 +62,14 @@ Default options:
66
62
67
63
```javascript
68
64
{
69
-
pair:bitx.pair
65
+
pair:luno.pair
70
66
}
71
67
```
72
68
73
69
Example:
74
70
75
71
```javascript
76
-
bitx.getTicker(function(err, ticker) {});
72
+
luno.getTicker(function(err, ticker) {});
77
73
```
78
74
79
75
### getAllTickers([callback])
@@ -82,7 +78,7 @@ GET https://api.luno.com/api/1/tickers
0 commit comments