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
*This project is currently in **Beta**. Please open up an issue [here](https://github.com/mxenabled/mx-platform-ruby/issues) to report issues using the MX Platform API Ruby Library.*
1
+
*This project is currently in **Beta**. Please open up an issue [here](https://github.com/mxenabled/mx-platform-ruby/issues) to report issues using the MX Platform Ruby library.*
2
2
3
-
*This project was automatically generated by the [OpenAPI Generator](https://openapi-generator.tech).*
3
+
# MX Platform Ruby
4
4
5
-
# MX Platform Ruby - v0.6.2
5
+
The [MX Platform API](https://www.mx.com/products/platform-api) is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
6
6
7
-
The Ruby gem for the MX Platform API.
7
+
## Documentation
8
+
9
+
Examples for the API endpoints can be found [here.](https://docs.mx.com/api)
10
+
11
+
## Requirements
8
12
9
-
The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
13
+
- Ruby >= 2.6
10
14
11
15
## Installation
12
16
@@ -18,31 +22,28 @@ gem 'mx-platform-ruby'
18
22
19
23
And then execute:
20
24
```shell
21
-
$ bundle
25
+
bundle
22
26
```
23
27
24
28
Or install it yourself with:
25
29
```shell
26
-
$ gem install mx-platform-ruby
30
+
gem install mx-platform-ruby
27
31
```
28
32
29
33
## Getting Started
30
34
31
35
In order to make requests, you will need to [sign up](https://dashboard.mx.com/sign_up) for the MX Platform API and get a `Client ID` and `API Key`.
32
36
33
-
Please follow the [installation](#installation) procedure and then run the following code:
34
-
37
+
Please follow the [installation](#installation) procedure and then run the following code to create your first User:
35
38
```ruby
36
-
# Load the gem
37
39
require'mx-platform-ruby'
38
40
39
-
# setup authorization
40
41
MxPlatformRuby.configure do |config|
41
-
# Configure HTTP basic authorization
42
-
config.username ='Your Client ID from https://dashboard.mx.com'
43
-
config.password ='Your API Key from https://dashboard.mx.com'
42
+
# Configure with your Client ID/API Key from https://dashboard.mx.com
43
+
config.username ='Your Client ID'
44
+
config.password ='Your API Key'
44
45
45
-
# Configure server. 0 for production, 1 for development
46
+
# Configure environment. 0 for production, 1 for development
result = api_instance.create_user(user_create_request_body)
59
59
p result
60
60
rescueMxPlatformRuby::ApiError => e
61
61
puts"Error when calling MxPlatformApi->create_user: #{e}"
62
62
end
63
63
```
64
64
65
-
## Documentation
65
+
## Development
66
+
67
+
This project was generated by the [OpenAPI Generator](https://openapi-generator.tech). To generate this library, verify you have the latest version of the `openapi-generator-cli` found [here.](https://github.com/OpenAPITools/openapi-generator#17---npm)
68
+
69
+
Running the following command in this repo's directory will generate this library using the [MX Platform API OpenAPI spec](https://github.com/mxenabled/openapi/blob/master/openapi/mx_platform_api_beta.yml) with our [configuration and templates.](https://github.com/mxenabled/mx-platform-ruby/tree/master/openapi)
Additional examples for the API endpoints can be found [here](docs/MxPlatformApi.md).
80
+
Please [open an issue](https://github.com/mxenabled/mx-platform-java/issues) or [submit a pull request.](https://github.com/mxenabled/mx-platform-java/pulls)
0 commit comments