وب‌سرویس فیلم‌ها (آزمایشی)

Multipart

apiV1MoviesMultiPost


/api/v1/movies/multi

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/moviesapi/api/v1/movies/multi"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MultipartApi;

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

public class MultipartApiExample {

    public static void main(String[] args) {
        
        MultipartApi apiInstance = new MultipartApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_1 result = apiInstance.apiV1MoviesMultiPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MultipartApi#apiV1MoviesMultiPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MultipartApi;

public class MultipartApiExample {

    public static void main(String[] args) {
        MultipartApi apiInstance = new MultipartApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body_1 body = ; // Body_1 | 
        try {
            inline_response_200_1 result = apiInstance.apiV1MoviesMultiPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MultipartApi#apiV1MoviesMultiPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body_1 *body = ; //  (optional)

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

[apiInstance apiV1MoviesMultiPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _.MultipartApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body_1} 
};

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

namespace Example
{
    public class apiV1MoviesMultiPostExample
    {
        public void main()
        {
            
            var apiInstance = new MultipartApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body_1(); // Body_1 |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.apiV1MoviesMultiPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MultipartApi.apiV1MoviesMultiPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MultipartApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body_1 | 

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

my $api_instance = WWW::SwaggerClient::MultipartApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body_1->new(); # Body_1 | 

eval { 
    my $result = $api_instance->apiV1MoviesMultiPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MultipartApi->apiV1MoviesMultiPost: $@\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.MultipartApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body_1 |  (optional)

try: 
    api_response = api_instance.api_v1_movies_multi_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MultipartApi->apiV1MoviesMultiPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response


_

apiV1MoviesGenresGenreIdGet


/api/v1/movies/genres/{genre_id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/moviesapi/api/v1/movies/genres/{genre_id}?page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer genreId = 56; // Integer | شناسه‌ی ژانر
        Integer page = 56; // Integer | شناسه‌ی ژانر
        try {
            inline_response_200 result = apiInstance.apiV1MoviesGenresGenreIdGet(apiecoKey, genreId, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGenresGenreIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer genreId = 56; // Integer | شناسه‌ی ژانر
        Integer page = 56; // Integer | شناسه‌ی ژانر
        try {
            inline_response_200 result = apiInstance.apiV1MoviesGenresGenreIdGet(apiecoKey, genreId, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGenresGenreIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *genreId = 56; // شناسه‌ی ژانر
Integer *page = 56; // شناسه‌ی ژانر (optional)

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

[apiInstance apiV1MoviesGenresGenreIdGetWith:apiecoKey
    genreId:genreId
    page:page
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var genreId = 56; // {Integer} شناسه‌ی ژانر

var opts = { 
  'page': 56 // {Integer} شناسه‌ی ژانر
};

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

namespace Example
{
    public class apiV1MoviesGenresGenreIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var genreId = 56;  // Integer | شناسه‌ی ژانر
            var page = 56;  // Integer | شناسه‌ی ژانر (optional) 

            try
            {
                inline_response_200 result = apiInstance.apiV1MoviesGenresGenreIdGet(apiecoKey, genreId, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MoviesGenresGenreIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$genreId = 56; // Integer | شناسه‌ی ژانر
$page = 56; // Integer | شناسه‌ی ژانر

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $genreId = 56; # Integer | شناسه‌ی ژانر
my $page = 56; # Integer | شناسه‌ی ژانر

eval { 
    my $result = $api_instance->apiV1MoviesGenresGenreIdGet(apiecoKey => $apiecoKey, genreId => $genreId, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1MoviesGenresGenreIdGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
genreId = 56 # Integer | شناسه‌ی ژانر
page = 56 # Integer | شناسه‌ی ژانر (optional)

try: 
    api_response = api_instance.api_v1_movies_genres_genre_id_get(apiecoKey, genreId, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MoviesGenresGenreIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
genre_id*
Integer
شناسه‌ی ژانر
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
page
Integer
شناسه‌ی ژانر

Responses

Status: 200 - 200 response


apiV1MoviesGenresGet


/api/v1/movies/genres

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/moviesapi/api/v1/movies/genres"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        try {
            array[inline_response_200_3] result = apiInstance.apiV1MoviesGenresGet(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGenresGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        try {
            array[inline_response_200_3] result = apiInstance.apiV1MoviesGenresGet(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGenresGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

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

[apiInstance apiV1MoviesGenresGetWith:apiecoKey
              completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API


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

namespace Example
{
    public class apiV1MoviesGenresGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

            try
            {
                array[inline_response_200_3] result = apiInstance.apiV1MoviesGenresGet(apiecoKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MoviesGenresGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API

eval { 
    my $result = $api_instance->apiV1MoviesGenresGet(apiecoKey => $apiecoKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1MoviesGenresGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)

try: 
    api_response = api_instance.api_v1_movies_genres_get(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MoviesGenresGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1MoviesGet


/api/v1/movies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/moviesapi/api/v1/movies?page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer page = 56; // Integer | شماره صفحه‌ی اطلاعات
        try {
            inline_response_200 result = apiInstance.apiV1MoviesGet(apiecoKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer page = 56; // Integer | شماره صفحه‌ی اطلاعات
        try {
            inline_response_200 result = apiInstance.apiV1MoviesGet(apiecoKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *page = 56; // شماره صفحه‌ی اطلاعات (optional)

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

[apiInstance apiV1MoviesGetWith:apiecoKey
    page:page
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'page': 56 // {Integer} شماره صفحه‌ی اطلاعات
};

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

namespace Example
{
    public class apiV1MoviesGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var page = 56;  // Integer | شماره صفحه‌ی اطلاعات (optional) 

            try
            {
                inline_response_200 result = apiInstance.apiV1MoviesGet(apiecoKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MoviesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$page = 56; // Integer | شماره صفحه‌ی اطلاعات

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $page = 56; # Integer | شماره صفحه‌ی اطلاعات

eval { 
    my $result = $api_instance->apiV1MoviesGet(apiecoKey => $apiecoKey, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1MoviesGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
page = 56 # Integer | شماره صفحه‌ی اطلاعات (optional)

try: 
    api_response = api_instance.api_v1_movies_get(apiecoKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MoviesGet: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
page
Integer
شماره صفحه‌ی اطلاعات

Responses

Status: 200 - 200 response


apiV1MoviesGet_1


/api/v1/movies/

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/moviesapi/api/v1/movies/?q=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String q = q_example; // String | نام فیلم
        Integer page = 56; // Integer | شماره صفحه‌ی اطلاعات
        try {
            inline_response_200 result = apiInstance.apiV1MoviesGet_0(apiecoKey, q, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGet_0");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String q = q_example; // String | نام فیلم
        Integer page = 56; // Integer | شماره صفحه‌ی اطلاعات
        try {
            inline_response_200 result = apiInstance.apiV1MoviesGet_0(apiecoKey, q, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesGet_0");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *q = q_example; // نام فیلم
Integer *page = 56; // شماره صفحه‌ی اطلاعات (optional)

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

[apiInstance apiV1MoviesGet_1With:apiecoKey
    q:q
    page:page
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var q = q_example; // {String} نام فیلم

var opts = { 
  'page': 56 // {Integer} شماره صفحه‌ی اطلاعات
};

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

namespace Example
{
    public class apiV1MoviesGet_0Example
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var q = q_example;  // String | نام فیلم
            var page = 56;  // Integer | شماره صفحه‌ی اطلاعات (optional) 

            try
            {
                inline_response_200 result = apiInstance.apiV1MoviesGet_0(apiecoKey, q, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MoviesGet_0: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$q = q_example; // String | نام فیلم
$page = 56; // Integer | شماره صفحه‌ی اطلاعات

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $q = q_example; # String | نام فیلم
my $page = 56; # Integer | شماره صفحه‌ی اطلاعات

eval { 
    my $result = $api_instance->apiV1MoviesGet_0(apiecoKey => $apiecoKey, q => $q, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1MoviesGet_0: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
q = q_example # String | نام فیلم
page = 56 # Integer | شماره صفحه‌ی اطلاعات (optional)

try: 
    api_response = api_instance.api_v1_movies_get_0(apiecoKey, q, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MoviesGet_0: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Query parameters
Name Description
q*
String
نام فیلم
Required
page
Integer
شماره صفحه‌ی اطلاعات

Responses

Status: 200 - 200 response


apiV1MoviesMovieIdGet


/api/v1/movies/{movie_id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/moviesapi/api/v1/movies/{movie_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer movieId = 56; // Integer | شماره صفحه‌ی اطلاعات
        try {
            inline_response_200_2 result = apiInstance.apiV1MoviesMovieIdGet(apiecoKey, movieId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesMovieIdGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer movieId = 56; // Integer | شماره صفحه‌ی اطلاعات
        try {
            inline_response_200_2 result = apiInstance.apiV1MoviesMovieIdGet(apiecoKey, movieId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesMovieIdGet");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Integer *movieId = 56; // شماره صفحه‌ی اطلاعات

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

[apiInstance apiV1MoviesMovieIdGetWith:apiecoKey
    movieId:movieId
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var movieId = 56; // {Integer} شماره صفحه‌ی اطلاعات


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

namespace Example
{
    public class apiV1MoviesMovieIdGetExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var movieId = 56;  // Integer | شماره صفحه‌ی اطلاعات

            try
            {
                inline_response_200_2 result = apiInstance.apiV1MoviesMovieIdGet(apiecoKey, movieId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MoviesMovieIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$movieId = 56; // Integer | شماره صفحه‌ی اطلاعات

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $movieId = 56; # Integer | شماره صفحه‌ی اطلاعات

eval { 
    my $result = $api_instance->apiV1MoviesMovieIdGet(apiecoKey => $apiecoKey, movieId => $movieId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1MoviesMovieIdGet: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
movieId = 56 # Integer | شماره صفحه‌ی اطلاعات

try: 
    api_response = api_instance.api_v1_movies_movie_id_get(apiecoKey, movieId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MoviesMovieIdGet: %s\n" % e)

Parameters

Path parameters
Name Description
movie_id*
Integer
شماره صفحه‌ی اطلاعات
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - 200 response


apiV1MoviesPost


/api/v1/movies/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/moviesapi/api/v1/movies/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

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

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200_1 result = apiInstance.apiV1MoviesPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Body body = ; // Body | 
        try {
            inline_response_200_1 result = apiInstance.apiV1MoviesPost(apiecoKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiV1MoviesPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Body *body = ; //  (optional)

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

[apiInstance apiV1MoviesPostWith:apiecoKey
    body:body
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var _ = require('___');

var api = new _._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'body':  // {Body} 
};

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

namespace Example
{
    public class apiV1MoviesPostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var body = new Body(); // Body |  (optional) 

            try
            {
                inline_response_200_1 result = apiInstance.apiV1MoviesPost(apiecoKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiV1MoviesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$body = ; // Body | 

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

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | 

eval { 
    my $result = $api_instance->apiV1MoviesPost(apiecoKey => $apiecoKey, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiV1MoviesPost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
body =  # Body |  (optional)

try: 
    api_response = api_instance.api_v1_movies_post(apiecoKey, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiV1MoviesPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
body

Responses

Status: 200 - 200 response