Mkmapi
Ruby interface to the magiccardmarket.eu API.
Usage
You’ll need an OAuth credentials for a dedicated app from Mkmapi.
Use with bundler
gem 'mkmapi', github: 'cybey/mkmapi'
Create a session
session = Mkmapi.auth({
consumer_key: "xxxx",
consumer_secret: "xxxx",
token: "xxxx",
token_secret: "xxxx",
})
Retrieve your account’s data
me = session.account # => Mkmapi::Account
me.id # => 1234
me.username # => 'your_user_name'
TODO
-
domain models
-
documentation
-
Account Management
-
Market Place Information (partially)
-
Order Management
-
Shopping Cart Manipulation
-
Stock Management
-
Wants List Management
Contributing to Mkmapi
-
Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.
-
Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.
-
Fork the project.
-
Start a feature/bugfix branch.
-
Commit and push until you are happy with your contribution.
-
Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.
Contributors
Based on the work done by knaveofdiamonds.