apiV1AccountGet
/api/v1/account
Usage and SDK Samples
curl -X GET\
-H "Accept: text/plain,application/json,text/json"\
"https://api.modist.co/api/v1/account"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;
import java.io.File;
import java.util.*;
public class AccountApiExample {
public static void main(String[] args) {
AccountApi apiInstance = new AccountApi();
try {
AccountPagingList result = apiInstance.apiV1AccountGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#apiV1AccountGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AccountApi;
public class AccountApiExample {
public static void main(String[] args) {
AccountApi apiInstance = new AccountApi();
try {
AccountPagingList result = apiInstance.apiV1AccountGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountApi#apiV1AccountGet");
e.printStackTrace();
}
}
}
AccountApi *apiInstance = [[AccountApi alloc] init];
[apiInstance apiV1AccountGetWithCompletionHandler:
^(AccountPagingList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ParlaApiSwagger = require('parla_api___swagger');
var api = new ParlaApiSwagger.AccountApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.apiV1AccountGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiV1AccountGetExample
{
public void main()
{
var apiInstance = new AccountApi();
try
{
AccountPagingList result = apiInstance.apiV1AccountGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.apiV1AccountGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiAccountApi();
try {
$result = $api_instance->apiV1AccountGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->apiV1AccountGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;
my $api_instance = WWW::SwaggerClient::AccountApi->new();
eval {
my $result = $api_instance->apiV1AccountGet();
print Dumper($result);
};
if ($@) {
warn "Exception when calling AccountApi->apiV1AccountGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AccountApi()
try:
api_response = api_instance.api_v1_account_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->apiV1AccountGet: %s\n" % e)