appmarketapi-rest

Appmarketapi - the Ruby gem for the appmarketapi.proto

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This SDK is automatically generated by the Swagger Codegen project:

  • API version: version not set
  • Package version: 0.0.1
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build appmarketapi-rest.gemspec

Then either install the gem locally:

gem install ./appmarketapi-rest-0.0.1.gem

(for development, run gem install --dev ./appmarketapi-rest-0.0.1.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'appmarketapi-rest', '~> 0.0.1'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'appmarketapi-rest', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'appmarketapi-rest'

api_instance = Appmarketapi::AppMarketAPIApi.new

application_id = 'application_id_example' # String | 

body = Appmarketapi::AppmarketapiAuthorizeApplicationRequest.new # AppmarketapiAuthorizeApplicationRequest | 


begin
  result = api_instance.authorize_application(application_id, body)
  p result
rescue Appmarketapi::ApiError => e
  puts "Exception when calling AppMarketAPIApi->authorize_application: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
Appmarketapi::AppMarketAPIApi authorize_application POST /v1/applications/application_id/authorize
Appmarketapi::AppMarketAPIApi create_application POST /v1/applications
Appmarketapi::AppMarketAPIApi create_developer POST /v1/developers
Appmarketapi::AppMarketAPIApi deauthorize_application POST /v1/applications/application_id/deauthorize
Appmarketapi::AppMarketAPIApi get_application GET /v1/applications/application_id
Appmarketapi::AppMarketAPIApi get_application_id GET /v1/application/oauth2/access_token
Appmarketapi::AppMarketAPIApi get_applications GET /v1/applications
Appmarketapi::AppMarketAPIApi update_application PATCH /v1/applications/application_id

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.