Skip to content

Commit 012a086

Browse files
committed
Update Readme 🔧
1 parent b909a6d commit 012a086

File tree

2 files changed

+37
-5
lines changed

2 files changed

+37
-5
lines changed

README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Luno
2+
A client for the Luno API. See: https://www.luno.com/en/developers/api
23

3-
This is still a work in progress (WIP) ... more to come soon.
4-
5-
This is a client for the Luno API. See: https://www.luno.com/en/developers/api
4+
This is an unofficial project and still a work in progress (WIP) ... more to come soon.
65

76
## Installation
87

@@ -22,14 +21,47 @@ Or install it yourself as:
2221

2322
## Usage
2423

25-
TODO: Write usage instructions here
24+
```ruby
25+
require 'luno'
26+
client = Luno::Client.new(key: 'your key', secret: 'your secret')
27+
```
28+
29+
### Endpoints
30+
- Accounts
31+
- Beneficiaries
32+
- Markets
33+
- Orders
34+
- Quotes
35+
- Receiving
36+
- Sending
37+
- Transactions
38+
- Withdrawals
39+
40+
### Beta Endpoints
41+
- Lightning
42+
- Streaming
43+
44+
### Other Endpoints
45+
- ping(limit: 4, paths: ['https://www.luno.com/', 'https://api.mybitx.com/api/1/'])
46+
- countries
47+
- currencies
48+
- permissions
49+
- changelog
50+
51+
### Constants
52+
Constants
2653

2754
## Development
2855

2956
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
3057

3158
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
3259

60+
### Tests
61+
To run tests execute:
62+
63+
$ rake test
64+
3365
## Contributing
3466

3567
Bug reports and pull requests are welcome on GitHub at https://github.com/trex22/luno. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

luno.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
99
spec.email = ["[email protected]"]
1010

1111
spec.summary = "A client for using the Luno API in Ruby."
12-
spec.description = "A client for using the Luno API in Ruby. It relies on the swagger spec from their api documentation. https://www.luno.com/en/developers/api"
12+
spec.description = "A client for using the Luno API in Ruby. Built form their api documentation. https://www.luno.com/en/developers/api. This is an unofficial project."
1313
spec.homepage = "https://github.com/TRex22/luno"
1414
spec.license = "MIT"
1515

0 commit comments

Comments
 (0)