stegorknot API Documentation

Scan4Embed

scan4Embed

Checks for embedded/appended data, hidden inside of an image & returns a JSON response with the info


/api/embed

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/stegorknot/api/embed"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.Scan4EmbedApi;

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

public class Scan4EmbedApiExample {

    public static void main(String[] args) {
        
        Scan4EmbedApi apiInstance = new Scan4EmbedApi();
        String apiecoKey = apiecoKey_example; // String | 
        File file = /path/to/file.txt; // File | file
        try {
            inline_response_200_1 result = apiInstance.scan4Embed(apiecoKey, file);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling Scan4EmbedApi#scan4Embed");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.Scan4EmbedApi;

public class Scan4EmbedApiExample {

    public static void main(String[] args) {
        Scan4EmbedApi apiInstance = new Scan4EmbedApi();
        String apiecoKey = apiecoKey_example; // String | 
        File file = /path/to/file.txt; // File | file
        try {
            inline_response_200_1 result = apiInstance.scan4Embed(apiecoKey, file);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling Scan4EmbedApi#scan4Embed");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
File *file = /path/to/file.txt; // file

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

[apiInstance scan4EmbedWith:apiecoKey
    file:file
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StegorknotApiDocumentation = require('stegorknot_api_documentation');

var api = new StegorknotApiDocumentation.Scan4EmbedApi()

var apiecoKey = apiecoKey_example; // {String} 

var file = /path/to/file.txt; // {File} file


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

namespace Example
{
    public class scan4EmbedExample
    {
        public void main()
        {
            
            var apiInstance = new Scan4EmbedApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var file = new File(); // File | file

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

$api_instance = new Swagger\Client\Api\Scan4EmbedApi();
$apiecoKey = apiecoKey_example; // String | 
$file = /path/to/file.txt; // File | file

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

my $api_instance = WWW::SwaggerClient::Scan4EmbedApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $file = /path/to/file.txt; # File | file

eval { 
    my $result = $api_instance->scan4Embed(apiecoKey => $apiecoKey, file => $file);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling Scan4EmbedApi->scan4Embed: $@\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.Scan4EmbedApi()
apiecoKey = apiecoKey_example # String | 
file = /path/to/file.txt # File | file

try: 
    api_response = api_instance.scan4_embed(apiecoKey, file)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling Scan4EmbedApi->scan4Embed: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Form parameters
Name Description
file*
File
file
Required

Responses

Status: 200 - successful


Scan4PixelKnot

scan4PixelKnot

returns a JSON response with a PixelKnot value of YES or NO.


/api/scan

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/stegorknot/api/scan"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.Scan4PixelKnotApi;

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

public class Scan4PixelKnotApiExample {

    public static void main(String[] args) {
        
        Scan4PixelKnotApi apiInstance = new Scan4PixelKnotApi();
        String apiecoKey = apiecoKey_example; // String | 
        File file = /path/to/file.txt; // File | file
        try {
            inline_response_200 result = apiInstance.scan4PixelKnot(apiecoKey, file);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling Scan4PixelKnotApi#scan4PixelKnot");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.Scan4PixelKnotApi;

public class Scan4PixelKnotApiExample {

    public static void main(String[] args) {
        Scan4PixelKnotApi apiInstance = new Scan4PixelKnotApi();
        String apiecoKey = apiecoKey_example; // String | 
        File file = /path/to/file.txt; // File | file
        try {
            inline_response_200 result = apiInstance.scan4PixelKnot(apiecoKey, file);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling Scan4PixelKnotApi#scan4PixelKnot");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
File *file = /path/to/file.txt; // file

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

[apiInstance scan4PixelKnotWith:apiecoKey
    file:file
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StegorknotApiDocumentation = require('stegorknot_api_documentation');

var api = new StegorknotApiDocumentation.Scan4PixelKnotApi()

var apiecoKey = apiecoKey_example; // {String} 

var file = /path/to/file.txt; // {File} file


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

namespace Example
{
    public class scan4PixelKnotExample
    {
        public void main()
        {
            
            var apiInstance = new Scan4PixelKnotApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var file = new File(); // File | file

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

$api_instance = new Swagger\Client\Api\Scan4PixelKnotApi();
$apiecoKey = apiecoKey_example; // String | 
$file = /path/to/file.txt; // File | file

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

my $api_instance = WWW::SwaggerClient::Scan4PixelKnotApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $file = /path/to/file.txt; # File | file

eval { 
    my $result = $api_instance->scan4PixelKnot(apiecoKey => $apiecoKey, file => $file);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling Scan4PixelKnotApi->scan4PixelKnot: $@\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.Scan4PixelKnotApi()
apiecoKey = apiecoKey_example # String | 
file = /path/to/file.txt # File | file

try: 
    api_response = api_instance.scan4_pixel_knot(apiecoKey, file)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling Scan4PixelKnotApi->scan4PixelKnot: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Form parameters
Name Description
file*
File
file
Required

Responses

Status: 200 - successful