Marvel Api

Characters

allCharacters

All Characters

Fetches lists of comic characters with optional filters.


/characters

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/characters?apikey=&name=&nameStartsWith=&modifiedSince=&comics=&series=&events="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;

import java.io.File;
import java.util.*;

public class CharactersApiExample {

    public static void main(String[] args) {
        
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String name = name_example; // String | Return only characters matching the specified full character name (e.g. Spider-Man).  
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Integer comics = 56; // Integer | Return only characters which appear in the specified comics (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear in the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200 result = apiInstance.allCharacters(apiecoKey, apikey, name, nameStartsWith, modifiedSince, comics, series, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#allCharacters");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CharactersApi;

public class CharactersApiExample {

    public static void main(String[] args) {
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String name = name_example; // String | Return only characters matching the specified full character name (e.g. Spider-Man).  
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Integer comics = 56; // Integer | Return only characters which appear in the specified comics (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear in the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200 result = apiInstance.allCharacters(apiecoKey, apikey, name, nameStartsWith, modifiedSince, comics, series, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#allCharacters");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *name = name_example; // Return only characters matching the specified full character name (e.g. Spider-Man).   (optional)
String *nameStartsWith = nameStartsWith_example; // Return characters with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only characters which have been modified since the specified date.   (optional)
Integer *comics = 56; // Return only characters which appear in the specified comics (accepts a comma-separated list of ids).   (optional)
Integer *series = 56; // Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
Integer *events = 56; // Return only characters which appear in the specified events (accepts a comma-separated list of ids).   (optional)

CharactersApi *apiInstance = [[CharactersApi alloc] init];

// All Characters
[apiInstance allCharactersWith:apiecoKey
    apikey:apikey
    name:name
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    comics:comics
    series:series
    events:events
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.CharactersApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var opts = { 
  'name': name_example, // {String} Return only characters matching the specified full character name (e.g. Spider-Man).  
  'nameStartsWith': nameStartsWith_example, // {String} Return characters with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only characters which have been modified since the specified date.  
  'comics': 56, // {Integer} Return only characters which appear in the specified comics (accepts a comma-separated list of ids).  
  'series': 56, // {Integer} Return only characters which appear the specified series (accepts a comma-separated list of ids).  
  'events': 56 // {Integer} Return only characters which appear in the specified events (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.allCharacters(apiecoKey, apikey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class allCharactersExample
    {
        public void main()
        {
            
            var apiInstance = new CharactersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var name = name_example;  // String | Return only characters matching the specified full character name (e.g. Spider-Man).   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Return characters with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only characters which have been modified since the specified date.   (optional) 
            var comics = 56;  // Integer | Return only characters which appear in the specified comics (accepts a comma-separated list of ids).   (optional) 
            var series = 56;  // Integer | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = 56;  // Integer | Return only characters which appear in the specified events (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // All Characters
                inline_response_200 result = apiInstance.allCharacters(apiecoKey, apikey, name, nameStartsWith, modifiedSince, comics, series, events);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CharactersApi.allCharacters: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$name = name_example; // String | Return only characters matching the specified full character name (e.g. Spider-Man).  
$nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
$comics = 56; // Integer | Return only characters which appear in the specified comics (accepts a comma-separated list of ids).  
$series = 56; // Integer | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
$events = 56; // Integer | Return only characters which appear in the specified events (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->allCharacters($apiecoKey, $apikey, $name, $nameStartsWith, $modifiedSince, $comics, $series, $events);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CharactersApi->allCharacters: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;

my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $name = name_example; # String | Return only characters matching the specified full character name (e.g. Spider-Man).  
my $nameStartsWith = nameStartsWith_example; # String | Return characters with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only characters which have been modified since the specified date.  
my $comics = 56; # Integer | Return only characters which appear in the specified comics (accepts a comma-separated list of ids).  
my $series = 56; # Integer | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
my $events = 56; # Integer | Return only characters which appear in the specified events (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->allCharacters(apiecoKey => $apiecoKey, apikey => $apikey, name => $name, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, comics => $comics, series => $series, events => $events);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CharactersApi->allCharacters: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
name = name_example # String | Return only characters matching the specified full character name (e.g. Spider-Man).   (optional)
nameStartsWith = nameStartsWith_example # String | Return characters with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only characters which have been modified since the specified date.   (optional)
comics = 56 # Integer | Return only characters which appear in the specified comics (accepts a comma-separated list of ids).   (optional)
series = 56 # Integer | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
events = 56 # Integer | Return only characters which appear in the specified events (accepts a comma-separated list of ids).   (optional)

try: 
    # All Characters
    api_response = api_instance.all_characters(apiecoKey, apikey, name=name, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, comics=comics, series=series, events=events)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CharactersApi->allCharacters: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
name
String
Return only characters matching the specified full character name (e.g. Spider-Man).
nameStartsWith
String
Return characters with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only characters which have been modified since the specified date.
comics
Integer
Return only characters which appear in the specified comics (accepts a comma-separated list of ids).
series
Integer
Return only characters which appear the specified series (accepts a comma-separated list of ids).
events
Integer
Return only characters which appear in the specified events (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


comicByCharacter

Comics By Character

Fetches lists of comics containing a specific character


/characters/{characterId}/comics

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/characters/{characterId}/comics?apikey=&format=&formatType=&noVariants=&dateDescriptor=&dateRange=&title="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;

import java.io.File;
import java.util.*;

public class CharactersApiExample {

    public static void main(String[] args) {
        
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicByCharacter(apiecoKey, apikey, characterId, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#comicByCharacter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CharactersApi;

public class CharactersApiExample {

    public static void main(String[] args) {
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicByCharacter(apiecoKey, apikey, characterId, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#comicByCharacter");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *characterId = characterId_example; // 
String *format = format_example; // Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
String *formatType = formatType_example; // Filter by the issue format type (comic or collection).     (optional)
Boolean *noVariants = true; // Exclude variant comics from the result set.     (optional)
String *dateDescriptor = dateDescriptor_example; // Return comics within a predefined date range.     (optional)
Integer *dateRange = 56; // Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
String *title = title_example; // Return only issues in series whose title matches the input.   (optional)

CharactersApi *apiInstance = [[CharactersApi alloc] init];

// Comics By Character
[apiInstance comicByCharacterWith:apiecoKey
    apikey:apikey
    characterId:characterId
    format:format
    formatType:formatType
    noVariants:noVariants
    dateDescriptor:dateDescriptor
    dateRange:dateRange
    title:title
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.CharactersApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var characterId = characterId_example; // {String} 

var opts = { 
  'format': format_example, // {String} Filter by the issue format (e.g. comic, digital comic, hardcover).    
  'formatType': formatType_example, // {String} Filter by the issue format type (comic or collection).    
  'noVariants': true, // {Boolean} Exclude variant comics from the result set.    
  'dateDescriptor': dateDescriptor_example, // {String} Return comics within a predefined date range.    
  'dateRange': 56, // {Integer} Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
  'title': title_example // {String} Return only issues in series whose title matches the input.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.comicByCharacter(apiecoKey, apikey, characterId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class comicByCharacterExample
    {
        public void main()
        {
            
            var apiInstance = new CharactersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var characterId = characterId_example;  // String | 
            var format = format_example;  // String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional) 
            var formatType = formatType_example;  // String | Filter by the issue format type (comic or collection).     (optional) 
            var noVariants = true;  // Boolean | Exclude variant comics from the result set.     (optional) 
            var dateDescriptor = dateDescriptor_example;  // String | Return comics within a predefined date range.     (optional) 
            var dateRange = 56;  // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional) 
            var title = title_example;  // String | Return only issues in series whose title matches the input.   (optional) 

            try
            {
                // Comics By Character
                inline_response_200_1 result = apiInstance.comicByCharacter(apiecoKey, apikey, characterId, format, formatType, noVariants, dateDescriptor, dateRange, title);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CharactersApi.comicByCharacter: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$characterId = characterId_example; // String | 
$format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
$formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
$noVariants = true; // Boolean | Exclude variant comics from the result set.    
$dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
$dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
$title = title_example; // String | Return only issues in series whose title matches the input.  

try {
    $result = $api_instance->comicByCharacter($apiecoKey, $apikey, $characterId, $format, $formatType, $noVariants, $dateDescriptor, $dateRange, $title);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CharactersApi->comicByCharacter: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;

my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $characterId = characterId_example; # String | 
my $format = format_example; # String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
my $formatType = formatType_example; # String | Filter by the issue format type (comic or collection).    
my $noVariants = true; # Boolean | Exclude variant comics from the result set.    
my $dateDescriptor = dateDescriptor_example; # String | Return comics within a predefined date range.    
my $dateRange = 56; # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
my $title = title_example; # String | Return only issues in series whose title matches the input.  

eval { 
    my $result = $api_instance->comicByCharacter(apiecoKey => $apiecoKey, apikey => $apikey, characterId => $characterId, format => $format, formatType => $formatType, noVariants => $noVariants, dateDescriptor => $dateDescriptor, dateRange => $dateRange, title => $title);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CharactersApi->comicByCharacter: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
characterId = characterId_example # String | 
format = format_example # String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
formatType = formatType_example # String | Filter by the issue format type (comic or collection).     (optional)
noVariants = true # Boolean | Exclude variant comics from the result set.     (optional)
dateDescriptor = dateDescriptor_example # String | Return comics within a predefined date range.     (optional)
dateRange = 56 # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
title = title_example # String | Return only issues in series whose title matches the input.   (optional)

try: 
    # Comics By Character
    api_response = api_instance.comic_by_character(apiecoKey, apikey, characterId, format=format, formatType=formatType, noVariants=noVariants, dateDescriptor=dateDescriptor, dateRange=dateRange, title=title)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CharactersApi->comicByCharacter: %s\n" % e)

Parameters

Path parameters
Name Description
characterId*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
format
String
Filter by the issue format (e.g. comic, digital comic, hardcover).
formatType
String
Filter by the issue format type (comic or collection).
noVariants
Boolean
Exclude variant comics from the result set.
dateDescriptor
String
Return comics within a predefined date range.
dateRange
Integer
Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.
title
String
Return only issues in series whose title matches the input.

Responses

Status: 200 - Successful


eventByCharacter

events By Character

Fetches lists of events in which a specific character appears, with optional filters


/characters/{characterId}/events

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/characters/{characterId}/events?apikey=&name=&nameStartsWith=&modifiedSince=&creators=&series=&comics="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;

import java.io.File;
import java.util.*;

public class CharactersApiExample {

    public static void main(String[] args) {
        
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.eventByCharacter(apiecoKey, apikey, characterId, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#eventByCharacter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CharactersApi;

public class CharactersApiExample {

    public static void main(String[] args) {
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.eventByCharacter(apiecoKey, apikey, characterId, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#eventByCharacter");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *characterId = characterId_example; // 
String *name = name_example; // Filter the event list by name.   (optional)
String *nameStartsWith = nameStartsWith_example; // Return events with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only events which have been modified since the specified date.   (optional)
String *creators = creators_example; // Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
Integer *series = 56; // Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
String *comics = comics_example; // Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

CharactersApi *apiInstance = [[CharactersApi alloc] init];

// events By Character
[apiInstance eventByCharacterWith:apiecoKey
    apikey:apikey
    characterId:characterId
    name:name
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    creators:creators
    series:series
    comics:comics
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.CharactersApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var characterId = characterId_example; // {String} 

var opts = { 
  'name': name_example, // {String} Filter the event list by name.  
  'nameStartsWith': nameStartsWith_example, // {String} Return events with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only events which have been modified since the specified date.  
  'creators': creators_example, // {String} Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
  'series': 56, // {Integer} Return only events which are part of the specified series (accepts a comma-separated list of ids).  
  'comics': comics_example // {String} Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.eventByCharacter(apiecoKey, apikey, characterId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventByCharacterExample
    {
        public void main()
        {
            
            var apiInstance = new CharactersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var characterId = characterId_example;  // String | 
            var name = name_example;  // String | Filter the event list by name.   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Return events with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only events which have been modified since the specified date.   (optional) 
            var creators = creators_example;  // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 
            var series = 56;  // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional) 
            var comics = comics_example;  // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // events By Character
                inline_response_200_2 result = apiInstance.eventByCharacter(apiecoKey, apikey, characterId, name, nameStartsWith, modifiedSince, creators, series, comics);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CharactersApi.eventByCharacter: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$characterId = characterId_example; // String | 
$name = name_example; // String | Filter the event list by name.  
$nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
$creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
$series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
$comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->eventByCharacter($apiecoKey, $apikey, $characterId, $name, $nameStartsWith, $modifiedSince, $creators, $series, $comics);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CharactersApi->eventByCharacter: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;

my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $characterId = characterId_example; # String | 
my $name = name_example; # String | Filter the event list by name.  
my $nameStartsWith = nameStartsWith_example; # String | Return events with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only events which have been modified since the specified date.  
my $creators = creators_example; # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
my $series = 56; # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
my $comics = comics_example; # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->eventByCharacter(apiecoKey => $apiecoKey, apikey => $apikey, characterId => $characterId, name => $name, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, creators => $creators, series => $series, comics => $comics);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CharactersApi->eventByCharacter: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
characterId = characterId_example # String | 
name = name_example # String | Filter the event list by name.   (optional)
nameStartsWith = nameStartsWith_example # String | Return events with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only events which have been modified since the specified date.   (optional)
creators = creators_example # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
series = 56 # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
comics = comics_example # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

try: 
    # events By Character
    api_response = api_instance.event_by_character(apiecoKey, apikey, characterId, name=name, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, creators=creators, series=series, comics=comics)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CharactersApi->eventByCharacter: %s\n" % e)

Parameters

Path parameters
Name Description
characterId*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
name
String
Filter the event list by name.
nameStartsWith
String
Return events with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only events which have been modified since the specified date.
creators
String
Return only events which feature work by the specified creators (accepts a comma-separated list of ids).
series
Integer
Return only events which are part of the specified series (accepts a comma-separated list of ids).
comics
String
Return only events which take place in the specified comics (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


seriesByCharacter

series By Character

Fetches lists of comic series in which a specific character appears, with optional filters


/characters/{characterId}/series

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/characters/{characterId}/series?apikey=&titleStartsWith=&startYear=&modifiedSince=&comics=&stories=&events="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;

import java.io.File;
import java.util.*;

public class CharactersApiExample {

    public static void main(String[] args) {
        
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.seriesByCharacter(apiecoKey, apikey, characterId, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#seriesByCharacter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CharactersApi;

public class CharactersApiExample {

    public static void main(String[] args) {
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.seriesByCharacter(apiecoKey, apikey, characterId, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#seriesByCharacter");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *characterId = characterId_example; // 
String *titleStartsWith = titleStartsWith_example; // Return series with titles that begin with the specified string (e.g. Sp).   (optional)
String *startYear = startYear_example; // Return only series matching the specified start year.   (optional)
String *modifiedSince = modifiedSince_example; // Return only series which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
Integer *stories = 56; // Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

CharactersApi *apiInstance = [[CharactersApi alloc] init];

// series By Character
[apiInstance seriesByCharacterWith:apiecoKey
    apikey:apikey
    characterId:characterId
    titleStartsWith:titleStartsWith
    startYear:startYear
    modifiedSince:modifiedSince
    comics:comics
    stories:stories
    events:events
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.CharactersApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var characterId = characterId_example; // {String} 

var opts = { 
  'titleStartsWith': titleStartsWith_example, // {String} Return series with titles that begin with the specified string (e.g. Sp).  
  'startYear': startYear_example, // {String} Return only series matching the specified start year.  
  'modifiedSince': modifiedSince_example, // {String} Return only series which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only series which contain the specified comics (accepts a comma-separated list of ids).  
  'stories': 56, // {Integer} Return only series which contain the specified stories (accepts a comma-separated list of ids).  
  'events': events_example // {String} Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.seriesByCharacter(apiecoKey, apikey, characterId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class seriesByCharacterExample
    {
        public void main()
        {
            
            var apiInstance = new CharactersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var characterId = characterId_example;  // String | 
            var titleStartsWith = titleStartsWith_example;  // String | Return series with titles that begin with the specified string (e.g. Sp).   (optional) 
            var startYear = startYear_example;  // String | Return only series matching the specified start year.   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only series which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional) 
            var stories = 56;  // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // series By Character
                inline_response_200_2 result = apiInstance.seriesByCharacter(apiecoKey, apikey, characterId, titleStartsWith, startYear, modifiedSince, comics, stories, events);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CharactersApi.seriesByCharacter: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$characterId = characterId_example; // String | 
$titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
$startYear = startYear_example; // String | Return only series matching the specified start year.  
$modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
$comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
$stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->seriesByCharacter($apiecoKey, $apikey, $characterId, $titleStartsWith, $startYear, $modifiedSince, $comics, $stories, $events);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CharactersApi->seriesByCharacter: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;

my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $characterId = characterId_example; # String | 
my $titleStartsWith = titleStartsWith_example; # String | Return series with titles that begin with the specified string (e.g. Sp).  
my $startYear = startYear_example; # String | Return only series matching the specified start year.  
my $modifiedSince = modifiedSince_example; # String | Return only series which have been modified since the specified date.  
my $comics = comics_example; # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
my $stories = 56; # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->seriesByCharacter(apiecoKey => $apiecoKey, apikey => $apikey, characterId => $characterId, titleStartsWith => $titleStartsWith, startYear => $startYear, modifiedSince => $modifiedSince, comics => $comics, stories => $stories, events => $events);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CharactersApi->seriesByCharacter: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
characterId = characterId_example # String | 
titleStartsWith = titleStartsWith_example # String | Return series with titles that begin with the specified string (e.g. Sp).   (optional)
startYear = startYear_example # String | Return only series matching the specified start year.   (optional)
modifiedSince = modifiedSince_example # String | Return only series which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
stories = 56 # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

try: 
    # series By Character
    api_response = api_instance.series_by_character(apiecoKey, apikey, characterId, titleStartsWith=titleStartsWith, startYear=startYear, modifiedSince=modifiedSince, comics=comics, stories=stories, events=events)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CharactersApi->seriesByCharacter: %s\n" % e)

Parameters

Path parameters
Name Description
characterId*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
titleStartsWith
String
Return series with titles that begin with the specified string (e.g. Sp).
startYear
String
Return only series matching the specified start year.
modifiedSince
String
Return only series which have been modified since the specified date.
comics
String
Return only series which contain the specified comics (accepts a comma-separated list of ids).
stories
Integer
Return only series which contain the specified stories (accepts a comma-separated list of ids).
events
String
Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


singleCharacter

Single Characters

This method fetches a single character resource


/characters/{characterId}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/characters/{characterId}?apikey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;

import java.io.File;
import java.util.*;

public class CharactersApiExample {

    public static void main(String[] args) {
        
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        try {
            inline_response_200 result = apiInstance.singleCharacter(apiecoKey, apikey, characterId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#singleCharacter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CharactersApi;

public class CharactersApiExample {

    public static void main(String[] args) {
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        try {
            inline_response_200 result = apiInstance.singleCharacter(apiecoKey, apikey, characterId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#singleCharacter");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *characterId = characterId_example; // 

CharactersApi *apiInstance = [[CharactersApi alloc] init];

// Single Characters
[apiInstance singleCharacterWith:apiecoKey
    apikey:apikey
    characterId:characterId
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.CharactersApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var characterId = characterId_example; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.singleCharacter(apiecoKey, apikey, characterId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class singleCharacterExample
    {
        public void main()
        {
            
            var apiInstance = new CharactersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var characterId = characterId_example;  // String | 

            try
            {
                // Single Characters
                inline_response_200 result = apiInstance.singleCharacter(apiecoKey, apikey, characterId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CharactersApi.singleCharacter: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$characterId = characterId_example; // String | 

try {
    $result = $api_instance->singleCharacter($apiecoKey, $apikey, $characterId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CharactersApi->singleCharacter: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;

my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $characterId = characterId_example; # String | 

eval { 
    my $result = $api_instance->singleCharacter(apiecoKey => $apiecoKey, apikey => $apikey, characterId => $characterId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CharactersApi->singleCharacter: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
characterId = characterId_example # String | 

try: 
    # Single Characters
    api_response = api_instance.single_character(apiecoKey, apikey, characterId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CharactersApi->singleCharacter: %s\n" % e)

Parameters

Path parameters
Name Description
characterId*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required

Responses

Status: 200 - Successful


storiesByCharacter

stories By Character

Fetches lists of comic stories featuring a specific character with optional filters


/characters/{characterId}/stories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/characters/{characterId}/stories?apikey=&modifiedSince=&comics=&series=&events=&creators="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;

import java.io.File;
import java.util.*;

public class CharactersApiExample {

    public static void main(String[] args) {
        
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.storiesByCharacter(apiecoKey, apikey, characterId, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#storiesByCharacter");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CharactersApi;

public class CharactersApiExample {

    public static void main(String[] args) {
        CharactersApi apiInstance = new CharactersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String characterId = characterId_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.storiesByCharacter(apiecoKey, apikey, characterId, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CharactersApi#storiesByCharacter");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *characterId = characterId_example; // 
String *modifiedSince = modifiedSince_example; // RReturn only stories which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
String *series = series_example; // Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
Integer *creators = 56; // Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

CharactersApi *apiInstance = [[CharactersApi alloc] init];

// stories By Character
[apiInstance storiesByCharacterWith:apiecoKey
    apikey:apikey
    characterId:characterId
    modifiedSince:modifiedSince
    comics:comics
    series:series
    events:events
    creators:creators
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.CharactersApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var characterId = characterId_example; // {String} 

var opts = { 
  'modifiedSince': modifiedSince_example, // {String} RReturn only stories which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only stories contained in the specified (accepts a comma-separated list of ids).  
  'series': series_example, // {String} Return only stories contained the specified series (accepts a comma-separated list of ids).  
  'events': events_example, // {String} Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
  'creators': 56 // {Integer} Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.storiesByCharacter(apiecoKey, apikey, characterId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class storiesByCharacterExample
    {
        public void main()
        {
            
            var apiInstance = new CharactersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var characterId = characterId_example;  // String | 
            var modifiedSince = modifiedSince_example;  // String | RReturn only stories which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional) 
            var series = series_example;  // String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional) 
            var creators = 56;  // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // stories By Character
                inline_response_200_2 result = apiInstance.storiesByCharacter(apiecoKey, apikey, characterId, modifiedSince, comics, series, events, creators);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CharactersApi.storiesByCharacter: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$characterId = characterId_example; // String | 
$modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
$comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
$series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
$creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->storiesByCharacter($apiecoKey, $apikey, $characterId, $modifiedSince, $comics, $series, $events, $creators);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CharactersApi->storiesByCharacter: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;

my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $characterId = characterId_example; # String | 
my $modifiedSince = modifiedSince_example; # String | RReturn only stories which have been modified since the specified date.  
my $comics = comics_example; # String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
my $series = series_example; # String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
my $creators = 56; # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->storiesByCharacter(apiecoKey => $apiecoKey, apikey => $apikey, characterId => $characterId, modifiedSince => $modifiedSince, comics => $comics, series => $series, events => $events, creators => $creators);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CharactersApi->storiesByCharacter: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
characterId = characterId_example # String | 
modifiedSince = modifiedSince_example # String | RReturn only stories which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
series = series_example # String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
creators = 56 # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

try: 
    # stories By Character
    api_response = api_instance.stories_by_character(apiecoKey, apikey, characterId, modifiedSince=modifiedSince, comics=comics, series=series, events=events, creators=creators)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CharactersApi->storiesByCharacter: %s\n" % e)

Parameters

Path parameters
Name Description
characterId*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
modifiedSince
String
RReturn only stories which have been modified since the specified date.
comics
String
Return only stories contained in the specified (accepts a comma-separated list of ids).
series
String
Return only stories contained the specified series (accepts a comma-separated list of ids).
events
String
Return only stories which take place during the specified events (accepts a comma-separated list of ids).
creators
Integer
Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


Comics

allComics

All Comics

Fetches lists of comics with optional filters


/comics

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/comics?apikey=&format=&formatType=&noVariants=&dateDescriptor=&dateRange=&title="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ComicsApi;

import java.io.File;
import java.util.*;

public class ComicsApiExample {

    public static void main(String[] args) {
        
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).  
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).  
        String noVariants = noVariants_example; // String | Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.  
        Integer dateDescriptor = 56; // Integer | Return comics within a predefined date range.  
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        Integer title = 56; // Integer | Return only issues in series whose title matches the input.    
        try {
            inline_response_200_3 result = apiInstance.allComics(apiecoKey, apikey, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#allComics");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ComicsApi;

public class ComicsApiExample {

    public static void main(String[] args) {
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).  
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).  
        String noVariants = noVariants_example; // String | Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.  
        Integer dateDescriptor = 56; // Integer | Return comics within a predefined date range.  
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        Integer title = 56; // Integer | Return only issues in series whose title matches the input.    
        try {
            inline_response_200_3 result = apiInstance.allComics(apiecoKey, apikey, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#allComics");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *format = format_example; // Filter by the issue format (e.g. comic, digital comic, hardcover).   (optional)
String *formatType = formatType_example; // Filter by the issue format type (comic or collection).   (optional)
String *noVariants = noVariants_example; // Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.   (optional)
Integer *dateDescriptor = 56; // Return comics within a predefined date range.   (optional)
Integer *dateRange = 56; // Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
Integer *title = 56; // Return only issues in series whose title matches the input.     (optional)

ComicsApi *apiInstance = [[ComicsApi alloc] init];

// All Comics
[apiInstance allComicsWith:apiecoKey
    apikey:apikey
    format:format
    formatType:formatType
    noVariants:noVariants
    dateDescriptor:dateDescriptor
    dateRange:dateRange
    title:title
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.ComicsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var opts = { 
  'format': format_example, // {String} Filter by the issue format (e.g. comic, digital comic, hardcover).  
  'formatType': formatType_example, // {String} Filter by the issue format type (comic or collection).  
  'noVariants': noVariants_example, // {String} Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.  
  'dateDescriptor': 56, // {Integer} Return comics within a predefined date range.  
  'dateRange': 56, // {Integer} Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
  'title': 56 // {Integer} Return only issues in series whose title matches the input.    
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.allComics(apiecoKey, apikey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class allComicsExample
    {
        public void main()
        {
            
            var apiInstance = new ComicsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var format = format_example;  // String | Filter by the issue format (e.g. comic, digital comic, hardcover).   (optional) 
            var formatType = formatType_example;  // String | Filter by the issue format type (comic or collection).   (optional) 
            var noVariants = noVariants_example;  // String | Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.   (optional) 
            var dateDescriptor = 56;  // Integer | Return comics within a predefined date range.   (optional) 
            var dateRange = 56;  // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional) 
            var title = 56;  // Integer | Return only issues in series whose title matches the input.     (optional) 

            try
            {
                // All Comics
                inline_response_200_3 result = apiInstance.allComics(apiecoKey, apikey, format, formatType, noVariants, dateDescriptor, dateRange, title);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ComicsApi.allComics: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ComicsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).  
$formatType = formatType_example; // String | Filter by the issue format type (comic or collection).  
$noVariants = noVariants_example; // String | Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.  
$dateDescriptor = 56; // Integer | Return comics within a predefined date range.  
$dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
$title = 56; // Integer | Return only issues in series whose title matches the input.    

try {
    $result = $api_instance->allComics($apiecoKey, $apikey, $format, $formatType, $noVariants, $dateDescriptor, $dateRange, $title);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ComicsApi->allComics: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ComicsApi;

my $api_instance = WWW::SwaggerClient::ComicsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $format = format_example; # String | Filter by the issue format (e.g. comic, digital comic, hardcover).  
my $formatType = formatType_example; # String | Filter by the issue format type (comic or collection).  
my $noVariants = noVariants_example; # String | Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.  
my $dateDescriptor = 56; # Integer | Return comics within a predefined date range.  
my $dateRange = 56; # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
my $title = 56; # Integer | Return only issues in series whose title matches the input.    

eval { 
    my $result = $api_instance->allComics(apiecoKey => $apiecoKey, apikey => $apikey, format => $format, formatType => $formatType, noVariants => $noVariants, dateDescriptor => $dateDescriptor, dateRange => $dateRange, title => $title);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ComicsApi->allComics: $@\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.ComicsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
format = format_example # String | Filter by the issue format (e.g. comic, digital comic, hardcover).   (optional)
formatType = formatType_example # String | Filter by the issue format type (comic or collection).   (optional)
noVariants = noVariants_example # String | Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.   (optional)
dateDescriptor = 56 # Integer | Return comics within a predefined date range.   (optional)
dateRange = 56 # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
title = 56 # Integer | Return only issues in series whose title matches the input.     (optional)

try: 
    # All Comics
    api_response = api_instance.all_comics(apiecoKey, apikey, format=format, formatType=formatType, noVariants=noVariants, dateDescriptor=dateDescriptor, dateRange=dateRange, title=title)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ComicsApi->allComics: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
format
String
Filter by the issue format (e.g. comic, digital comic, hardcover).
formatType
String
Filter by the issue format type (comic or collection).
noVariants
String
Exclude variants (alternate covers, secondary printings, director's cuts, etc.) from the result set.
dateDescriptor
Integer
Return comics within a predefined date range.
dateRange
Integer
Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.
title
Integer
Return only issues in series whose title matches the input.

Responses

Status: 200 - Successful


characterByComic

Characters by Comic

Fetches lists of characters which appear in a specific comic with optional filters


/comics/{comicid}/characters

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/comics/{comicid}/characters?apikey=&nameStartsWith=&modifiedSince=&stories=&series=&events=&orderBy="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ComicsApi;

import java.io.File;
import java.util.*;

public class ComicsApiExample {

    public static void main(String[] args) {
        
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterByComic(apiecoKey, apikey, comicid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#characterByComic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ComicsApi;

public class ComicsApiExample {

    public static void main(String[] args) {
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterByComic(apiecoKey, apikey, comicid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#characterByComic");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *comicid = comicid_example; // 
String *nameStartsWith = nameStartsWith_example; // Return characters with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only characters which have been modified since the specified date.   (optional)
Boolean *stories = true; // Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
String *series = series_example; // Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
Integer *events = 56; // Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
String *orderBy = orderBy_example; // Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

ComicsApi *apiInstance = [[ComicsApi alloc] init];

// Characters by Comic
[apiInstance characterByComicWith:apiecoKey
    apikey:apikey
    comicid:comicid
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    stories:stories
    series:series
    events:events
    orderBy:orderBy
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.ComicsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var comicid = comicid_example; // {String} 

var opts = { 
  'nameStartsWith': nameStartsWith_example, // {String} Return characters with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only characters which have been modified since the specified date.  
  'stories': true, // {Boolean} Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
  'series': series_example, // {String} Return only characters which appear the specified series (accepts a comma-separated list of ids).  
  'events': 56, // {Integer} Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
  'orderBy': orderBy_example // {String} Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.characterByComic(apiecoKey, apikey, comicid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class characterByComicExample
    {
        public void main()
        {
            
            var apiInstance = new ComicsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var comicid = comicid_example;  // String | 
            var nameStartsWith = nameStartsWith_example;  // String | Return characters with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only characters which have been modified since the specified date.   (optional) 
            var stories = true;  // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional) 
            var series = series_example;  // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = 56;  // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional) 
            var orderBy = orderBy_example;  // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional) 

            try
            {
                // Characters by Comic
                inline_response_200_4 result = apiInstance.characterByComic(apiecoKey, apikey, comicid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ComicsApi.characterByComic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ComicsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$comicid = comicid_example; // String | 
$nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
$stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
$series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
$events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
$orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

try {
    $result = $api_instance->characterByComic($apiecoKey, $apikey, $comicid, $nameStartsWith, $modifiedSince, $stories, $series, $events, $orderBy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ComicsApi->characterByComic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ComicsApi;

my $api_instance = WWW::SwaggerClient::ComicsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $comicid = comicid_example; # String | 
my $nameStartsWith = nameStartsWith_example; # String | Return characters with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only characters which have been modified since the specified date.  
my $stories = true; # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
my $series = series_example; # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
my $events = 56; # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
my $orderBy = orderBy_example; # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

eval { 
    my $result = $api_instance->characterByComic(apiecoKey => $apiecoKey, apikey => $apikey, comicid => $comicid, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, stories => $stories, series => $series, events => $events, orderBy => $orderBy);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ComicsApi->characterByComic: $@\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.ComicsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
comicid = comicid_example # String | 
nameStartsWith = nameStartsWith_example # String | Return characters with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only characters which have been modified since the specified date.   (optional)
stories = true # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
series = series_example # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
events = 56 # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
orderBy = orderBy_example # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

try: 
    # Characters by Comic
    api_response = api_instance.character_by_comic(apiecoKey, apikey, comicid, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, stories=stories, series=series, events=events, orderBy=orderBy)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ComicsApi->characterByComic: %s\n" % e)

Parameters

Path parameters
Name Description
comicid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
nameStartsWith
String
Return characters with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only characters which have been modified since the specified date.
stories
Boolean
Return only characters which appear the specified stories (accepts a comma-separated list of ids).
series
String
Return only characters which appear the specified series (accepts a comma-separated list of ids).
events
Integer
Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).
orderBy
String
Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.

Responses

Status: 200 - Successful


creatorByComic

Creator By Comic

Fetches lists of comic creators whose work appears in a specific comic, with optional filters


/comics/{comicid}/creators

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/comics/{comicid}/creators?apikey=&firstName=&lastName=&suffix=&nameStartsWith=&firstNameStartsWith=&middleNameStartsWith="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ComicsApi;

import java.io.File;
import java.util.*;

public class ComicsApiExample {

    public static void main(String[] args) {
        
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorByComic(apiecoKey, apikey, comicid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#creatorByComic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ComicsApi;

public class ComicsApiExample {

    public static void main(String[] args) {
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorByComic(apiecoKey, apikey, comicid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#creatorByComic");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *comicid = comicid_example; // 
String *firstName = firstName_example; // Filter by creator middle name (e.g. Michael).   (optional)
String *lastName = lastName_example; // Filter by creator last name (e.g. Bendis).   (optional)
String *suffix = suffix_example; // Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
String *nameStartsWith = nameStartsWith_example; // Filter by creator names that match critera (e.g. B, St L).   (optional)
Integer *firstNameStartsWith = 56; // Filter by creator first names that match critera (e.g. B, St L).   (optional)
String *middleNameStartsWith = middleNameStartsWith_example; // Filter by creator middle names that match critera (e.g. Mi).   (optional)

ComicsApi *apiInstance = [[ComicsApi alloc] init];

// Creator By Comic
[apiInstance creatorByComicWith:apiecoKey
    apikey:apikey
    comicid:comicid
    firstName:firstName
    lastName:lastName
    suffix:suffix
    nameStartsWith:nameStartsWith
    firstNameStartsWith:firstNameStartsWith
    middleNameStartsWith:middleNameStartsWith
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.ComicsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var comicid = comicid_example; // {String} 

var opts = { 
  'firstName': firstName_example, // {String} Filter by creator middle name (e.g. Michael).  
  'lastName': lastName_example, // {String} Filter by creator last name (e.g. Bendis).  
  'suffix': suffix_example, // {String} Filter by suffix or honorific (e.g. Jr., Sr.).  
  'nameStartsWith': nameStartsWith_example, // {String} Filter by creator names that match critera (e.g. B, St L).  
  'firstNameStartsWith': 56, // {Integer} Filter by creator first names that match critera (e.g. B, St L).  
  'middleNameStartsWith': middleNameStartsWith_example // {String} Filter by creator middle names that match critera (e.g. Mi).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.creatorByComic(apiecoKey, apikey, comicid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class creatorByComicExample
    {
        public void main()
        {
            
            var apiInstance = new ComicsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var comicid = comicid_example;  // String | 
            var firstName = firstName_example;  // String | Filter by creator middle name (e.g. Michael).   (optional) 
            var lastName = lastName_example;  // String | Filter by creator last name (e.g. Bendis).   (optional) 
            var suffix = suffix_example;  // String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Filter by creator names that match critera (e.g. B, St L).   (optional) 
            var firstNameStartsWith = 56;  // Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional) 
            var middleNameStartsWith = middleNameStartsWith_example;  // String | Filter by creator middle names that match critera (e.g. Mi).   (optional) 

            try
            {
                // Creator By Comic
                inline_response_200_5 result = apiInstance.creatorByComic(apiecoKey, apikey, comicid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ComicsApi.creatorByComic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ComicsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$comicid = comicid_example; // String | 
$firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
$lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
$suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
$nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
$firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
$middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  

try {
    $result = $api_instance->creatorByComic($apiecoKey, $apikey, $comicid, $firstName, $lastName, $suffix, $nameStartsWith, $firstNameStartsWith, $middleNameStartsWith);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ComicsApi->creatorByComic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ComicsApi;

my $api_instance = WWW::SwaggerClient::ComicsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $comicid = comicid_example; # String | 
my $firstName = firstName_example; # String | Filter by creator middle name (e.g. Michael).  
my $lastName = lastName_example; # String | Filter by creator last name (e.g. Bendis).  
my $suffix = suffix_example; # String | Filter by suffix or honorific (e.g. Jr., Sr.).  
my $nameStartsWith = nameStartsWith_example; # String | Filter by creator names that match critera (e.g. B, St L).  
my $firstNameStartsWith = 56; # Integer | Filter by creator first names that match critera (e.g. B, St L).  
my $middleNameStartsWith = middleNameStartsWith_example; # String | Filter by creator middle names that match critera (e.g. Mi).  

eval { 
    my $result = $api_instance->creatorByComic(apiecoKey => $apiecoKey, apikey => $apikey, comicid => $comicid, firstName => $firstName, lastName => $lastName, suffix => $suffix, nameStartsWith => $nameStartsWith, firstNameStartsWith => $firstNameStartsWith, middleNameStartsWith => $middleNameStartsWith);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ComicsApi->creatorByComic: $@\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.ComicsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
comicid = comicid_example # String | 
firstName = firstName_example # String | Filter by creator middle name (e.g. Michael).   (optional)
lastName = lastName_example # String | Filter by creator last name (e.g. Bendis).   (optional)
suffix = suffix_example # String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
nameStartsWith = nameStartsWith_example # String | Filter by creator names that match critera (e.g. B, St L).   (optional)
firstNameStartsWith = 56 # Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional)
middleNameStartsWith = middleNameStartsWith_example # String | Filter by creator middle names that match critera (e.g. Mi).   (optional)

try: 
    # Creator By Comic
    api_response = api_instance.creator_by_comic(apiecoKey, apikey, comicid, firstName=firstName, lastName=lastName, suffix=suffix, nameStartsWith=nameStartsWith, firstNameStartsWith=firstNameStartsWith, middleNameStartsWith=middleNameStartsWith)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ComicsApi->creatorByComic: %s\n" % e)

Parameters

Path parameters
Name Description
comicid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
firstName
String
Filter by creator middle name (e.g. Michael).
lastName
String
Filter by creator last name (e.g. Bendis).
suffix
String
Filter by suffix or honorific (e.g. Jr., Sr.).
nameStartsWith
String
Filter by creator names that match critera (e.g. B, St L).
firstNameStartsWith
Integer
Filter by creator first names that match critera (e.g. B, St L).
middleNameStartsWith
String
Filter by creator middle names that match critera (e.g. Mi).

Responses

Status: 200 - Successful


eventByComic

Events By Comic

Fetches lists of events in which a specific comic appears, with optional filters


/comics/{comicid}/events

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/comics/{comicid}/events?apikey=&name=&nameStartsWith=&modifiedSince=&creators=&series=&comics="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ComicsApi;

import java.io.File;
import java.util.*;

public class ComicsApiExample {

    public static void main(String[] args) {
        
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_6 result = apiInstance.eventByComic(apiecoKey, apikey, comicid, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#eventByComic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ComicsApi;

public class ComicsApiExample {

    public static void main(String[] args) {
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_6 result = apiInstance.eventByComic(apiecoKey, apikey, comicid, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#eventByComic");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *comicid = comicid_example; // 
String *name = name_example; // Filter the event list by name.   (optional)
String *nameStartsWith = nameStartsWith_example; // Return events with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only events which have been modified since the specified date.   (optional)
String *creators = creators_example; // Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
Integer *series = 56; // Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
String *comics = comics_example; // Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

ComicsApi *apiInstance = [[ComicsApi alloc] init];

// Events By Comic
[apiInstance eventByComicWith:apiecoKey
    apikey:apikey
    comicid:comicid
    name:name
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    creators:creators
    series:series
    comics:comics
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.ComicsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var comicid = comicid_example; // {String} 

var opts = { 
  'name': name_example, // {String} Filter the event list by name.  
  'nameStartsWith': nameStartsWith_example, // {String} Return events with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only events which have been modified since the specified date.  
  'creators': creators_example, // {String} Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
  'series': 56, // {Integer} Return only events which are part of the specified series (accepts a comma-separated list of ids).  
  'comics': comics_example // {String} Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.eventByComic(apiecoKey, apikey, comicid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventByComicExample
    {
        public void main()
        {
            
            var apiInstance = new ComicsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var comicid = comicid_example;  // String | 
            var name = name_example;  // String | Filter the event list by name.   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Return events with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only events which have been modified since the specified date.   (optional) 
            var creators = creators_example;  // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 
            var series = 56;  // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional) 
            var comics = comics_example;  // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Events By Comic
                inline_response_200_6 result = apiInstance.eventByComic(apiecoKey, apikey, comicid, name, nameStartsWith, modifiedSince, creators, series, comics);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ComicsApi.eventByComic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ComicsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$comicid = comicid_example; // String | 
$name = name_example; // String | Filter the event list by name.  
$nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
$creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
$series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
$comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->eventByComic($apiecoKey, $apikey, $comicid, $name, $nameStartsWith, $modifiedSince, $creators, $series, $comics);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ComicsApi->eventByComic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ComicsApi;

my $api_instance = WWW::SwaggerClient::ComicsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $comicid = comicid_example; # String | 
my $name = name_example; # String | Filter the event list by name.  
my $nameStartsWith = nameStartsWith_example; # String | Return events with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only events which have been modified since the specified date.  
my $creators = creators_example; # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
my $series = 56; # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
my $comics = comics_example; # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->eventByComic(apiecoKey => $apiecoKey, apikey => $apikey, comicid => $comicid, name => $name, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, creators => $creators, series => $series, comics => $comics);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ComicsApi->eventByComic: $@\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.ComicsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
comicid = comicid_example # String | 
name = name_example # String | Filter the event list by name.   (optional)
nameStartsWith = nameStartsWith_example # String | Return events with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only events which have been modified since the specified date.   (optional)
creators = creators_example # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
series = 56 # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
comics = comics_example # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

try: 
    # Events By Comic
    api_response = api_instance.event_by_comic(apiecoKey, apikey, comicid, name=name, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, creators=creators, series=series, comics=comics)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ComicsApi->eventByComic: %s\n" % e)

Parameters

Path parameters
Name Description
comicid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
name
String
Filter the event list by name.
nameStartsWith
String
Return events with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only events which have been modified since the specified date.
creators
String
Return only events which feature work by the specified creators (accepts a comma-separated list of ids).
series
Integer
Return only events which are part of the specified series (accepts a comma-separated list of ids).
comics
String
Return only events which take place in the specified comics (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


singleComic

Single Comic

This method fetches a single comic resource. It is the canonical URI for any comic resource provided by the API.


/comics/{comicid}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/comics/{comicid}?apikey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ComicsApi;

import java.io.File;
import java.util.*;

public class ComicsApiExample {

    public static void main(String[] args) {
        
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        try {
            inline_response_200_3 result = apiInstance.singleComic(apiecoKey, apikey, comicid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#singleComic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ComicsApi;

public class ComicsApiExample {

    public static void main(String[] args) {
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        try {
            inline_response_200_3 result = apiInstance.singleComic(apiecoKey, apikey, comicid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#singleComic");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *comicid = comicid_example; // 

ComicsApi *apiInstance = [[ComicsApi alloc] init];

// Single Comic
[apiInstance singleComicWith:apiecoKey
    apikey:apikey
    comicid:comicid
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.ComicsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var comicid = comicid_example; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.singleComic(apiecoKey, apikey, comicid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class singleComicExample
    {
        public void main()
        {
            
            var apiInstance = new ComicsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var comicid = comicid_example;  // String | 

            try
            {
                // Single Comic
                inline_response_200_3 result = apiInstance.singleComic(apiecoKey, apikey, comicid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ComicsApi.singleComic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ComicsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$comicid = comicid_example; // String | 

try {
    $result = $api_instance->singleComic($apiecoKey, $apikey, $comicid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ComicsApi->singleComic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ComicsApi;

my $api_instance = WWW::SwaggerClient::ComicsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $comicid = comicid_example; # String | 

eval { 
    my $result = $api_instance->singleComic(apiecoKey => $apiecoKey, apikey => $apikey, comicid => $comicid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ComicsApi->singleComic: $@\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.ComicsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
comicid = comicid_example # String | 

try: 
    # Single Comic
    api_response = api_instance.single_comic(apiecoKey, apikey, comicid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ComicsApi->singleComic: %s\n" % e)

Parameters

Path parameters
Name Description
comicid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required

Responses

Status: 200 - Successful


storyByComic

Stories By Comic

Fetches lists of comic stories by a specific creator with optional filters.


/comics/{comicid}/stories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/comics/{comicid}/stories?apikey=&modifiedSince=&comics=&series=&events=&creators="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ComicsApi;

import java.io.File;
import java.util.*;

public class ComicsApiExample {

    public static void main(String[] args) {
        
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_7 result = apiInstance.storyByComic(apiecoKey, apikey, comicid, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#storyByComic");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ComicsApi;

public class ComicsApiExample {

    public static void main(String[] args) {
        ComicsApi apiInstance = new ComicsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String comicid = comicid_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_7 result = apiInstance.storyByComic(apiecoKey, apikey, comicid, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ComicsApi#storyByComic");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *comicid = comicid_example; // 
String *modifiedSince = modifiedSince_example; // RReturn only stories which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
String *series = series_example; // Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
Integer *creators = 56; // Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

ComicsApi *apiInstance = [[ComicsApi alloc] init];

// Stories By Comic
[apiInstance storyByComicWith:apiecoKey
    apikey:apikey
    comicid:comicid
    modifiedSince:modifiedSince
    comics:comics
    series:series
    events:events
    creators:creators
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.ComicsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var comicid = comicid_example; // {String} 

var opts = { 
  'modifiedSince': modifiedSince_example, // {String} RReturn only stories which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only stories contained in the specified (accepts a comma-separated list of ids).  
  'series': series_example, // {String} Return only stories contained the specified series (accepts a comma-separated list of ids).  
  'events': events_example, // {String} Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
  'creators': 56 // {Integer} Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.storyByComic(apiecoKey, apikey, comicid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class storyByComicExample
    {
        public void main()
        {
            
            var apiInstance = new ComicsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var comicid = comicid_example;  // String | 
            var modifiedSince = modifiedSince_example;  // String | RReturn only stories which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional) 
            var series = series_example;  // String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional) 
            var creators = 56;  // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Stories By Comic
                inline_response_200_7 result = apiInstance.storyByComic(apiecoKey, apikey, comicid, modifiedSince, comics, series, events, creators);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ComicsApi.storyByComic: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ComicsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$comicid = comicid_example; // String | 
$modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
$comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
$series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
$creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->storyByComic($apiecoKey, $apikey, $comicid, $modifiedSince, $comics, $series, $events, $creators);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ComicsApi->storyByComic: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ComicsApi;

my $api_instance = WWW::SwaggerClient::ComicsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $comicid = comicid_example; # String | 
my $modifiedSince = modifiedSince_example; # String | RReturn only stories which have been modified since the specified date.  
my $comics = comics_example; # String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
my $series = series_example; # String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
my $creators = 56; # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->storyByComic(apiecoKey => $apiecoKey, apikey => $apikey, comicid => $comicid, modifiedSince => $modifiedSince, comics => $comics, series => $series, events => $events, creators => $creators);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ComicsApi->storyByComic: $@\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.ComicsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
comicid = comicid_example # String | 
modifiedSince = modifiedSince_example # String | RReturn only stories which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
series = series_example # String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
creators = 56 # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

try: 
    # Stories By Comic
    api_response = api_instance.story_by_comic(apiecoKey, apikey, comicid, modifiedSince=modifiedSince, comics=comics, series=series, events=events, creators=creators)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ComicsApi->storyByComic: %s\n" % e)

Parameters

Path parameters
Name Description
comicid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
modifiedSince
String
RReturn only stories which have been modified since the specified date.
comics
String
Return only stories contained in the specified (accepts a comma-separated list of ids).
series
String
Return only stories contained the specified series (accepts a comma-separated list of ids).
events
String
Return only stories which take place during the specified events (accepts a comma-separated list of ids).
creators
Integer
Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


Events

allEvents

All Events

Fetches lists of events with optional filters


/events

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events?apikey=&name=&nameStartsWith=&modifiedSince=&creators=&series=&comics="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_6 result = apiInstance.allEvents(apiecoKey, apikey, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#allEvents");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_6 result = apiInstance.allEvents(apiecoKey, apikey, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#allEvents");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *name = name_example; // Filter the event list by name.   (optional)
String *nameStartsWith = nameStartsWith_example; // Return events with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only events which have been modified since the specified date.   (optional)
String *creators = creators_example; // Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
Integer *series = 56; // Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
String *comics = comics_example; // Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

EventsApi *apiInstance = [[EventsApi alloc] init];

// All Events
[apiInstance allEventsWith:apiecoKey
    apikey:apikey
    name:name
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    creators:creators
    series:series
    comics:comics
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var opts = { 
  'name': name_example, // {String} Filter the event list by name.  
  'nameStartsWith': nameStartsWith_example, // {String} Return events with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only events which have been modified since the specified date.  
  'creators': creators_example, // {String} Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
  'series': 56, // {Integer} Return only events which are part of the specified series (accepts a comma-separated list of ids).  
  'comics': comics_example // {String} Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.allEvents(apiecoKey, apikey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class allEventsExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var name = name_example;  // String | Filter the event list by name.   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Return events with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only events which have been modified since the specified date.   (optional) 
            var creators = creators_example;  // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 
            var series = 56;  // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional) 
            var comics = comics_example;  // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // All Events
                inline_response_200_6 result = apiInstance.allEvents(apiecoKey, apikey, name, nameStartsWith, modifiedSince, creators, series, comics);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.allEvents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$name = name_example; // String | Filter the event list by name.  
$nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
$creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
$series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
$comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->allEvents($apiecoKey, $apikey, $name, $nameStartsWith, $modifiedSince, $creators, $series, $comics);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->allEvents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $name = name_example; # String | Filter the event list by name.  
my $nameStartsWith = nameStartsWith_example; # String | Return events with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only events which have been modified since the specified date.  
my $creators = creators_example; # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
my $series = 56; # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
my $comics = comics_example; # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->allEvents(apiecoKey => $apiecoKey, apikey => $apikey, name => $name, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, creators => $creators, series => $series, comics => $comics);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->allEvents: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
name = name_example # String | Filter the event list by name.   (optional)
nameStartsWith = nameStartsWith_example # String | Return events with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only events which have been modified since the specified date.   (optional)
creators = creators_example # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
series = 56 # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
comics = comics_example # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

try: 
    # All Events
    api_response = api_instance.all_events(apiecoKey, apikey, name=name, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, creators=creators, series=series, comics=comics)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->allEvents: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
name
String
Filter the event list by name.
nameStartsWith
String
Return events with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only events which have been modified since the specified date.
creators
String
Return only events which feature work by the specified creators (accepts a comma-separated list of ids).
series
Integer
Return only events which are part of the specified series (accepts a comma-separated list of ids).
comics
String
Return only events which take place in the specified comics (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


characterByEvent

Character By Event

Fetches lists of characters which appear in a specific event, with optional filters


/events/{eventid}/characters

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events/{eventid}/characters?apikey=&nameStartsWith=&modifiedSince=&stories=&series=&events=&orderBy="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterByEvent(apiecoKey, apikey, eventid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#characterByEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterByEvent(apiecoKey, apikey, eventid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#characterByEvent");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *eventid = eventid_example; // 
String *nameStartsWith = nameStartsWith_example; // Return characters with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only characters which have been modified since the specified date.   (optional)
Boolean *stories = true; // Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
String *series = series_example; // Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
Integer *events = 56; // Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
String *orderBy = orderBy_example; // Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

EventsApi *apiInstance = [[EventsApi alloc] init];

// Character By Event
[apiInstance characterByEventWith:apiecoKey
    apikey:apikey
    eventid:eventid
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    stories:stories
    series:series
    events:events
    orderBy:orderBy
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var eventid = eventid_example; // {String} 

var opts = { 
  'nameStartsWith': nameStartsWith_example, // {String} Return characters with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only characters which have been modified since the specified date.  
  'stories': true, // {Boolean} Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
  'series': series_example, // {String} Return only characters which appear the specified series (accepts a comma-separated list of ids).  
  'events': 56, // {Integer} Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
  'orderBy': orderBy_example // {String} Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.characterByEvent(apiecoKey, apikey, eventid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class characterByEventExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var eventid = eventid_example;  // String | 
            var nameStartsWith = nameStartsWith_example;  // String | Return characters with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only characters which have been modified since the specified date.   (optional) 
            var stories = true;  // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional) 
            var series = series_example;  // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = 56;  // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional) 
            var orderBy = orderBy_example;  // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional) 

            try
            {
                // Character By Event
                inline_response_200_4 result = apiInstance.characterByEvent(apiecoKey, apikey, eventid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.characterByEvent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$eventid = eventid_example; // String | 
$nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
$stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
$series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
$events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
$orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

try {
    $result = $api_instance->characterByEvent($apiecoKey, $apikey, $eventid, $nameStartsWith, $modifiedSince, $stories, $series, $events, $orderBy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->characterByEvent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $eventid = eventid_example; # String | 
my $nameStartsWith = nameStartsWith_example; # String | Return characters with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only characters which have been modified since the specified date.  
my $stories = true; # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
my $series = series_example; # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
my $events = 56; # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
my $orderBy = orderBy_example; # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

eval { 
    my $result = $api_instance->characterByEvent(apiecoKey => $apiecoKey, apikey => $apikey, eventid => $eventid, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, stories => $stories, series => $series, events => $events, orderBy => $orderBy);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->characterByEvent: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
eventid = eventid_example # String | 
nameStartsWith = nameStartsWith_example # String | Return characters with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only characters which have been modified since the specified date.   (optional)
stories = true # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
series = series_example # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
events = 56 # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
orderBy = orderBy_example # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

try: 
    # Character By Event
    api_response = api_instance.character_by_event(apiecoKey, apikey, eventid, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, stories=stories, series=series, events=events, orderBy=orderBy)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->characterByEvent: %s\n" % e)

Parameters

Path parameters
Name Description
eventid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
nameStartsWith
String
Return characters with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only characters which have been modified since the specified date.
stories
Boolean
Return only characters which appear the specified stories (accepts a comma-separated list of ids).
series
String
Return only characters which appear the specified series (accepts a comma-separated list of ids).
events
Integer
Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).
orderBy
String
Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.

Responses

Status: 200 - Successful


comicsByEvent

Single event

Fetches lists of comics which take place during a specific event


/events/{eventid}/comics

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events/{eventid}/comics?apikey=&format=&formatType=&noVariants=&dateDescriptor=&dateRange=&title="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicsByEvent(apiecoKey, apikey, eventid, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#comicsByEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicsByEvent(apiecoKey, apikey, eventid, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#comicsByEvent");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *eventid = eventid_example; // 
String *format = format_example; // Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
String *formatType = formatType_example; // Filter by the issue format type (comic or collection).     (optional)
Boolean *noVariants = true; // Exclude variant comics from the result set.     (optional)
String *dateDescriptor = dateDescriptor_example; // Return comics within a predefined date range.     (optional)
Integer *dateRange = 56; // Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
String *title = title_example; // Return only issues in series whose title matches the input.   (optional)

EventsApi *apiInstance = [[EventsApi alloc] init];

// Single event
[apiInstance comicsByEventWith:apiecoKey
    apikey:apikey
    eventid:eventid
    format:format
    formatType:formatType
    noVariants:noVariants
    dateDescriptor:dateDescriptor
    dateRange:dateRange
    title:title
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var eventid = eventid_example; // {String} 

var opts = { 
  'format': format_example, // {String} Filter by the issue format (e.g. comic, digital comic, hardcover).    
  'formatType': formatType_example, // {String} Filter by the issue format type (comic or collection).    
  'noVariants': true, // {Boolean} Exclude variant comics from the result set.    
  'dateDescriptor': dateDescriptor_example, // {String} Return comics within a predefined date range.    
  'dateRange': 56, // {Integer} Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
  'title': title_example // {String} Return only issues in series whose title matches the input.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.comicsByEvent(apiecoKey, apikey, eventid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class comicsByEventExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var eventid = eventid_example;  // String | 
            var format = format_example;  // String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional) 
            var formatType = formatType_example;  // String | Filter by the issue format type (comic or collection).     (optional) 
            var noVariants = true;  // Boolean | Exclude variant comics from the result set.     (optional) 
            var dateDescriptor = dateDescriptor_example;  // String | Return comics within a predefined date range.     (optional) 
            var dateRange = 56;  // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional) 
            var title = title_example;  // String | Return only issues in series whose title matches the input.   (optional) 

            try
            {
                // Single event
                inline_response_200_1 result = apiInstance.comicsByEvent(apiecoKey, apikey, eventid, format, formatType, noVariants, dateDescriptor, dateRange, title);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.comicsByEvent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$eventid = eventid_example; // String | 
$format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
$formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
$noVariants = true; // Boolean | Exclude variant comics from the result set.    
$dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
$dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
$title = title_example; // String | Return only issues in series whose title matches the input.  

try {
    $result = $api_instance->comicsByEvent($apiecoKey, $apikey, $eventid, $format, $formatType, $noVariants, $dateDescriptor, $dateRange, $title);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->comicsByEvent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $eventid = eventid_example; # String | 
my $format = format_example; # String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
my $formatType = formatType_example; # String | Filter by the issue format type (comic or collection).    
my $noVariants = true; # Boolean | Exclude variant comics from the result set.    
my $dateDescriptor = dateDescriptor_example; # String | Return comics within a predefined date range.    
my $dateRange = 56; # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
my $title = title_example; # String | Return only issues in series whose title matches the input.  

eval { 
    my $result = $api_instance->comicsByEvent(apiecoKey => $apiecoKey, apikey => $apikey, eventid => $eventid, format => $format, formatType => $formatType, noVariants => $noVariants, dateDescriptor => $dateDescriptor, dateRange => $dateRange, title => $title);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->comicsByEvent: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
eventid = eventid_example # String | 
format = format_example # String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
formatType = formatType_example # String | Filter by the issue format type (comic or collection).     (optional)
noVariants = true # Boolean | Exclude variant comics from the result set.     (optional)
dateDescriptor = dateDescriptor_example # String | Return comics within a predefined date range.     (optional)
dateRange = 56 # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
title = title_example # String | Return only issues in series whose title matches the input.   (optional)

try: 
    # Single event
    api_response = api_instance.comics_by_event(apiecoKey, apikey, eventid, format=format, formatType=formatType, noVariants=noVariants, dateDescriptor=dateDescriptor, dateRange=dateRange, title=title)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->comicsByEvent: %s\n" % e)

Parameters

Path parameters
Name Description
eventid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
format
String
Filter by the issue format (e.g. comic, digital comic, hardcover).
formatType
String
Filter by the issue format type (comic or collection).
noVariants
Boolean
Exclude variant comics from the result set.
dateDescriptor
String
Return comics within a predefined date range.
dateRange
Integer
Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.
title
String
Return only issues in series whose title matches the input.

Responses

Status: 200 - Successful


creatorByEvent

Creator By Event

Fetches lists of comic creators whose work appears in a specific event, with optional filters.


/events/{eventid}/creators

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events/{eventid}/creators?apikey=&firstName=&lastName=&suffix=&nameStartsWith=&firstNameStartsWith=&middleNameStartsWith="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorByEvent(apiecoKey, apikey, eventid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#creatorByEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorByEvent(apiecoKey, apikey, eventid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#creatorByEvent");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *eventid = eventid_example; // 
String *firstName = firstName_example; // Filter by creator middle name (e.g. Michael).   (optional)
String *lastName = lastName_example; // Filter by creator last name (e.g. Bendis).   (optional)
String *suffix = suffix_example; // Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
String *nameStartsWith = nameStartsWith_example; // Filter by creator names that match critera (e.g. B, St L).   (optional)
Integer *firstNameStartsWith = 56; // Filter by creator first names that match critera (e.g. B, St L).   (optional)
String *middleNameStartsWith = middleNameStartsWith_example; // Filter by creator middle names that match critera (e.g. Mi).   (optional)

EventsApi *apiInstance = [[EventsApi alloc] init];

// Creator By Event
[apiInstance creatorByEventWith:apiecoKey
    apikey:apikey
    eventid:eventid
    firstName:firstName
    lastName:lastName
    suffix:suffix
    nameStartsWith:nameStartsWith
    firstNameStartsWith:firstNameStartsWith
    middleNameStartsWith:middleNameStartsWith
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var eventid = eventid_example; // {String} 

var opts = { 
  'firstName': firstName_example, // {String} Filter by creator middle name (e.g. Michael).  
  'lastName': lastName_example, // {String} Filter by creator last name (e.g. Bendis).  
  'suffix': suffix_example, // {String} Filter by suffix or honorific (e.g. Jr., Sr.).  
  'nameStartsWith': nameStartsWith_example, // {String} Filter by creator names that match critera (e.g. B, St L).  
  'firstNameStartsWith': 56, // {Integer} Filter by creator first names that match critera (e.g. B, St L).  
  'middleNameStartsWith': middleNameStartsWith_example // {String} Filter by creator middle names that match critera (e.g. Mi).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.creatorByEvent(apiecoKey, apikey, eventid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class creatorByEventExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var eventid = eventid_example;  // String | 
            var firstName = firstName_example;  // String | Filter by creator middle name (e.g. Michael).   (optional) 
            var lastName = lastName_example;  // String | Filter by creator last name (e.g. Bendis).   (optional) 
            var suffix = suffix_example;  // String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Filter by creator names that match critera (e.g. B, St L).   (optional) 
            var firstNameStartsWith = 56;  // Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional) 
            var middleNameStartsWith = middleNameStartsWith_example;  // String | Filter by creator middle names that match critera (e.g. Mi).   (optional) 

            try
            {
                // Creator By Event
                inline_response_200_5 result = apiInstance.creatorByEvent(apiecoKey, apikey, eventid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.creatorByEvent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$eventid = eventid_example; // String | 
$firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
$lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
$suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
$nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
$firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
$middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  

try {
    $result = $api_instance->creatorByEvent($apiecoKey, $apikey, $eventid, $firstName, $lastName, $suffix, $nameStartsWith, $firstNameStartsWith, $middleNameStartsWith);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->creatorByEvent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $eventid = eventid_example; # String | 
my $firstName = firstName_example; # String | Filter by creator middle name (e.g. Michael).  
my $lastName = lastName_example; # String | Filter by creator last name (e.g. Bendis).  
my $suffix = suffix_example; # String | Filter by suffix or honorific (e.g. Jr., Sr.).  
my $nameStartsWith = nameStartsWith_example; # String | Filter by creator names that match critera (e.g. B, St L).  
my $firstNameStartsWith = 56; # Integer | Filter by creator first names that match critera (e.g. B, St L).  
my $middleNameStartsWith = middleNameStartsWith_example; # String | Filter by creator middle names that match critera (e.g. Mi).  

eval { 
    my $result = $api_instance->creatorByEvent(apiecoKey => $apiecoKey, apikey => $apikey, eventid => $eventid, firstName => $firstName, lastName => $lastName, suffix => $suffix, nameStartsWith => $nameStartsWith, firstNameStartsWith => $firstNameStartsWith, middleNameStartsWith => $middleNameStartsWith);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->creatorByEvent: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
eventid = eventid_example # String | 
firstName = firstName_example # String | Filter by creator middle name (e.g. Michael).   (optional)
lastName = lastName_example # String | Filter by creator last name (e.g. Bendis).   (optional)
suffix = suffix_example # String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
nameStartsWith = nameStartsWith_example # String | Filter by creator names that match critera (e.g. B, St L).   (optional)
firstNameStartsWith = 56 # Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional)
middleNameStartsWith = middleNameStartsWith_example # String | Filter by creator middle names that match critera (e.g. Mi).   (optional)

try: 
    # Creator By Event
    api_response = api_instance.creator_by_event(apiecoKey, apikey, eventid, firstName=firstName, lastName=lastName, suffix=suffix, nameStartsWith=nameStartsWith, firstNameStartsWith=firstNameStartsWith, middleNameStartsWith=middleNameStartsWith)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->creatorByEvent: %s\n" % e)

Parameters

Path parameters
Name Description
eventid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
firstName
String
Filter by creator middle name (e.g. Michael).
lastName
String
Filter by creator last name (e.g. Bendis).
suffix
String
Filter by suffix or honorific (e.g. Jr., Sr.).
nameStartsWith
String
Filter by creator names that match critera (e.g. B, St L).
firstNameStartsWith
Integer
Filter by creator first names that match critera (e.g. B, St L).
middleNameStartsWith
String
Filter by creator middle names that match critera (e.g. Mi).

Responses

Status: 200 - Successful


seriesByEvent

Series By Event

Fetches lists of comic series in which a specific event takes place, with optional filters.


/events/{eventid}/series

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events/{eventid}/series?apikey=&titleStartsWith=&startYear=&modifiedSince=&comics=&stories=&events="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.seriesByEvent(apiecoKey, apikey, eventid, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#seriesByEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.seriesByEvent(apiecoKey, apikey, eventid, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#seriesByEvent");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *eventid = eventid_example; // 
String *titleStartsWith = titleStartsWith_example; // Return series with titles that begin with the specified string (e.g. Sp).   (optional)
String *startYear = startYear_example; // Return only series matching the specified start year.   (optional)
String *modifiedSince = modifiedSince_example; // Return only series which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
Integer *stories = 56; // Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

EventsApi *apiInstance = [[EventsApi alloc] init];

// Series By Event
[apiInstance seriesByEventWith:apiecoKey
    apikey:apikey
    eventid:eventid
    titleStartsWith:titleStartsWith
    startYear:startYear
    modifiedSince:modifiedSince
    comics:comics
    stories:stories
    events:events
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var eventid = eventid_example; // {String} 

var opts = { 
  'titleStartsWith': titleStartsWith_example, // {String} Return series with titles that begin with the specified string (e.g. Sp).  
  'startYear': startYear_example, // {String} Return only series matching the specified start year.  
  'modifiedSince': modifiedSince_example, // {String} Return only series which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only series which contain the specified comics (accepts a comma-separated list of ids).  
  'stories': 56, // {Integer} Return only series which contain the specified stories (accepts a comma-separated list of ids).  
  'events': events_example // {String} Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.seriesByEvent(apiecoKey, apikey, eventid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class seriesByEventExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var eventid = eventid_example;  // String | 
            var titleStartsWith = titleStartsWith_example;  // String | Return series with titles that begin with the specified string (e.g. Sp).   (optional) 
            var startYear = startYear_example;  // String | Return only series matching the specified start year.   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only series which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional) 
            var stories = 56;  // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Series By Event
                inline_response_200_2 result = apiInstance.seriesByEvent(apiecoKey, apikey, eventid, titleStartsWith, startYear, modifiedSince, comics, stories, events);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.seriesByEvent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$eventid = eventid_example; // String | 
$titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
$startYear = startYear_example; // String | Return only series matching the specified start year.  
$modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
$comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
$stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->seriesByEvent($apiecoKey, $apikey, $eventid, $titleStartsWith, $startYear, $modifiedSince, $comics, $stories, $events);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->seriesByEvent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $eventid = eventid_example; # String | 
my $titleStartsWith = titleStartsWith_example; # String | Return series with titles that begin with the specified string (e.g. Sp).  
my $startYear = startYear_example; # String | Return only series matching the specified start year.  
my $modifiedSince = modifiedSince_example; # String | Return only series which have been modified since the specified date.  
my $comics = comics_example; # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
my $stories = 56; # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->seriesByEvent(apiecoKey => $apiecoKey, apikey => $apikey, eventid => $eventid, titleStartsWith => $titleStartsWith, startYear => $startYear, modifiedSince => $modifiedSince, comics => $comics, stories => $stories, events => $events);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->seriesByEvent: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
eventid = eventid_example # String | 
titleStartsWith = titleStartsWith_example # String | Return series with titles that begin with the specified string (e.g. Sp).   (optional)
startYear = startYear_example # String | Return only series matching the specified start year.   (optional)
modifiedSince = modifiedSince_example # String | Return only series which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
stories = 56 # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

try: 
    # Series By Event
    api_response = api_instance.series_by_event(apiecoKey, apikey, eventid, titleStartsWith=titleStartsWith, startYear=startYear, modifiedSince=modifiedSince, comics=comics, stories=stories, events=events)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->seriesByEvent: %s\n" % e)

Parameters

Path parameters
Name Description
eventid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
titleStartsWith
String
Return series with titles that begin with the specified string (e.g. Sp).
startYear
String
Return only series matching the specified start year.
modifiedSince
String
Return only series which have been modified since the specified date.
comics
String
Return only series which contain the specified comics (accepts a comma-separated list of ids).
stories
Integer
Return only series which contain the specified stories (accepts a comma-separated list of ids).
events
String
Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


singleEvent

Single event

TThis method fetches a single event resource. It is the canonical URI for any event resource provided by the API.


/events/{eventid}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events/{eventid}?apikey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.singleEvent(apiecoKey, apikey, eventid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#singleEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.singleEvent(apiecoKey, apikey, eventid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#singleEvent");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *eventid = eventid_example; // 

EventsApi *apiInstance = [[EventsApi alloc] init];

// Single event
[apiInstance singleEventWith:apiecoKey
    apikey:apikey
    eventid:eventid
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var eventid = eventid_example; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.singleEvent(apiecoKey, apikey, eventid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class singleEventExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var eventid = eventid_example;  // String | 

            try
            {
                // Single event
                inline_response_200_6 result = apiInstance.singleEvent(apiecoKey, apikey, eventid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.singleEvent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$eventid = eventid_example; // String | 

try {
    $result = $api_instance->singleEvent($apiecoKey, $apikey, $eventid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->singleEvent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $eventid = eventid_example; # String | 

eval { 
    my $result = $api_instance->singleEvent(apiecoKey => $apiecoKey, apikey => $apikey, eventid => $eventid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->singleEvent: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
eventid = eventid_example # String | 

try: 
    # Single event
    api_response = api_instance.single_event(apiecoKey, apikey, eventid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->singleEvent: %s\n" % e)

Parameters

Path parameters
Name Description
eventid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required

Responses

Status: 200 - Successful


storiesByEvent

Stories By Event

Fetches lists of comic stories from a specific event, with optional filters.


/events/{eventid}/stories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/events/{eventid}/stories?apikey=&modifiedSince=&comics=&series=&events=&creators="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;

import java.io.File;
import java.util.*;

public class EventsApiExample {

    public static void main(String[] args) {
        
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.storiesByEvent(apiecoKey, apikey, eventid, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#storiesByEvent");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EventsApi;

public class EventsApiExample {

    public static void main(String[] args) {
        EventsApi apiInstance = new EventsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String eventid = eventid_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.storiesByEvent(apiecoKey, apikey, eventid, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EventsApi#storiesByEvent");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *eventid = eventid_example; // 
String *modifiedSince = modifiedSince_example; // RReturn only stories which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
String *series = series_example; // Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
Integer *creators = 56; // Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

EventsApi *apiInstance = [[EventsApi alloc] init];

// Stories By Event
[apiInstance storiesByEventWith:apiecoKey
    apikey:apikey
    eventid:eventid
    modifiedSince:modifiedSince
    comics:comics
    series:series
    events:events
    creators:creators
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.EventsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var eventid = eventid_example; // {String} 

var opts = { 
  'modifiedSince': modifiedSince_example, // {String} RReturn only stories which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only stories contained in the specified (accepts a comma-separated list of ids).  
  'series': series_example, // {String} Return only stories contained the specified series (accepts a comma-separated list of ids).  
  'events': events_example, // {String} Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
  'creators': 56 // {Integer} Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.storiesByEvent(apiecoKey, apikey, eventid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class storiesByEventExample
    {
        public void main()
        {
            
            var apiInstance = new EventsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var eventid = eventid_example;  // String | 
            var modifiedSince = modifiedSince_example;  // String | RReturn only stories which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional) 
            var series = series_example;  // String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional) 
            var creators = 56;  // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Stories By Event
                inline_response_200_2 result = apiInstance.storiesByEvent(apiecoKey, apikey, eventid, modifiedSince, comics, series, events, creators);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EventsApi.storiesByEvent: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EventsApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$eventid = eventid_example; // String | 
$modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
$comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
$series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
$creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->storiesByEvent($apiecoKey, $apikey, $eventid, $modifiedSince, $comics, $series, $events, $creators);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EventsApi->storiesByEvent: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;

my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $eventid = eventid_example; # String | 
my $modifiedSince = modifiedSince_example; # String | RReturn only stories which have been modified since the specified date.  
my $comics = comics_example; # String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
my $series = series_example; # String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
my $creators = 56; # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->storiesByEvent(apiecoKey => $apiecoKey, apikey => $apikey, eventid => $eventid, modifiedSince => $modifiedSince, comics => $comics, series => $series, events => $events, creators => $creators);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EventsApi->storiesByEvent: $@\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.EventsApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
eventid = eventid_example # String | 
modifiedSince = modifiedSince_example # String | RReturn only stories which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
series = series_example # String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
creators = 56 # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

try: 
    # Stories By Event
    api_response = api_instance.stories_by_event(apiecoKey, apikey, eventid, modifiedSince=modifiedSince, comics=comics, series=series, events=events, creators=creators)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EventsApi->storiesByEvent: %s\n" % e)

Parameters

Path parameters
Name Description
eventid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
modifiedSince
String
RReturn only stories which have been modified since the specified date.
comics
String
Return only stories contained in the specified (accepts a comma-separated list of ids).
series
String
Return only stories contained the specified series (accepts a comma-separated list of ids).
events
String
Return only stories which take place during the specified events (accepts a comma-separated list of ids).
creators
Integer
Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


Series

allSeries

All Series

Fetches lists of comic series with optional filters.


/series

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series?apikey=&titleStartsWith=&startYear=&modifiedSince=&comics=&stories=&events="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.allSeries(apiecoKey, apikey, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#allSeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.allSeries(apiecoKey, apikey, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#allSeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *titleStartsWith = titleStartsWith_example; // Return series with titles that begin with the specified string (e.g. Sp).   (optional)
String *startYear = startYear_example; // Return only series matching the specified start year.   (optional)
String *modifiedSince = modifiedSince_example; // Return only series which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
Integer *stories = 56; // Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// All Series
[apiInstance allSeriesWith:apiecoKey
    apikey:apikey
    titleStartsWith:titleStartsWith
    startYear:startYear
    modifiedSince:modifiedSince
    comics:comics
    stories:stories
    events:events
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var opts = { 
  'titleStartsWith': titleStartsWith_example, // {String} Return series with titles that begin with the specified string (e.g. Sp).  
  'startYear': startYear_example, // {String} Return only series matching the specified start year.  
  'modifiedSince': modifiedSince_example, // {String} Return only series which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only series which contain the specified comics (accepts a comma-separated list of ids).  
  'stories': 56, // {Integer} Return only series which contain the specified stories (accepts a comma-separated list of ids).  
  'events': events_example // {String} Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.allSeries(apiecoKey, apikey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class allSeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var titleStartsWith = titleStartsWith_example;  // String | Return series with titles that begin with the specified string (e.g. Sp).   (optional) 
            var startYear = startYear_example;  // String | Return only series matching the specified start year.   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only series which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional) 
            var stories = 56;  // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // All Series
                inline_response_200_2 result = apiInstance.allSeries(apiecoKey, apikey, titleStartsWith, startYear, modifiedSince, comics, stories, events);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.allSeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
$startYear = startYear_example; // String | Return only series matching the specified start year.  
$modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
$comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
$stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->allSeries($apiecoKey, $apikey, $titleStartsWith, $startYear, $modifiedSince, $comics, $stories, $events);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->allSeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $titleStartsWith = titleStartsWith_example; # String | Return series with titles that begin with the specified string (e.g. Sp).  
my $startYear = startYear_example; # String | Return only series matching the specified start year.  
my $modifiedSince = modifiedSince_example; # String | Return only series which have been modified since the specified date.  
my $comics = comics_example; # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
my $stories = 56; # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->allSeries(apiecoKey => $apiecoKey, apikey => $apikey, titleStartsWith => $titleStartsWith, startYear => $startYear, modifiedSince => $modifiedSince, comics => $comics, stories => $stories, events => $events);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->allSeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
titleStartsWith = titleStartsWith_example # String | Return series with titles that begin with the specified string (e.g. Sp).   (optional)
startYear = startYear_example # String | Return only series matching the specified start year.   (optional)
modifiedSince = modifiedSince_example # String | Return only series which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
stories = 56 # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

try: 
    # All Series
    api_response = api_instance.all_series(apiecoKey, apikey, titleStartsWith=titleStartsWith, startYear=startYear, modifiedSince=modifiedSince, comics=comics, stories=stories, events=events)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->allSeries: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
titleStartsWith
String
Return series with titles that begin with the specified string (e.g. Sp).
startYear
String
Return only series matching the specified start year.
modifiedSince
String
Return only series which have been modified since the specified date.
comics
String
Return only series which contain the specified comics (accepts a comma-separated list of ids).
stories
Integer
Return only series which contain the specified stories (accepts a comma-separated list of ids).
events
String
Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


characterBySeries

CharacterBySeries

Fetches lists of characters which appear in specific series, with optional filters.


/series/{seriesid}/characters

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series/{seriesid}/characters?apikey=&nameStartsWith=&modifiedSince=&stories=&series=&events=&orderBy="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterBySeries(apiecoKey, apikey, seriesid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#characterBySeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterBySeries(apiecoKey, apikey, seriesid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#characterBySeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *seriesid = seriesid_example; // 
String *nameStartsWith = nameStartsWith_example; // Return characters with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only characters which have been modified since the specified date.   (optional)
Boolean *stories = true; // Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
String *series = series_example; // Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
Integer *events = 56; // Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
String *orderBy = orderBy_example; // Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// CharacterBySeries
[apiInstance characterBySeriesWith:apiecoKey
    apikey:apikey
    seriesid:seriesid
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    stories:stories
    series:series
    events:events
    orderBy:orderBy
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var seriesid = seriesid_example; // {String} 

var opts = { 
  'nameStartsWith': nameStartsWith_example, // {String} Return characters with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only characters which have been modified since the specified date.  
  'stories': true, // {Boolean} Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
  'series': series_example, // {String} Return only characters which appear the specified series (accepts a comma-separated list of ids).  
  'events': 56, // {Integer} Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
  'orderBy': orderBy_example // {String} Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.characterBySeries(apiecoKey, apikey, seriesid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class characterBySeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var seriesid = seriesid_example;  // String | 
            var nameStartsWith = nameStartsWith_example;  // String | Return characters with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only characters which have been modified since the specified date.   (optional) 
            var stories = true;  // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional) 
            var series = series_example;  // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = 56;  // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional) 
            var orderBy = orderBy_example;  // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional) 

            try
            {
                // CharacterBySeries
                inline_response_200_4 result = apiInstance.characterBySeries(apiecoKey, apikey, seriesid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.characterBySeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$seriesid = seriesid_example; // String | 
$nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
$stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
$series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
$events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
$orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

try {
    $result = $api_instance->characterBySeries($apiecoKey, $apikey, $seriesid, $nameStartsWith, $modifiedSince, $stories, $series, $events, $orderBy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->characterBySeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $seriesid = seriesid_example; # String | 
my $nameStartsWith = nameStartsWith_example; # String | Return characters with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only characters which have been modified since the specified date.  
my $stories = true; # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
my $series = series_example; # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
my $events = 56; # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
my $orderBy = orderBy_example; # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

eval { 
    my $result = $api_instance->characterBySeries(apiecoKey => $apiecoKey, apikey => $apikey, seriesid => $seriesid, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, stories => $stories, series => $series, events => $events, orderBy => $orderBy);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->characterBySeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
seriesid = seriesid_example # String | 
nameStartsWith = nameStartsWith_example # String | Return characters with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only characters which have been modified since the specified date.   (optional)
stories = true # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
series = series_example # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
events = 56 # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
orderBy = orderBy_example # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

try: 
    # CharacterBySeries
    api_response = api_instance.character_by_series(apiecoKey, apikey, seriesid, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, stories=stories, series=series, events=events, orderBy=orderBy)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->characterBySeries: %s\n" % e)

Parameters

Path parameters
Name Description
seriesid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
nameStartsWith
String
Return characters with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only characters which have been modified since the specified date.
stories
Boolean
Return only characters which appear the specified stories (accepts a comma-separated list of ids).
series
String
Return only characters which appear the specified series (accepts a comma-separated list of ids).
events
Integer
Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).
orderBy
String
Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.

Responses

Status: 200 - Successful


comicBySeries

Comic By Series

Fetches lists of comics which are published as part of a specific series, with optional filters.


/series/{seriesid}/comics

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series/{seriesid}/comics?apikey=&format=&formatType=&noVariants=&dateDescriptor=&dateRange=&title="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicBySeries(apiecoKey, apikey, seriesid, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#comicBySeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicBySeries(apiecoKey, apikey, seriesid, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#comicBySeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *seriesid = seriesid_example; // 
String *format = format_example; // Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
String *formatType = formatType_example; // Filter by the issue format type (comic or collection).     (optional)
Boolean *noVariants = true; // Exclude variant comics from the result set.     (optional)
String *dateDescriptor = dateDescriptor_example; // Return comics within a predefined date range.     (optional)
Integer *dateRange = 56; // Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
String *title = title_example; // Return only issues in series whose title matches the input.   (optional)

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// Comic By Series
[apiInstance comicBySeriesWith:apiecoKey
    apikey:apikey
    seriesid:seriesid
    format:format
    formatType:formatType
    noVariants:noVariants
    dateDescriptor:dateDescriptor
    dateRange:dateRange
    title:title
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var seriesid = seriesid_example; // {String} 

var opts = { 
  'format': format_example, // {String} Filter by the issue format (e.g. comic, digital comic, hardcover).    
  'formatType': formatType_example, // {String} Filter by the issue format type (comic or collection).    
  'noVariants': true, // {Boolean} Exclude variant comics from the result set.    
  'dateDescriptor': dateDescriptor_example, // {String} Return comics within a predefined date range.    
  'dateRange': 56, // {Integer} Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
  'title': title_example // {String} Return only issues in series whose title matches the input.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.comicBySeries(apiecoKey, apikey, seriesid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class comicBySeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var seriesid = seriesid_example;  // String | 
            var format = format_example;  // String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional) 
            var formatType = formatType_example;  // String | Filter by the issue format type (comic or collection).     (optional) 
            var noVariants = true;  // Boolean | Exclude variant comics from the result set.     (optional) 
            var dateDescriptor = dateDescriptor_example;  // String | Return comics within a predefined date range.     (optional) 
            var dateRange = 56;  // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional) 
            var title = title_example;  // String | Return only issues in series whose title matches the input.   (optional) 

            try
            {
                // Comic By Series
                inline_response_200_1 result = apiInstance.comicBySeries(apiecoKey, apikey, seriesid, format, formatType, noVariants, dateDescriptor, dateRange, title);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.comicBySeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$seriesid = seriesid_example; // String | 
$format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
$formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
$noVariants = true; // Boolean | Exclude variant comics from the result set.    
$dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
$dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
$title = title_example; // String | Return only issues in series whose title matches the input.  

try {
    $result = $api_instance->comicBySeries($apiecoKey, $apikey, $seriesid, $format, $formatType, $noVariants, $dateDescriptor, $dateRange, $title);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->comicBySeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $seriesid = seriesid_example; # String | 
my $format = format_example; # String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
my $formatType = formatType_example; # String | Filter by the issue format type (comic or collection).    
my $noVariants = true; # Boolean | Exclude variant comics from the result set.    
my $dateDescriptor = dateDescriptor_example; # String | Return comics within a predefined date range.    
my $dateRange = 56; # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
my $title = title_example; # String | Return only issues in series whose title matches the input.  

eval { 
    my $result = $api_instance->comicBySeries(apiecoKey => $apiecoKey, apikey => $apikey, seriesid => $seriesid, format => $format, formatType => $formatType, noVariants => $noVariants, dateDescriptor => $dateDescriptor, dateRange => $dateRange, title => $title);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->comicBySeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
seriesid = seriesid_example # String | 
format = format_example # String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
formatType = formatType_example # String | Filter by the issue format type (comic or collection).     (optional)
noVariants = true # Boolean | Exclude variant comics from the result set.     (optional)
dateDescriptor = dateDescriptor_example # String | Return comics within a predefined date range.     (optional)
dateRange = 56 # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
title = title_example # String | Return only issues in series whose title matches the input.   (optional)

try: 
    # Comic By Series
    api_response = api_instance.comic_by_series(apiecoKey, apikey, seriesid, format=format, formatType=formatType, noVariants=noVariants, dateDescriptor=dateDescriptor, dateRange=dateRange, title=title)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->comicBySeries: %s\n" % e)

Parameters

Path parameters
Name Description
seriesid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
format
String
Filter by the issue format (e.g. comic, digital comic, hardcover).
formatType
String
Filter by the issue format type (comic or collection).
noVariants
Boolean
Exclude variant comics from the result set.
dateDescriptor
String
Return comics within a predefined date range.
dateRange
Integer
Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.
title
String
Return only issues in series whose title matches the input.

Responses

Status: 200 - Successful


creatorBySeries

Creator By Series

Fetches lists of comic creators whose work appears in a specific series, with optional filters.


/series/{seriesid}/creators

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series/{seriesid}/creators?apikey=&firstName=&lastName=&suffix=&nameStartsWith=&firstNameStartsWith=&middleNameStartsWith="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorBySeries(apiecoKey, apikey, seriesid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#creatorBySeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorBySeries(apiecoKey, apikey, seriesid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#creatorBySeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *seriesid = seriesid_example; // 
String *firstName = firstName_example; // Filter by creator middle name (e.g. Michael).   (optional)
String *lastName = lastName_example; // Filter by creator last name (e.g. Bendis).   (optional)
String *suffix = suffix_example; // Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
String *nameStartsWith = nameStartsWith_example; // Filter by creator names that match critera (e.g. B, St L).   (optional)
Integer *firstNameStartsWith = 56; // Filter by creator first names that match critera (e.g. B, St L).   (optional)
String *middleNameStartsWith = middleNameStartsWith_example; // Filter by creator middle names that match critera (e.g. Mi).   (optional)

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// Creator By Series
[apiInstance creatorBySeriesWith:apiecoKey
    apikey:apikey
    seriesid:seriesid
    firstName:firstName
    lastName:lastName
    suffix:suffix
    nameStartsWith:nameStartsWith
    firstNameStartsWith:firstNameStartsWith
    middleNameStartsWith:middleNameStartsWith
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var seriesid = seriesid_example; // {String} 

var opts = { 
  'firstName': firstName_example, // {String} Filter by creator middle name (e.g. Michael).  
  'lastName': lastName_example, // {String} Filter by creator last name (e.g. Bendis).  
  'suffix': suffix_example, // {String} Filter by suffix or honorific (e.g. Jr., Sr.).  
  'nameStartsWith': nameStartsWith_example, // {String} Filter by creator names that match critera (e.g. B, St L).  
  'firstNameStartsWith': 56, // {Integer} Filter by creator first names that match critera (e.g. B, St L).  
  'middleNameStartsWith': middleNameStartsWith_example // {String} Filter by creator middle names that match critera (e.g. Mi).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.creatorBySeries(apiecoKey, apikey, seriesid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class creatorBySeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var seriesid = seriesid_example;  // String | 
            var firstName = firstName_example;  // String | Filter by creator middle name (e.g. Michael).   (optional) 
            var lastName = lastName_example;  // String | Filter by creator last name (e.g. Bendis).   (optional) 
            var suffix = suffix_example;  // String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Filter by creator names that match critera (e.g. B, St L).   (optional) 
            var firstNameStartsWith = 56;  // Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional) 
            var middleNameStartsWith = middleNameStartsWith_example;  // String | Filter by creator middle names that match critera (e.g. Mi).   (optional) 

            try
            {
                // Creator By Series
                inline_response_200_5 result = apiInstance.creatorBySeries(apiecoKey, apikey, seriesid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.creatorBySeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$seriesid = seriesid_example; // String | 
$firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
$lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
$suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
$nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
$firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
$middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  

try {
    $result = $api_instance->creatorBySeries($apiecoKey, $apikey, $seriesid, $firstName, $lastName, $suffix, $nameStartsWith, $firstNameStartsWith, $middleNameStartsWith);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->creatorBySeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $seriesid = seriesid_example; # String | 
my $firstName = firstName_example; # String | Filter by creator middle name (e.g. Michael).  
my $lastName = lastName_example; # String | Filter by creator last name (e.g. Bendis).  
my $suffix = suffix_example; # String | Filter by suffix or honorific (e.g. Jr., Sr.).  
my $nameStartsWith = nameStartsWith_example; # String | Filter by creator names that match critera (e.g. B, St L).  
my $firstNameStartsWith = 56; # Integer | Filter by creator first names that match critera (e.g. B, St L).  
my $middleNameStartsWith = middleNameStartsWith_example; # String | Filter by creator middle names that match critera (e.g. Mi).  

eval { 
    my $result = $api_instance->creatorBySeries(apiecoKey => $apiecoKey, apikey => $apikey, seriesid => $seriesid, firstName => $firstName, lastName => $lastName, suffix => $suffix, nameStartsWith => $nameStartsWith, firstNameStartsWith => $firstNameStartsWith, middleNameStartsWith => $middleNameStartsWith);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->creatorBySeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
seriesid = seriesid_example # String | 
firstName = firstName_example # String | Filter by creator middle name (e.g. Michael).   (optional)
lastName = lastName_example # String | Filter by creator last name (e.g. Bendis).   (optional)
suffix = suffix_example # String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
nameStartsWith = nameStartsWith_example # String | Filter by creator names that match critera (e.g. B, St L).   (optional)
firstNameStartsWith = 56 # Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional)
middleNameStartsWith = middleNameStartsWith_example # String | Filter by creator middle names that match critera (e.g. Mi).   (optional)

try: 
    # Creator By Series
    api_response = api_instance.creator_by_series(apiecoKey, apikey, seriesid, firstName=firstName, lastName=lastName, suffix=suffix, nameStartsWith=nameStartsWith, firstNameStartsWith=firstNameStartsWith, middleNameStartsWith=middleNameStartsWith)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->creatorBySeries: %s\n" % e)

Parameters

Path parameters
Name Description
seriesid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
firstName
String
Filter by creator middle name (e.g. Michael).
lastName
String
Filter by creator last name (e.g. Bendis).
suffix
String
Filter by suffix or honorific (e.g. Jr., Sr.).
nameStartsWith
String
Filter by creator names that match critera (e.g. B, St L).
firstNameStartsWith
Integer
Filter by creator first names that match critera (e.g. B, St L).
middleNameStartsWith
String
Filter by creator middle names that match critera (e.g. Mi).

Responses

Status: 200 - Successful


eventBySeries

Event By Series

Fetches lists of events which occur in a specific series, with optional filters.


/series/{seriesid}/events

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series/{seriesid}/events?apikey=&name=&nameStartsWith=&modifiedSince=&creators=&series=&comics="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.eventBySeries(apiecoKey, apikey, seriesid, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#eventBySeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.eventBySeries(apiecoKey, apikey, seriesid, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#eventBySeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *seriesid = seriesid_example; // 
String *name = name_example; // Filter the event list by name.   (optional)
String *nameStartsWith = nameStartsWith_example; // Return events with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only events which have been modified since the specified date.   (optional)
String *creators = creators_example; // Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
Integer *series = 56; // Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
String *comics = comics_example; // Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// Event By Series
[apiInstance eventBySeriesWith:apiecoKey
    apikey:apikey
    seriesid:seriesid
    name:name
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    creators:creators
    series:series
    comics:comics
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var seriesid = seriesid_example; // {String} 

var opts = { 
  'name': name_example, // {String} Filter the event list by name.  
  'nameStartsWith': nameStartsWith_example, // {String} Return events with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only events which have been modified since the specified date.  
  'creators': creators_example, // {String} Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
  'series': 56, // {Integer} Return only events which are part of the specified series (accepts a comma-separated list of ids).  
  'comics': comics_example // {String} Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.eventBySeries(apiecoKey, apikey, seriesid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventBySeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var seriesid = seriesid_example;  // String | 
            var name = name_example;  // String | Filter the event list by name.   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Return events with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only events which have been modified since the specified date.   (optional) 
            var creators = creators_example;  // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 
            var series = 56;  // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional) 
            var comics = comics_example;  // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Event By Series
                inline_response_200_2 result = apiInstance.eventBySeries(apiecoKey, apikey, seriesid, name, nameStartsWith, modifiedSince, creators, series, comics);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.eventBySeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$seriesid = seriesid_example; // String | 
$name = name_example; // String | Filter the event list by name.  
$nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
$creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
$series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
$comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->eventBySeries($apiecoKey, $apikey, $seriesid, $name, $nameStartsWith, $modifiedSince, $creators, $series, $comics);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->eventBySeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $seriesid = seriesid_example; # String | 
my $name = name_example; # String | Filter the event list by name.  
my $nameStartsWith = nameStartsWith_example; # String | Return events with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only events which have been modified since the specified date.  
my $creators = creators_example; # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
my $series = 56; # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
my $comics = comics_example; # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->eventBySeries(apiecoKey => $apiecoKey, apikey => $apikey, seriesid => $seriesid, name => $name, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, creators => $creators, series => $series, comics => $comics);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->eventBySeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
seriesid = seriesid_example # String | 
name = name_example # String | Filter the event list by name.   (optional)
nameStartsWith = nameStartsWith_example # String | Return events with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only events which have been modified since the specified date.   (optional)
creators = creators_example # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
series = 56 # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
comics = comics_example # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

try: 
    # Event By Series
    api_response = api_instance.event_by_series(apiecoKey, apikey, seriesid, name=name, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, creators=creators, series=series, comics=comics)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->eventBySeries: %s\n" % e)

Parameters

Path parameters
Name Description
seriesid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
name
String
Filter the event list by name.
nameStartsWith
String
Return events with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only events which have been modified since the specified date.
creators
String
Return only events which feature work by the specified creators (accepts a comma-separated list of ids).
series
Integer
Return only events which are part of the specified series (accepts a comma-separated list of ids).
comics
String
Return only events which take place in the specified comics (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


singleSeries

Single Series

This method fetches a single comic series resource. It is the canonical URI for any comic series resource provided by the API.


/series/{seriesid}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series/{seriesid}?apikey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.singleSeries(apiecoKey, apikey, seriesid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#singleSeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.singleSeries(apiecoKey, apikey, seriesid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#singleSeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *seriesid = seriesid_example; // 

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// Single Series
[apiInstance singleSeriesWith:apiecoKey
    apikey:apikey
    seriesid:seriesid
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var seriesid = seriesid_example; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.singleSeries(apiecoKey, apikey, seriesid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class singleSeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var seriesid = seriesid_example;  // String | 

            try
            {
                // Single Series
                inline_response_200_6 result = apiInstance.singleSeries(apiecoKey, apikey, seriesid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.singleSeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$seriesid = seriesid_example; // String | 

try {
    $result = $api_instance->singleSeries($apiecoKey, $apikey, $seriesid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->singleSeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $seriesid = seriesid_example; # String | 

eval { 
    my $result = $api_instance->singleSeries(apiecoKey => $apiecoKey, apikey => $apikey, seriesid => $seriesid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->singleSeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
seriesid = seriesid_example # String | 

try: 
    # Single Series
    api_response = api_instance.single_series(apiecoKey, apikey, seriesid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->singleSeries: %s\n" % e)

Parameters

Path parameters
Name Description
seriesid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required

Responses

Status: 200 - Successful


storyBySeries

Story By Series

Fetches lists of comic stories from a specific series with optional filters.


/series/{seriesid}/stories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/series/{seriesid}/stories?apikey=&modifiedSince=&comics=&series=&events=&creators="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeriesApi;

import java.io.File;
import java.util.*;

public class SeriesApiExample {

    public static void main(String[] args) {
        
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.storyBySeries(apiecoKey, apikey, seriesid, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#storyBySeries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeriesApi;

public class SeriesApiExample {

    public static void main(String[] args) {
        SeriesApi apiInstance = new SeriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String seriesid = seriesid_example; // String | 
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.storyBySeries(apiecoKey, apikey, seriesid, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeriesApi#storyBySeries");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *seriesid = seriesid_example; // 
String *modifiedSince = modifiedSince_example; // RReturn only stories which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
String *series = series_example; // Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
Integer *creators = 56; // Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

SeriesApi *apiInstance = [[SeriesApi alloc] init];

// Story By Series
[apiInstance storyBySeriesWith:apiecoKey
    apikey:apikey
    seriesid:seriesid
    modifiedSince:modifiedSince
    comics:comics
    series:series
    events:events
    creators:creators
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.SeriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var seriesid = seriesid_example; // {String} 

var opts = { 
  'modifiedSince': modifiedSince_example, // {String} RReturn only stories which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only stories contained in the specified (accepts a comma-separated list of ids).  
  'series': series_example, // {String} Return only stories contained the specified series (accepts a comma-separated list of ids).  
  'events': events_example, // {String} Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
  'creators': 56 // {Integer} Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.storyBySeries(apiecoKey, apikey, seriesid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class storyBySeriesExample
    {
        public void main()
        {
            
            var apiInstance = new SeriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var seriesid = seriesid_example;  // String | 
            var modifiedSince = modifiedSince_example;  // String | RReturn only stories which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional) 
            var series = series_example;  // String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional) 
            var creators = 56;  // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Story By Series
                inline_response_200_2 result = apiInstance.storyBySeries(apiecoKey, apikey, seriesid, modifiedSince, comics, series, events, creators);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeriesApi.storyBySeries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$seriesid = seriesid_example; // String | 
$modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
$comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
$series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
$creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->storyBySeries($apiecoKey, $apikey, $seriesid, $modifiedSince, $comics, $series, $events, $creators);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->storyBySeries: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeriesApi;

my $api_instance = WWW::SwaggerClient::SeriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $seriesid = seriesid_example; # String | 
my $modifiedSince = modifiedSince_example; # String | RReturn only stories which have been modified since the specified date.  
my $comics = comics_example; # String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
my $series = series_example; # String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
my $creators = 56; # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->storyBySeries(apiecoKey => $apiecoKey, apikey => $apikey, seriesid => $seriesid, modifiedSince => $modifiedSince, comics => $comics, series => $series, events => $events, creators => $creators);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeriesApi->storyBySeries: $@\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.SeriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
seriesid = seriesid_example # String | 
modifiedSince = modifiedSince_example # String | RReturn only stories which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
series = series_example # String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
creators = 56 # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

try: 
    # Story By Series
    api_response = api_instance.story_by_series(apiecoKey, apikey, seriesid, modifiedSince=modifiedSince, comics=comics, series=series, events=events, creators=creators)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeriesApi->storyBySeries: %s\n" % e)

Parameters

Path parameters
Name Description
seriesid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
modifiedSince
String
RReturn only stories which have been modified since the specified date.
comics
String
Return only stories contained in the specified (accepts a comma-separated list of ids).
series
String
Return only stories contained the specified series (accepts a comma-separated list of ids).
events
String
Return only stories which take place during the specified events (accepts a comma-separated list of ids).
creators
Integer
Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


Stories

allStories

All Stories

Fetches lists of comic stories with optional filters.


/stories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories?apikey=&modifiedSince=&comics=&series=&events=&creators="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.allStories(apiecoKey, apikey, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#allStories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
        String comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
        String series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
        Integer creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.allStories(apiecoKey, apikey, modifiedSince, comics, series, events, creators);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#allStories");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *modifiedSince = modifiedSince_example; // RReturn only stories which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
String *series = series_example; // Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
Integer *creators = 56; // Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// All Stories
[apiInstance allStoriesWith:apiecoKey
    apikey:apikey
    modifiedSince:modifiedSince
    comics:comics
    series:series
    events:events
    creators:creators
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var opts = { 
  'modifiedSince': modifiedSince_example, // {String} RReturn only stories which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only stories contained in the specified (accepts a comma-separated list of ids).  
  'series': series_example, // {String} Return only stories contained the specified series (accepts a comma-separated list of ids).  
  'events': events_example, // {String} Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
  'creators': 56 // {Integer} Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.allStories(apiecoKey, apikey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class allStoriesExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var modifiedSince = modifiedSince_example;  // String | RReturn only stories which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional) 
            var series = series_example;  // String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional) 
            var creators = 56;  // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // All Stories
                inline_response_200_2 result = apiInstance.allStories(apiecoKey, apikey, modifiedSince, comics, series, events, creators);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.allStories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$modifiedSince = modifiedSince_example; // String | RReturn only stories which have been modified since the specified date.  
$comics = comics_example; // String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
$series = series_example; // String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
$creators = 56; // Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->allStories($apiecoKey, $apikey, $modifiedSince, $comics, $series, $events, $creators);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->allStories: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $modifiedSince = modifiedSince_example; # String | RReturn only stories which have been modified since the specified date.  
my $comics = comics_example; # String | Return only stories contained in the specified (accepts a comma-separated list of ids).  
my $series = series_example; # String | Return only stories contained the specified series (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).  
my $creators = 56; # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->allStories(apiecoKey => $apiecoKey, apikey => $apikey, modifiedSince => $modifiedSince, comics => $comics, series => $series, events => $events, creators => $creators);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->allStories: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
modifiedSince = modifiedSince_example # String | RReturn only stories which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only stories contained in the specified (accepts a comma-separated list of ids).   (optional)
series = series_example # String | Return only stories contained the specified series (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only stories which take place during the specified events (accepts a comma-separated list of ids).   (optional)
creators = 56 # Integer | Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)

try: 
    # All Stories
    api_response = api_instance.all_stories(apiecoKey, apikey, modifiedSince=modifiedSince, comics=comics, series=series, events=events, creators=creators)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->allStories: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
modifiedSince
String
RReturn only stories which have been modified since the specified date.
comics
String
Return only stories contained in the specified (accepts a comma-separated list of ids).
series
String
Return only stories contained the specified series (accepts a comma-separated list of ids).
events
String
Return only stories which take place during the specified events (accepts a comma-separated list of ids).
creators
Integer
Return only stories which feature work by the specified creators (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


characterByStory

Character By Story

Fetches lists of comic characters appearing in a single story, with optional filters.


/stories/{storyid}/characters

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories/{storyid}/characters?apikey=&nameStartsWith=&modifiedSince=&stories=&series=&events=&orderBy="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterByStory(apiecoKey, apikey, storyid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#characterByStory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
        Boolean stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
        String series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
        Integer events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
        String orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
        try {
            inline_response_200_4 result = apiInstance.characterByStory(apiecoKey, apikey, storyid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#characterByStory");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *storyid = storyid_example; // 
String *nameStartsWith = nameStartsWith_example; // Return characters with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only characters which have been modified since the specified date.   (optional)
Boolean *stories = true; // Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
String *series = series_example; // Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
Integer *events = 56; // Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
String *orderBy = orderBy_example; // Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// Character By Story
[apiInstance characterByStoryWith:apiecoKey
    apikey:apikey
    storyid:storyid
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    stories:stories
    series:series
    events:events
    orderBy:orderBy
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var storyid = storyid_example; // {String} 

var opts = { 
  'nameStartsWith': nameStartsWith_example, // {String} Return characters with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only characters which have been modified since the specified date.  
  'stories': true, // {Boolean} Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
  'series': series_example, // {String} Return only characters which appear the specified series (accepts a comma-separated list of ids).  
  'events': 56, // {Integer} Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
  'orderBy': orderBy_example // {String} Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.characterByStory(apiecoKey, apikey, storyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class characterByStoryExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var storyid = storyid_example;  // String | 
            var nameStartsWith = nameStartsWith_example;  // String | Return characters with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only characters which have been modified since the specified date.   (optional) 
            var stories = true;  // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional) 
            var series = series_example;  // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional) 
            var events = 56;  // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional) 
            var orderBy = orderBy_example;  // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional) 

            try
            {
                // Character By Story
                inline_response_200_4 result = apiInstance.characterByStory(apiecoKey, apikey, storyid, nameStartsWith, modifiedSince, stories, series, events, orderBy);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.characterByStory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$storyid = storyid_example; // String | 
$nameStartsWith = nameStartsWith_example; // String | Return characters with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only characters which have been modified since the specified date.  
$stories = true; // Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
$series = series_example; // String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
$events = 56; // Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
$orderBy = orderBy_example; // String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

try {
    $result = $api_instance->characterByStory($apiecoKey, $apikey, $storyid, $nameStartsWith, $modifiedSince, $stories, $series, $events, $orderBy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->characterByStory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $storyid = storyid_example; # String | 
my $nameStartsWith = nameStartsWith_example; # String | Return characters with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only characters which have been modified since the specified date.  
my $stories = true; # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).    
my $series = series_example; # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).  
my $events = 56; # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).  
my $orderBy = orderBy_example; # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.  

eval { 
    my $result = $api_instance->characterByStory(apiecoKey => $apiecoKey, apikey => $apikey, storyid => $storyid, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, stories => $stories, series => $series, events => $events, orderBy => $orderBy);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->characterByStory: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
storyid = storyid_example # String | 
nameStartsWith = nameStartsWith_example # String | Return characters with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only characters which have been modified since the specified date.   (optional)
stories = true # Boolean | Return only characters which appear the specified stories (accepts a comma-separated list of ids).     (optional)
series = series_example # String | Return only characters which appear the specified series (accepts a comma-separated list of ids).   (optional)
events = 56 # Integer | Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).   (optional)
orderBy = orderBy_example # String | Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.   (optional)

try: 
    # Character By Story
    api_response = api_instance.character_by_story(apiecoKey, apikey, storyid, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, stories=stories, series=series, events=events, orderBy=orderBy)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->characterByStory: %s\n" % e)

Parameters

Path parameters
Name Description
storyid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
nameStartsWith
String
Return characters with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only characters which have been modified since the specified date.
stories
Boolean
Return only characters which appear the specified stories (accepts a comma-separated list of ids).
series
String
Return only characters which appear the specified series (accepts a comma-separated list of ids).
events
Integer
Return only characters which appear comics that took place in the specified events (accepts a comma-separated list of ids).
orderBy
String
Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.

Responses

Status: 200 - Successful


comicByStory

Comic By Story

Fetches lists of comics in which a specific story appears, with optional filters.


/stories/{storyid}/comics

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories/{storyid}/comics?apikey=&format=&formatType=&noVariants=&dateDescriptor=&dateRange=&title="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicByStory(apiecoKey, apikey, storyid, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#comicByStory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
        String formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
        Boolean noVariants = true; // Boolean | Exclude variant comics from the result set.    
        String dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
        Integer dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
        String title = title_example; // String | Return only issues in series whose title matches the input.  
        try {
            inline_response_200_1 result = apiInstance.comicByStory(apiecoKey, apikey, storyid, format, formatType, noVariants, dateDescriptor, dateRange, title);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#comicByStory");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *storyid = storyid_example; // 
String *format = format_example; // Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
String *formatType = formatType_example; // Filter by the issue format type (comic or collection).     (optional)
Boolean *noVariants = true; // Exclude variant comics from the result set.     (optional)
String *dateDescriptor = dateDescriptor_example; // Return comics within a predefined date range.     (optional)
Integer *dateRange = 56; // Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
String *title = title_example; // Return only issues in series whose title matches the input.   (optional)

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// Comic By Story
[apiInstance comicByStoryWith:apiecoKey
    apikey:apikey
    storyid:storyid
    format:format
    formatType:formatType
    noVariants:noVariants
    dateDescriptor:dateDescriptor
    dateRange:dateRange
    title:title
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var storyid = storyid_example; // {String} 

var opts = { 
  'format': format_example, // {String} Filter by the issue format (e.g. comic, digital comic, hardcover).    
  'formatType': formatType_example, // {String} Filter by the issue format type (comic or collection).    
  'noVariants': true, // {Boolean} Exclude variant comics from the result set.    
  'dateDescriptor': dateDescriptor_example, // {String} Return comics within a predefined date range.    
  'dateRange': 56, // {Integer} Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
  'title': title_example // {String} Return only issues in series whose title matches the input.  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.comicByStory(apiecoKey, apikey, storyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class comicByStoryExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var storyid = storyid_example;  // String | 
            var format = format_example;  // String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional) 
            var formatType = formatType_example;  // String | Filter by the issue format type (comic or collection).     (optional) 
            var noVariants = true;  // Boolean | Exclude variant comics from the result set.     (optional) 
            var dateDescriptor = dateDescriptor_example;  // String | Return comics within a predefined date range.     (optional) 
            var dateRange = 56;  // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional) 
            var title = title_example;  // String | Return only issues in series whose title matches the input.   (optional) 

            try
            {
                // Comic By Story
                inline_response_200_1 result = apiInstance.comicByStory(apiecoKey, apikey, storyid, format, formatType, noVariants, dateDescriptor, dateRange, title);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.comicByStory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$storyid = storyid_example; // String | 
$format = format_example; // String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
$formatType = formatType_example; // String | Filter by the issue format type (comic or collection).    
$noVariants = true; // Boolean | Exclude variant comics from the result set.    
$dateDescriptor = dateDescriptor_example; // String | Return comics within a predefined date range.    
$dateRange = 56; // Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
$title = title_example; // String | Return only issues in series whose title matches the input.  

try {
    $result = $api_instance->comicByStory($apiecoKey, $apikey, $storyid, $format, $formatType, $noVariants, $dateDescriptor, $dateRange, $title);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->comicByStory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $storyid = storyid_example; # String | 
my $format = format_example; # String | Filter by the issue format (e.g. comic, digital comic, hardcover).    
my $formatType = formatType_example; # String | Filter by the issue format type (comic or collection).    
my $noVariants = true; # Boolean | Exclude variant comics from the result set.    
my $dateDescriptor = dateDescriptor_example; # String | Return comics within a predefined date range.    
my $dateRange = 56; # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.  
my $title = title_example; # String | Return only issues in series whose title matches the input.  

eval { 
    my $result = $api_instance->comicByStory(apiecoKey => $apiecoKey, apikey => $apikey, storyid => $storyid, format => $format, formatType => $formatType, noVariants => $noVariants, dateDescriptor => $dateDescriptor, dateRange => $dateRange, title => $title);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->comicByStory: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
storyid = storyid_example # String | 
format = format_example # String | Filter by the issue format (e.g. comic, digital comic, hardcover).     (optional)
formatType = formatType_example # String | Filter by the issue format type (comic or collection).     (optional)
noVariants = true # Boolean | Exclude variant comics from the result set.     (optional)
dateDescriptor = dateDescriptor_example # String | Return comics within a predefined date range.     (optional)
dateRange = 56 # Integer | Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.   (optional)
title = title_example # String | Return only issues in series whose title matches the input.   (optional)

try: 
    # Comic By Story
    api_response = api_instance.comic_by_story(apiecoKey, apikey, storyid, format=format, formatType=formatType, noVariants=noVariants, dateDescriptor=dateDescriptor, dateRange=dateRange, title=title)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->comicByStory: %s\n" % e)

Parameters

Path parameters
Name Description
storyid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
format
String
Filter by the issue format (e.g. comic, digital comic, hardcover).
formatType
String
Filter by the issue format type (comic or collection).
noVariants
Boolean
Exclude variant comics from the result set.
dateDescriptor
String
Return comics within a predefined date range.
dateRange
Integer
Return comics within a predefined date range. Dates must be specified as date1,date2 (e.g. 2013-01-01,2013-01-02). Dates are preferably formatted as YYYY-MM-DD but may be sent as any common date format.
title
String
Return only issues in series whose title matches the input.

Responses

Status: 200 - Successful


creatorByStory

Creator By Story

Fetches lists of comic creators whose work appears in a specific story, with optional filters.


/stories/{storyid}/creators

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories/{storyid}/creators?apikey=&firstName=&lastName=&suffix=&nameStartsWith=&firstNameStartsWith=&middleNameStartsWith="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorByStory(apiecoKey, apikey, storyid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#creatorByStory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
        String lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
        String suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
        String nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
        Integer firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
        String middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  
        try {
            inline_response_200_5 result = apiInstance.creatorByStory(apiecoKey, apikey, storyid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#creatorByStory");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *storyid = storyid_example; // 
String *firstName = firstName_example; // Filter by creator middle name (e.g. Michael).   (optional)
String *lastName = lastName_example; // Filter by creator last name (e.g. Bendis).   (optional)
String *suffix = suffix_example; // Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
String *nameStartsWith = nameStartsWith_example; // Filter by creator names that match critera (e.g. B, St L).   (optional)
Integer *firstNameStartsWith = 56; // Filter by creator first names that match critera (e.g. B, St L).   (optional)
String *middleNameStartsWith = middleNameStartsWith_example; // Filter by creator middle names that match critera (e.g. Mi).   (optional)

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// Creator By Story
[apiInstance creatorByStoryWith:apiecoKey
    apikey:apikey
    storyid:storyid
    firstName:firstName
    lastName:lastName
    suffix:suffix
    nameStartsWith:nameStartsWith
    firstNameStartsWith:firstNameStartsWith
    middleNameStartsWith:middleNameStartsWith
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var storyid = storyid_example; // {String} 

var opts = { 
  'firstName': firstName_example, // {String} Filter by creator middle name (e.g. Michael).  
  'lastName': lastName_example, // {String} Filter by creator last name (e.g. Bendis).  
  'suffix': suffix_example, // {String} Filter by suffix or honorific (e.g. Jr., Sr.).  
  'nameStartsWith': nameStartsWith_example, // {String} Filter by creator names that match critera (e.g. B, St L).  
  'firstNameStartsWith': 56, // {Integer} Filter by creator first names that match critera (e.g. B, St L).  
  'middleNameStartsWith': middleNameStartsWith_example // {String} Filter by creator middle names that match critera (e.g. Mi).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.creatorByStory(apiecoKey, apikey, storyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class creatorByStoryExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var storyid = storyid_example;  // String | 
            var firstName = firstName_example;  // String | Filter by creator middle name (e.g. Michael).   (optional) 
            var lastName = lastName_example;  // String | Filter by creator last name (e.g. Bendis).   (optional) 
            var suffix = suffix_example;  // String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Filter by creator names that match critera (e.g. B, St L).   (optional) 
            var firstNameStartsWith = 56;  // Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional) 
            var middleNameStartsWith = middleNameStartsWith_example;  // String | Filter by creator middle names that match critera (e.g. Mi).   (optional) 

            try
            {
                // Creator By Story
                inline_response_200_5 result = apiInstance.creatorByStory(apiecoKey, apikey, storyid, firstName, lastName, suffix, nameStartsWith, firstNameStartsWith, middleNameStartsWith);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.creatorByStory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$storyid = storyid_example; // String | 
$firstName = firstName_example; // String | Filter by creator middle name (e.g. Michael).  
$lastName = lastName_example; // String | Filter by creator last name (e.g. Bendis).  
$suffix = suffix_example; // String | Filter by suffix or honorific (e.g. Jr., Sr.).  
$nameStartsWith = nameStartsWith_example; // String | Filter by creator names that match critera (e.g. B, St L).  
$firstNameStartsWith = 56; // Integer | Filter by creator first names that match critera (e.g. B, St L).  
$middleNameStartsWith = middleNameStartsWith_example; // String | Filter by creator middle names that match critera (e.g. Mi).  

try {
    $result = $api_instance->creatorByStory($apiecoKey, $apikey, $storyid, $firstName, $lastName, $suffix, $nameStartsWith, $firstNameStartsWith, $middleNameStartsWith);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->creatorByStory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $storyid = storyid_example; # String | 
my $firstName = firstName_example; # String | Filter by creator middle name (e.g. Michael).  
my $lastName = lastName_example; # String | Filter by creator last name (e.g. Bendis).  
my $suffix = suffix_example; # String | Filter by suffix or honorific (e.g. Jr., Sr.).  
my $nameStartsWith = nameStartsWith_example; # String | Filter by creator names that match critera (e.g. B, St L).  
my $firstNameStartsWith = 56; # Integer | Filter by creator first names that match critera (e.g. B, St L).  
my $middleNameStartsWith = middleNameStartsWith_example; # String | Filter by creator middle names that match critera (e.g. Mi).  

eval { 
    my $result = $api_instance->creatorByStory(apiecoKey => $apiecoKey, apikey => $apikey, storyid => $storyid, firstName => $firstName, lastName => $lastName, suffix => $suffix, nameStartsWith => $nameStartsWith, firstNameStartsWith => $firstNameStartsWith, middleNameStartsWith => $middleNameStartsWith);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->creatorByStory: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
storyid = storyid_example # String | 
firstName = firstName_example # String | Filter by creator middle name (e.g. Michael).   (optional)
lastName = lastName_example # String | Filter by creator last name (e.g. Bendis).   (optional)
suffix = suffix_example # String | Filter by suffix or honorific (e.g. Jr., Sr.).   (optional)
nameStartsWith = nameStartsWith_example # String | Filter by creator names that match critera (e.g. B, St L).   (optional)
firstNameStartsWith = 56 # Integer | Filter by creator first names that match critera (e.g. B, St L).   (optional)
middleNameStartsWith = middleNameStartsWith_example # String | Filter by creator middle names that match critera (e.g. Mi).   (optional)

try: 
    # Creator By Story
    api_response = api_instance.creator_by_story(apiecoKey, apikey, storyid, firstName=firstName, lastName=lastName, suffix=suffix, nameStartsWith=nameStartsWith, firstNameStartsWith=firstNameStartsWith, middleNameStartsWith=middleNameStartsWith)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->creatorByStory: %s\n" % e)

Parameters

Path parameters
Name Description
storyid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
firstName
String
Filter by creator middle name (e.g. Michael).
lastName
String
Filter by creator last name (e.g. Bendis).
suffix
String
Filter by suffix or honorific (e.g. Jr., Sr.).
nameStartsWith
String
Filter by creator names that match critera (e.g. B, St L).
firstNameStartsWith
Integer
Filter by creator first names that match critera (e.g. B, St L).
middleNameStartsWith
String
Filter by creator middle names that match critera (e.g. Mi).

Responses

Status: 200 - Successful


eventByStory

Event By Story

Fetches lists of events in which a specific story appears, with optional filters.


/stories/{storyid}/events

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories/{storyid}/events?apikey=&name=&nameStartsWith=&modifiedSince=&creators=&series=&comics="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.eventByStory(apiecoKey, apikey, storyid, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#eventByStory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String name = name_example; // String | Filter the event list by name.  
        String nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
        String modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
        String creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
        Integer series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
        String comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.eventByStory(apiecoKey, apikey, storyid, name, nameStartsWith, modifiedSince, creators, series, comics);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#eventByStory");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *storyid = storyid_example; // 
String *name = name_example; // Filter the event list by name.   (optional)
String *nameStartsWith = nameStartsWith_example; // Return events with names that begin with the specified string (e.g. Sp).   (optional)
String *modifiedSince = modifiedSince_example; // Return only events which have been modified since the specified date.   (optional)
String *creators = creators_example; // Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
Integer *series = 56; // Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
String *comics = comics_example; // Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// Event By Story
[apiInstance eventByStoryWith:apiecoKey
    apikey:apikey
    storyid:storyid
    name:name
    nameStartsWith:nameStartsWith
    modifiedSince:modifiedSince
    creators:creators
    series:series
    comics:comics
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var storyid = storyid_example; // {String} 

var opts = { 
  'name': name_example, // {String} Filter the event list by name.  
  'nameStartsWith': nameStartsWith_example, // {String} Return events with names that begin with the specified string (e.g. Sp).  
  'modifiedSince': modifiedSince_example, // {String} Return only events which have been modified since the specified date.  
  'creators': creators_example, // {String} Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
  'series': 56, // {Integer} Return only events which are part of the specified series (accepts a comma-separated list of ids).  
  'comics': comics_example // {String} Return only events which take place in the specified comics (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.eventByStory(apiecoKey, apikey, storyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class eventByStoryExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var storyid = storyid_example;  // String | 
            var name = name_example;  // String | Filter the event list by name.   (optional) 
            var nameStartsWith = nameStartsWith_example;  // String | Return events with names that begin with the specified string (e.g. Sp).   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only events which have been modified since the specified date.   (optional) 
            var creators = creators_example;  // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional) 
            var series = 56;  // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional) 
            var comics = comics_example;  // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Event By Story
                inline_response_200_2 result = apiInstance.eventByStory(apiecoKey, apikey, storyid, name, nameStartsWith, modifiedSince, creators, series, comics);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.eventByStory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$storyid = storyid_example; // String | 
$name = name_example; // String | Filter the event list by name.  
$nameStartsWith = nameStartsWith_example; // String | Return events with names that begin with the specified string (e.g. Sp).  
$modifiedSince = modifiedSince_example; // String | Return only events which have been modified since the specified date.  
$creators = creators_example; // String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
$series = 56; // Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
$comics = comics_example; // String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->eventByStory($apiecoKey, $apikey, $storyid, $name, $nameStartsWith, $modifiedSince, $creators, $series, $comics);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->eventByStory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $storyid = storyid_example; # String | 
my $name = name_example; # String | Filter the event list by name.  
my $nameStartsWith = nameStartsWith_example; # String | Return events with names that begin with the specified string (e.g. Sp).  
my $modifiedSince = modifiedSince_example; # String | Return only events which have been modified since the specified date.  
my $creators = creators_example; # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).  
my $series = 56; # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).  
my $comics = comics_example; # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->eventByStory(apiecoKey => $apiecoKey, apikey => $apikey, storyid => $storyid, name => $name, nameStartsWith => $nameStartsWith, modifiedSince => $modifiedSince, creators => $creators, series => $series, comics => $comics);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->eventByStory: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
storyid = storyid_example # String | 
name = name_example # String | Filter the event list by name.   (optional)
nameStartsWith = nameStartsWith_example # String | Return events with names that begin with the specified string (e.g. Sp).   (optional)
modifiedSince = modifiedSince_example # String | Return only events which have been modified since the specified date.   (optional)
creators = creators_example # String | Return only events which feature work by the specified creators (accepts a comma-separated list of ids).   (optional)
series = 56 # Integer | Return only events which are part of the specified series (accepts a comma-separated list of ids).   (optional)
comics = comics_example # String | Return only events which take place in the specified comics (accepts a comma-separated list of ids).   (optional)

try: 
    # Event By Story
    api_response = api_instance.event_by_story(apiecoKey, apikey, storyid, name=name, nameStartsWith=nameStartsWith, modifiedSince=modifiedSince, creators=creators, series=series, comics=comics)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->eventByStory: %s\n" % e)

Parameters

Path parameters
Name Description
storyid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
name
String
Filter the event list by name.
nameStartsWith
String
Return events with names that begin with the specified string (e.g. Sp).
modifiedSince
String
Return only events which have been modified since the specified date.
creators
String
Return only events which feature work by the specified creators (accepts a comma-separated list of ids).
series
Integer
Return only events which are part of the specified series (accepts a comma-separated list of ids).
comics
String
Return only events which take place in the specified comics (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


seriesByStory

Series By Story

Fetches lists of comic series in which the specified story takes place.


/stories/{storyid}/series

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories/{storyid}/series?apikey=&titleStartsWith=&startYear=&modifiedSince=&comics=&stories=&events="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.seriesByStory(apiecoKey, apikey, storyid, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#seriesByStory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        String titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
        String startYear = startYear_example; // String | Return only series matching the specified start year.  
        String modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
        String comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
        Integer stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
        String events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
        try {
            inline_response_200_2 result = apiInstance.seriesByStory(apiecoKey, apikey, storyid, titleStartsWith, startYear, modifiedSince, comics, stories, events);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#seriesByStory");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *storyid = storyid_example; // 
String *titleStartsWith = titleStartsWith_example; // Return series with titles that begin with the specified string (e.g. Sp).   (optional)
String *startYear = startYear_example; // Return only series matching the specified start year.   (optional)
String *modifiedSince = modifiedSince_example; // Return only series which have been modified since the specified date.   (optional)
String *comics = comics_example; // Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
Integer *stories = 56; // Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
String *events = events_example; // Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// Series By Story
[apiInstance seriesByStoryWith:apiecoKey
    apikey:apikey
    storyid:storyid
    titleStartsWith:titleStartsWith
    startYear:startYear
    modifiedSince:modifiedSince
    comics:comics
    stories:stories
    events:events
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var storyid = storyid_example; // {String} 

var opts = { 
  'titleStartsWith': titleStartsWith_example, // {String} Return series with titles that begin with the specified string (e.g. Sp).  
  'startYear': startYear_example, // {String} Return only series matching the specified start year.  
  'modifiedSince': modifiedSince_example, // {String} Return only series which have been modified since the specified date.  
  'comics': comics_example, // {String} Return only series which contain the specified comics (accepts a comma-separated list of ids).  
  'stories': 56, // {Integer} Return only series which contain the specified stories (accepts a comma-separated list of ids).  
  'events': events_example // {String} Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.seriesByStory(apiecoKey, apikey, storyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class seriesByStoryExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var storyid = storyid_example;  // String | 
            var titleStartsWith = titleStartsWith_example;  // String | Return series with titles that begin with the specified string (e.g. Sp).   (optional) 
            var startYear = startYear_example;  // String | Return only series matching the specified start year.   (optional) 
            var modifiedSince = modifiedSince_example;  // String | Return only series which have been modified since the specified date.   (optional) 
            var comics = comics_example;  // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional) 
            var stories = 56;  // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional) 
            var events = events_example;  // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional) 

            try
            {
                // Series By Story
                inline_response_200_2 result = apiInstance.seriesByStory(apiecoKey, apikey, storyid, titleStartsWith, startYear, modifiedSince, comics, stories, events);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.seriesByStory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$storyid = storyid_example; // String | 
$titleStartsWith = titleStartsWith_example; // String | Return series with titles that begin with the specified string (e.g. Sp).  
$startYear = startYear_example; // String | Return only series matching the specified start year.  
$modifiedSince = modifiedSince_example; // String | Return only series which have been modified since the specified date.  
$comics = comics_example; // String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
$stories = 56; // Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
$events = events_example; // String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

try {
    $result = $api_instance->seriesByStory($apiecoKey, $apikey, $storyid, $titleStartsWith, $startYear, $modifiedSince, $comics, $stories, $events);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->seriesByStory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $storyid = storyid_example; # String | 
my $titleStartsWith = titleStartsWith_example; # String | Return series with titles that begin with the specified string (e.g. Sp).  
my $startYear = startYear_example; # String | Return only series matching the specified start year.  
my $modifiedSince = modifiedSince_example; # String | Return only series which have been modified since the specified date.  
my $comics = comics_example; # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).  
my $stories = 56; # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).  
my $events = events_example; # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).  

eval { 
    my $result = $api_instance->seriesByStory(apiecoKey => $apiecoKey, apikey => $apikey, storyid => $storyid, titleStartsWith => $titleStartsWith, startYear => $startYear, modifiedSince => $modifiedSince, comics => $comics, stories => $stories, events => $events);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->seriesByStory: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
storyid = storyid_example # String | 
titleStartsWith = titleStartsWith_example # String | Return series with titles that begin with the specified string (e.g. Sp).   (optional)
startYear = startYear_example # String | Return only series matching the specified start year.   (optional)
modifiedSince = modifiedSince_example # String | Return only series which have been modified since the specified date.   (optional)
comics = comics_example # String | Return only series which contain the specified comics (accepts a comma-separated list of ids).   (optional)
stories = 56 # Integer | Return only series which contain the specified stories (accepts a comma-separated list of ids).   (optional)
events = events_example # String | Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).   (optional)

try: 
    # Series By Story
    api_response = api_instance.series_by_story(apiecoKey, apikey, storyid, titleStartsWith=titleStartsWith, startYear=startYear, modifiedSince=modifiedSince, comics=comics, stories=stories, events=events)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->seriesByStory: %s\n" % e)

Parameters

Path parameters
Name Description
storyid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required
titleStartsWith
String
Return series with titles that begin with the specified string (e.g. Sp).
startYear
String
Return only series matching the specified start year.
modifiedSince
String
Return only series which have been modified since the specified date.
comics
String
Return only series which contain the specified comics (accepts a comma-separated list of ids).
stories
Integer
Return only series which contain the specified stories (accepts a comma-separated list of ids).
events
String
Return only series which have comics that take place during the specified events (accepts a comma-separated list of ids).

Responses

Status: 200 - Successful


singleStory

Single Story

This method fetches a single comic story resource. It is the canonical URI for any comic story resource provided by the API.


/stories/{storyid}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/marvel/v1/public/stories/{storyid}?apikey="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StoriesApi;

import java.io.File;
import java.util.*;

public class StoriesApiExample {

    public static void main(String[] args) {
        
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        try {
            inline_response_200_2 result = apiInstance.singleStory(apiecoKey, apikey, storyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#singleStory");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StoriesApi;

public class StoriesApiExample {

    public static void main(String[] args) {
        StoriesApi apiInstance = new StoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apikey = apikey_example; // String | Don't Change The Value
        String storyid = storyid_example; // String | 
        try {
            inline_response_200_2 result = apiInstance.singleStory(apiecoKey, apikey, storyid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StoriesApi#singleStory");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apikey = apikey_example; // Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
String *storyid = storyid_example; // 

StoriesApi *apiInstance = [[StoriesApi alloc] init];

// Single Story
[apiInstance singleStoryWith:apiecoKey
    apikey:apikey
    storyid:storyid
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MarvelApi = require('marvel_api');

var api = new MarvelApi.StoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var apikey = apikey_example; // {String} Don't Change The Value

var storyid = storyid_example; // {String} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.singleStory(apiecoKey, apikey, storyid, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class singleStoryExample
    {
        public void main()
        {
            
            var apiInstance = new StoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apikey = apikey_example;  // String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
            var storyid = storyid_example;  // String | 

            try
            {
                // Single Story
                inline_response_200_2 result = apiInstance.singleStory(apiecoKey, apikey, storyid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StoriesApi.singleStory: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$apikey = apikey_example; // String | Don't Change The Value
$storyid = storyid_example; // String | 

try {
    $result = $api_instance->singleStory($apiecoKey, $apikey, $storyid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StoriesApi->singleStory: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StoriesApi;

my $api_instance = WWW::SwaggerClient::StoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apikey = apikey_example; # String | Don't Change The Value
my $storyid = storyid_example; # String | 

eval { 
    my $result = $api_instance->singleStory(apiecoKey => $apiecoKey, apikey => $apikey, storyid => $storyid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StoriesApi->singleStory: $@\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.StoriesApi()
apiecoKey = apiecoKey_example # String | 
apikey = apikey_example # String | Don't Change The Value (default to 7e99dc46d124870a7ddb21c031e462a069f5177d)
storyid = storyid_example # String | 

try: 
    # Single Story
    api_response = api_instance.single_story(apiecoKey, apikey, storyid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StoriesApi->singleStory: %s\n" % e)

Parameters

Path parameters
Name Description
storyid*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
apikey*
String
Don't Change The Value
Required

Responses

Status: 200 - Successful