Libraries.io

Platforms

platforms

Get a list of supported package managers.


/api/platforms

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/platforms?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlatformsApi;

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

public class PlatformsApiExample {

    public static void main(String[] args) {
        
        PlatformsApi apiInstance = new PlatformsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200] result = apiInstance.platforms(apiecoKey, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlatformsApi#platforms");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlatformsApi;

public class PlatformsApiExample {

    public static void main(String[] args) {
        PlatformsApi apiInstance = new PlatformsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200] result = apiInstance.platforms(apiecoKey, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlatformsApi#platforms");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of supported package managers.
[apiInstance platformsWith:apiecoKey
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.PlatformsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class platformsExample
    {
        public void main()
        {
            
            var apiInstance = new PlatformsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of supported package managers.
                array[inline_response_200] result = apiInstance.platforms(apiecoKey, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlatformsApi.platforms: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlatformsApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::PlatformsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->platforms(apiecoKey => $apiecoKey, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlatformsApi->platforms: $@\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.PlatformsApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of supported package managers.
    api_response = api_instance.platforms(apiecoKey, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlatformsApi->platforms: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


Project

project

Get information about a package and its versions.


/api/{platform}/{name}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectApi;

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

public class ProjectApiExample {

    public static void main(String[] args) {
        
        ProjectApi apiInstance = new ProjectApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.project(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#project");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectApi;

public class ProjectApiExample {

    public static void main(String[] args) {
        ProjectApi apiInstance = new ProjectApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.project(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectApi#project");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get information about a package and its versions.
[apiInstance projectWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class projectExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get information about a package and its versions.
                array[inline_response_200_1] result = apiInstance.project(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectApi.project: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::ProjectApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->project(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectApi->project: $@\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.ProjectApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get information about a package and its versions.
    api_response = api_instance.project(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectApi->project: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


ProjectContributors

projectContributors

Get users that have contributed to a given project.


/api/{platform}/{name}/contributors

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}/contributors?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectContributorsApi;

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

public class ProjectContributorsApiExample {

    public static void main(String[] args) {
        
        ProjectContributorsApi apiInstance = new ProjectContributorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_4] result = apiInstance.projectContributors(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectContributorsApi#projectContributors");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectContributorsApi;

public class ProjectContributorsApiExample {

    public static void main(String[] args) {
        ProjectContributorsApi apiInstance = new ProjectContributorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_4] result = apiInstance.projectContributors(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectContributorsApi#projectContributors");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get users that have contributed to a given project.
[apiInstance projectContributorsWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_4] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectContributorsApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class projectContributorsExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectContributorsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get users that have contributed to a given project.
                array[inline_response_200_4] result = apiInstance.projectContributors(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectContributorsApi.projectContributors: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectContributorsApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::ProjectContributorsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->projectContributors(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectContributorsApi->projectContributors: $@\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.ProjectContributorsApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get users that have contributed to a given project.
    api_response = api_instance.project_contributors(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectContributorsApi->projectContributors: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


ProjectDependencies

projectDependencies

Get a list of dependencies for a version of a project, pass latest to get dependency info for the latest available version


/api/{platform}/{name}/{version}/dependencies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}/{version}/dependencies?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectDependenciesApi;

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

public class ProjectDependenciesApiExample {

    public static void main(String[] args) {
        
        ProjectDependenciesApi apiInstance = new ProjectDependenciesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String version = version_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_2] result = apiInstance.projectDependencies(apiecoKey, platform, name, version, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectDependenciesApi#projectDependencies");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectDependenciesApi;

public class ProjectDependenciesApiExample {

    public static void main(String[] args) {
        ProjectDependenciesApi apiInstance = new ProjectDependenciesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String version = version_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_2] result = apiInstance.projectDependencies(apiecoKey, platform, name, version, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectDependenciesApi#projectDependencies");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *version = version_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of dependencies for a version of a project, pass latest to get dependency info for the latest available version
[apiInstance projectDependenciesWith:apiecoKey
    platform:platform
    name:name
    version:version
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_2] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectDependenciesApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var version = version_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class projectDependenciesExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectDependenciesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var version = version_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of dependencies for a version of a project, pass latest to get dependency info for the latest available version
                array[inline_response_200_2] result = apiInstance.projectDependencies(apiecoKey, platform, name, version, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectDependenciesApi.projectDependencies: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectDependenciesApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$version = version_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

try {
    $result = $api_instance->projectDependencies($apiecoKey, $platform, $name, $version, $apiKey, $page, $perPage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectDependenciesApi->projectDependencies: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectDependenciesApi;

my $api_instance = WWW::SwaggerClient::ProjectDependenciesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $version = version_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->projectDependencies(apiecoKey => $apiecoKey, platform => $platform, name => $name, version => $version, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectDependenciesApi->projectDependencies: $@\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.ProjectDependenciesApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
version = version_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of dependencies for a version of a project, pass latest to get dependency info for the latest available version
    api_response = api_instance.project_dependencies(apiecoKey, platform, name, version, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectDependenciesApi->projectDependencies: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
version*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


ProjectDependentRepositories

projectDependentsRepo

Get repositories that depend on a given project.


/api/{platform}/{name}/dependent_repositories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}/dependent_repositories?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectDependentRepositoriesApi;

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

public class ProjectDependentRepositoriesApiExample {

    public static void main(String[] args) {
        
        ProjectDependentRepositoriesApi apiInstance = new ProjectDependentRepositoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.projectDependentsRepo(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectDependentRepositoriesApi#projectDependentsRepo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectDependentRepositoriesApi;

public class ProjectDependentRepositoriesApiExample {

    public static void main(String[] args) {
        ProjectDependentRepositoriesApi apiInstance = new ProjectDependentRepositoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.projectDependentsRepo(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectDependentRepositoriesApi#projectDependentsRepo");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get repositories that depend on a given project.
[apiInstance projectDependentsRepoWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectDependentRepositoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class projectDependentsRepoExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectDependentRepositoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get repositories that depend on a given project.
                array[inline_response_200_3] result = apiInstance.projectDependentsRepo(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectDependentRepositoriesApi.projectDependentsRepo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectDependentRepositoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::ProjectDependentRepositoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->projectDependentsRepo(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectDependentRepositoriesApi->projectDependentsRepo: $@\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.ProjectDependentRepositoriesApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get repositories that depend on a given project.
    api_response = api_instance.project_dependents_repo(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectDependentRepositoriesApi->projectDependentsRepo: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


ProjectDependents

projectDependents

Get packages that have at least one version that depends on a given project.


/api/{platform}/{name}/dependents

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}/dependents?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectDependentsApi;

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

public class ProjectDependentsApiExample {

    public static void main(String[] args) {
        
        ProjectDependentsApi apiInstance = new ProjectDependentsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.projectDependents(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectDependentsApi#projectDependents");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectDependentsApi;

public class ProjectDependentsApiExample {

    public static void main(String[] args) {
        ProjectDependentsApi apiInstance = new ProjectDependentsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.projectDependents(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectDependentsApi#projectDependents");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get packages that have at least one version that depends on a given project.
[apiInstance projectDependentsWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectDependentsApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class projectDependentsExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectDependentsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get packages that have at least one version that depends on a given project.
                array[inline_response_200_1] result = apiInstance.projectDependents(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectDependentsApi.projectDependents: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectDependentsApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::ProjectDependentsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->projectDependents(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectDependentsApi->projectDependents: $@\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.ProjectDependentsApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get packages that have at least one version that depends on a given project.
    api_response = api_instance.project_dependents(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectDependentsApi->projectDependents: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


ProjectSourceRank

projectSourceRank

Get breakdown of SourceRank score for a given project.


/api/{platform}/{name}/sourcerank

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}/sourcerank?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSourceRankApi;

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

public class ProjectSourceRankApiExample {

    public static void main(String[] args) {
        
        ProjectSourceRankApi apiInstance = new ProjectSourceRankApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            BigDecimal result = apiInstance.projectSourceRank(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSourceRankApi#projectSourceRank");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSourceRankApi;

public class ProjectSourceRankApiExample {

    public static void main(String[] args) {
        ProjectSourceRankApi apiInstance = new ProjectSourceRankApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            BigDecimal result = apiInstance.projectSourceRank(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSourceRankApi#projectSourceRank");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get breakdown of SourceRank score for a given project.
[apiInstance projectSourceRankWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(BigDecimal output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectSourceRankApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class projectSourceRankExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectSourceRankApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get breakdown of SourceRank score for a given project.
                BigDecimal result = apiInstance.projectSourceRank(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSourceRankApi.projectSourceRank: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectSourceRankApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::ProjectSourceRankApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->projectSourceRank(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSourceRankApi->projectSourceRank: $@\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.ProjectSourceRankApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get breakdown of SourceRank score for a given project.
    api_response = api_instance.project_source_rank(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSourceRankApi->projectSourceRank: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


ProjectUsage

project Usage

Get breakdown of version usage for a given project.


/api/{platform}/{name}/usage

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/{platform}/{name}/usage?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectUsageApi;

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

public class ProjectUsageApiExample {

    public static void main(String[] args) {
        
        ProjectUsageApi apiInstance = new ProjectUsageApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_4] result = apiInstance.project Usage(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectUsageApi#project Usage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectUsageApi;

public class ProjectUsageApiExample {

    public static void main(String[] args) {
        ProjectUsageApi apiInstance = new ProjectUsageApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_4] result = apiInstance.project Usage(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectUsageApi#project Usage");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get breakdown of version usage for a given project.
[apiInstance project UsageWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_4] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.ProjectUsageApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class project UsageExample
    {
        public void main()
        {
            
            var apiInstance = new ProjectUsageApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get breakdown of version usage for a given project.
                array[inline_response_200_4] result = apiInstance.project Usage(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectUsageApi.project Usage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ProjectUsageApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

try {
    $result = $api_instance->project Usage($apiecoKey, $platform, $name, $apiKey, $page, $perPage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectUsageApi->project Usage: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectUsageApi;

my $api_instance = WWW::SwaggerClient::ProjectUsageApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->project Usage(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectUsageApi->project Usage: $@\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.ProjectUsageApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get breakdown of version usage for a given project.
    api_response = api_instance.project_usage(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectUsageApi->project Usage: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


Repository

repository

Get info for a repository. Currently only works for open source repositories.


/api/github/{owner}/{name}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{owner}/{name}?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RepositoryApi;

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

public class RepositoryApiExample {

    public static void main(String[] args) {
        
        RepositoryApi apiInstance = new RepositoryApi();
        String apiecoKey = apiecoKey_example; // String | 
        String owner = owner_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.repository(apiecoKey, owner, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RepositoryApi#repository");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RepositoryApi;

public class RepositoryApiExample {

    public static void main(String[] args) {
        RepositoryApi apiInstance = new RepositoryApi();
        String apiecoKey = apiecoKey_example; // String | 
        String owner = owner_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.repository(apiecoKey, owner, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RepositoryApi#repository");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *owner = owner_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get info for a repository. Currently only works for open source repositories.
[apiInstance repositoryWith:apiecoKey
    owner:owner
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.RepositoryApi()

var apiecoKey = apiecoKey_example; // {String} 

var owner = owner_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class repositoryExample
    {
        public void main()
        {
            
            var apiInstance = new RepositoryApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var owner = owner_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get info for a repository. Currently only works for open source repositories.
                array[inline_response_200_3] result = apiInstance.repository(apiecoKey, owner, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RepositoryApi.repository: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RepositoryApi();
$apiecoKey = apiecoKey_example; // String | 
$owner = owner_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::RepositoryApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $owner = owner_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->repository(apiecoKey => $apiecoKey, owner => $owner, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RepositoryApi->repository: $@\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.RepositoryApi()
apiecoKey = apiecoKey_example # String | 
owner = owner_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get info for a repository. Currently only works for open source repositories.
    api_response = api_instance.repository(apiecoKey, owner, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RepositoryApi->repository: %s\n" % e)

Parameters

Path parameters
Name Description
owner*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


RepositoryDependencies

repositoryDependencies

Get a list of dependencies for a repositories. Currently only works for open source repositories.


/api/github/{owner}/{name}/dependencies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{owner}/{name}/dependencies?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RepositoryDependenciesApi;

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

public class RepositoryDependenciesApiExample {

    public static void main(String[] args) {
        
        RepositoryDependenciesApi apiInstance = new RepositoryDependenciesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String owner = owner_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.repositoryDependencies(apiecoKey, owner, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RepositoryDependenciesApi#repositoryDependencies");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RepositoryDependenciesApi;

public class RepositoryDependenciesApiExample {

    public static void main(String[] args) {
        RepositoryDependenciesApi apiInstance = new RepositoryDependenciesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String owner = owner_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.repositoryDependencies(apiecoKey, owner, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RepositoryDependenciesApi#repositoryDependencies");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *owner = owner_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of dependencies for a repositories. Currently only works for open source repositories.
[apiInstance repositoryDependenciesWith:apiecoKey
    owner:owner
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.RepositoryDependenciesApi()

var apiecoKey = apiecoKey_example; // {String} 

var owner = owner_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class repositoryDependenciesExample
    {
        public void main()
        {
            
            var apiInstance = new RepositoryDependenciesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var owner = owner_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of dependencies for a repositories. Currently only works for open source repositories.
                array[inline_response_200_3] result = apiInstance.repositoryDependencies(apiecoKey, owner, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RepositoryDependenciesApi.repositoryDependencies: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RepositoryDependenciesApi();
$apiecoKey = apiecoKey_example; // String | 
$owner = owner_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::RepositoryDependenciesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $owner = owner_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->repositoryDependencies(apiecoKey => $apiecoKey, owner => $owner, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RepositoryDependenciesApi->repositoryDependencies: $@\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.RepositoryDependenciesApi()
apiecoKey = apiecoKey_example # String | 
owner = owner_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of dependencies for a repositories. Currently only works for open source repositories.
    api_response = api_instance.repository_dependencies(apiecoKey, owner, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RepositoryDependenciesApi->repositoryDependencies: %s\n" % e)

Parameters

Path parameters
Name Description
owner*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


RepositoryProjects

repositoryProjects

Get a list of packages referencing the given repository.


/api/github/{owner}/{name}/projects

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{owner}/{name}/projects?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RepositoryProjectsApi;

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

public class RepositoryProjectsApiExample {

    public static void main(String[] args) {
        
        RepositoryProjectsApi apiInstance = new RepositoryProjectsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String owner = owner_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.repositoryProjects(apiecoKey, owner, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RepositoryProjectsApi#repositoryProjects");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RepositoryProjectsApi;

public class RepositoryProjectsApiExample {

    public static void main(String[] args) {
        RepositoryProjectsApi apiInstance = new RepositoryProjectsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String owner = owner_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.repositoryProjects(apiecoKey, owner, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RepositoryProjectsApi#repositoryProjects");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *owner = owner_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of packages referencing the given repository.
[apiInstance repositoryProjectsWith:apiecoKey
    owner:owner
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.RepositoryProjectsApi()

var apiecoKey = apiecoKey_example; // {String} 

var owner = owner_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class repositoryProjectsExample
    {
        public void main()
        {
            
            var apiInstance = new RepositoryProjectsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var owner = owner_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of packages referencing the given repository.
                array[inline_response_200_1] result = apiInstance.repositoryProjects(apiecoKey, owner, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RepositoryProjectsApi.repositoryProjects: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RepositoryProjectsApi();
$apiecoKey = apiecoKey_example; // String | 
$owner = owner_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::RepositoryProjectsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $owner = owner_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->repositoryProjects(apiecoKey => $apiecoKey, owner => $owner, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RepositoryProjectsApi->repositoryProjects: $@\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.RepositoryProjectsApi()
apiecoKey = apiecoKey_example # String | 
owner = owner_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of packages referencing the given repository.
    api_response = api_instance.repository_projects(apiecoKey, owner, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RepositoryProjectsApi->repositoryProjects: %s\n" % e)

Parameters

Path parameters
Name Description
owner*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


SubscribeToAProject

subscribeToProject

Subscribe to receive notifications about new releases of a project.


/api/subscriptions/{platform}/{name}

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/libraries/api/subscriptions/{platform}/{name}?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SubscribeToAProjectApi;

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

public class SubscribeToAProjectApiExample {

    public static void main(String[] args) {
        
        SubscribeToAProjectApi apiInstance = new SubscribeToAProjectApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_6] result = apiInstance.subscribeToProject(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SubscribeToAProjectApi#subscribeToProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SubscribeToAProjectApi;

public class SubscribeToAProjectApiExample {

    public static void main(String[] args) {
        SubscribeToAProjectApi apiInstance = new SubscribeToAProjectApi();
        String apiecoKey = apiecoKey_example; // String | 
        String platform = platform_example; // String | 
        String name = name_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_6] result = apiInstance.subscribeToProject(apiecoKey, platform, name, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SubscribeToAProjectApi#subscribeToProject");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *platform = platform_example; // 
String *name = name_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Subscribe to receive notifications about new releases of a project.
[apiInstance subscribeToProjectWith:apiecoKey
    platform:platform
    name:name
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_6] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.SubscribeToAProjectApi()

var apiecoKey = apiecoKey_example; // {String} 

var platform = platform_example; // {String} 

var name = name_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class subscribeToProjectExample
    {
        public void main()
        {
            
            var apiInstance = new SubscribeToAProjectApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var platform = platform_example;  // String | 
            var name = name_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Subscribe to receive notifications about new releases of a project.
                array[inline_response_200_6] result = apiInstance.subscribeToProject(apiecoKey, platform, name, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SubscribeToAProjectApi.subscribeToProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SubscribeToAProjectApi();
$apiecoKey = apiecoKey_example; // String | 
$platform = platform_example; // String | 
$name = name_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::SubscribeToAProjectApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $platform = platform_example; # String | 
my $name = name_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->subscribeToProject(apiecoKey => $apiecoKey, platform => $platform, name => $name, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SubscribeToAProjectApi->subscribeToProject: $@\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.SubscribeToAProjectApi()
apiecoKey = apiecoKey_example # String | 
platform = platform_example # String | 
name = name_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Subscribe to receive notifications about new releases of a project.
    api_response = api_instance.subscribe_to_project(apiecoKey, platform, name, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SubscribeToAProjectApi->subscribeToProject: %s\n" % e)

Parameters

Path parameters
Name Description
platform*
String
Required
name*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


User

userInfo

Get information for a given user or organization.


/api/github/{login}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{login}?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserApi;

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

public class UserApiExample {

    public static void main(String[] args) {
        
        UserApi apiInstance = new UserApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            inline_response_200_5 result = apiInstance.userInfo(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#userInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserApi;

public class UserApiExample {

    public static void main(String[] args) {
        UserApi apiInstance = new UserApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            inline_response_200_5 result = apiInstance.userInfo(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserApi#userInfo");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *login = login_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get information for a given user or organization.
[apiInstance userInfoWith:apiecoKey
    login:login
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserApi()

var apiecoKey = apiecoKey_example; // {String} 

var login = login_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userInfoExample
    {
        public void main()
        {
            
            var apiInstance = new UserApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var login = login_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get information for a given user or organization.
                inline_response_200_5 result = apiInstance.userInfo(apiecoKey, login, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserApi.userInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserApi();
$apiecoKey = apiecoKey_example; // String | 
$login = login_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $login = login_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userInfo(apiecoKey => $apiecoKey, login => $login, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserApi->userInfo: $@\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.UserApi()
apiecoKey = apiecoKey_example # String | 
login = login_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get information for a given user or organization.
    api_response = api_instance.user_info(apiecoKey, login, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserApi->userInfo: %s\n" % e)

Parameters

Path parameters
Name Description
login*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


UserDependencies

userDependencies

Get a list of unique packages that the given user's repositories list as a dependency. Ordered by frequency of use in those repositories.


/api/github/{login}/dependencies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{login}/dependencies?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserDependenciesApi;

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

public class UserDependenciesApiExample {

    public static void main(String[] args) {
        
        UserDependenciesApi apiInstance = new UserDependenciesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.userDependencies(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDependenciesApi#userDependencies");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserDependenciesApi;

public class UserDependenciesApiExample {

    public static void main(String[] args) {
        UserDependenciesApi apiInstance = new UserDependenciesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.userDependencies(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserDependenciesApi#userDependencies");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *login = login_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of unique packages that the given user's repositories list as a dependency. Ordered by frequency of use in those repositories.
[apiInstance userDependenciesWith:apiecoKey
    login:login
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserDependenciesApi()

var apiecoKey = apiecoKey_example; // {String} 

var login = login_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userDependenciesExample
    {
        public void main()
        {
            
            var apiInstance = new UserDependenciesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var login = login_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of unique packages that the given user's repositories list as a dependency. Ordered by frequency of use in those repositories.
                array[inline_response_200_1] result = apiInstance.userDependencies(apiecoKey, login, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserDependenciesApi.userDependencies: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserDependenciesApi();
$apiecoKey = apiecoKey_example; // String | 
$login = login_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserDependenciesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $login = login_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userDependencies(apiecoKey => $apiecoKey, login => $login, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserDependenciesApi->userDependencies: $@\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.UserDependenciesApi()
apiecoKey = apiecoKey_example # String | 
login = login_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of unique packages that the given user's repositories list as a dependency. Ordered by frequency of use in those repositories.
    api_response = api_instance.user_dependencies(apiecoKey, login, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserDependenciesApi->userDependencies: %s\n" % e)

Parameters

Path parameters
Name Description
login*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


UserPackages

userPackages

Get a list of packages referencing the given user's repositories.


/api/github/{login}/projects

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{login}/projects?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserPackagesApi;

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

public class UserPackagesApiExample {

    public static void main(String[] args) {
        
        UserPackagesApi apiInstance = new UserPackagesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.userPackages(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserPackagesApi#userPackages");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserPackagesApi;

public class UserPackagesApiExample {

    public static void main(String[] args) {
        UserPackagesApi apiInstance = new UserPackagesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.userPackages(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserPackagesApi#userPackages");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *login = login_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of packages referencing the given user's repositories.
[apiInstance userPackagesWith:apiecoKey
    login:login
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserPackagesApi()

var apiecoKey = apiecoKey_example; // {String} 

var login = login_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userPackagesExample
    {
        public void main()
        {
            
            var apiInstance = new UserPackagesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var login = login_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of packages referencing the given user's repositories.
                array[inline_response_200_1] result = apiInstance.userPackages(apiecoKey, login, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserPackagesApi.userPackages: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserPackagesApi();
$apiecoKey = apiecoKey_example; // String | 
$login = login_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserPackagesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $login = login_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userPackages(apiecoKey => $apiecoKey, login => $login, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserPackagesApi->userPackages: $@\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.UserPackagesApi()
apiecoKey = apiecoKey_example # String | 
login = login_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of packages referencing the given user's repositories.
    api_response = api_instance.user_packages(apiecoKey, login, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserPackagesApi->userPackages: %s\n" % e)

Parameters

Path parameters
Name Description
login*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


UserPackagesContributions

userPackagesContributions

Get a list of packages that the given user has contributed to.


/api/github/{login}/project-contributions

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{login}/project-contributions?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserPackagesContributionsApi;

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

public class UserPackagesContributionsApiExample {

    public static void main(String[] args) {
        
        UserPackagesContributionsApi apiInstance = new UserPackagesContributionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.userPackagesContributions(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserPackagesContributionsApi#userPackagesContributions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserPackagesContributionsApi;

public class UserPackagesContributionsApiExample {

    public static void main(String[] args) {
        UserPackagesContributionsApi apiInstance = new UserPackagesContributionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_1] result = apiInstance.userPackagesContributions(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserPackagesContributionsApi#userPackagesContributions");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *login = login_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of packages that the given user has contributed to.
[apiInstance userPackagesContributionsWith:apiecoKey
    login:login
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserPackagesContributionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var login = login_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userPackagesContributionsExample
    {
        public void main()
        {
            
            var apiInstance = new UserPackagesContributionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var login = login_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of packages that the given user has contributed to.
                array[inline_response_200_1] result = apiInstance.userPackagesContributions(apiecoKey, login, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserPackagesContributionsApi.userPackagesContributions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserPackagesContributionsApi();
$apiecoKey = apiecoKey_example; // String | 
$login = login_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserPackagesContributionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $login = login_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userPackagesContributions(apiecoKey => $apiecoKey, login => $login, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserPackagesContributionsApi->userPackagesContributions: $@\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.UserPackagesContributionsApi()
apiecoKey = apiecoKey_example # String | 
login = login_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of packages that the given user has contributed to.
    api_response = api_instance.user_packages_contributions(apiecoKey, login, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserPackagesContributionsApi->userPackagesContributions: %s\n" % e)

Parameters

Path parameters
Name Description
login*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


UserRepositories

userRepositories

Get repositories owned by a user.


/api/github/{login}/repositories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{login}/repositories?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserRepositoriesApi;

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

public class UserRepositoriesApiExample {

    public static void main(String[] args) {
        
        UserRepositoriesApi apiInstance = new UserRepositoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.userRepositories(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRepositoriesApi#userRepositories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserRepositoriesApi;

public class UserRepositoriesApiExample {

    public static void main(String[] args) {
        UserRepositoriesApi apiInstance = new UserRepositoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.userRepositories(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRepositoriesApi#userRepositories");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *login = login_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get repositories owned by a user.
[apiInstance userRepositoriesWith:apiecoKey
    login:login
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserRepositoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var login = login_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userRepositoriesExample
    {
        public void main()
        {
            
            var apiInstance = new UserRepositoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var login = login_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get repositories owned by a user.
                array[inline_response_200_3] result = apiInstance.userRepositories(apiecoKey, login, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserRepositoriesApi.userRepositories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserRepositoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$login = login_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserRepositoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $login = login_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userRepositories(apiecoKey => $apiecoKey, login => $login, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRepositoriesApi->userRepositories: $@\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.UserRepositoriesApi()
apiecoKey = apiecoKey_example # String | 
login = login_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get repositories owned by a user.
    api_response = api_instance.user_repositories(apiecoKey, login, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRepositoriesApi->userRepositories: %s\n" % e)

Parameters

Path parameters
Name Description
login*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


UserRepositoryContributions

userRepositoryContributions

Get a list of repositories that the given user has contributed to.


/api/github/{login}/repository-contributions

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/github/{login}/repository-contributions?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserRepositoryContributionsApi;

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

public class UserRepositoryContributionsApiExample {

    public static void main(String[] args) {
        
        UserRepositoryContributionsApi apiInstance = new UserRepositoryContributionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.userRepositoryContributions(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRepositoryContributionsApi#userRepositoryContributions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserRepositoryContributionsApi;

public class UserRepositoryContributionsApiExample {

    public static void main(String[] args) {
        UserRepositoryContributionsApi apiInstance = new UserRepositoryContributionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String login = login_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_3] result = apiInstance.userRepositoryContributions(apiecoKey, login, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserRepositoryContributionsApi#userRepositoryContributions");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *login = login_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// Get a list of repositories that the given user has contributed to.
[apiInstance userRepositoryContributionsWith:apiecoKey
    login:login
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_3] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserRepositoryContributionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var login = login_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userRepositoryContributionsExample
    {
        public void main()
        {
            
            var apiInstance = new UserRepositoryContributionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var login = login_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // Get a list of repositories that the given user has contributed to.
                array[inline_response_200_3] result = apiInstance.userRepositoryContributions(apiecoKey, login, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserRepositoryContributionsApi.userRepositoryContributions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserRepositoryContributionsApi();
$apiecoKey = apiecoKey_example; // String | 
$login = login_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserRepositoryContributionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $login = login_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userRepositoryContributions(apiecoKey => $apiecoKey, login => $login, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserRepositoryContributionsApi->userRepositoryContributions: $@\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.UserRepositoryContributionsApi()
apiecoKey = apiecoKey_example # String | 
login = login_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # Get a list of repositories that the given user has contributed to.
    api_response = api_instance.user_repository_contributions(apiecoKey, login, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserRepositoryContributionsApi->userRepositoryContributions: %s\n" % e)

Parameters

Path parameters
Name Description
login*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful


UserSubscriptions

userSubscriptions

List packages that a user is subscribed to receive notifications about new releases.


/api/subscriptions

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/libraries/api/subscriptions?api_key=&page=&per_page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserSubscriptionsApi;

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

public class UserSubscriptionsApiExample {

    public static void main(String[] args) {
        
        UserSubscriptionsApi apiInstance = new UserSubscriptionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_6] result = apiInstance.userSubscriptions(apiecoKey, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserSubscriptionsApi#userSubscriptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserSubscriptionsApi;

public class UserSubscriptionsApiExample {

    public static void main(String[] args) {
        UserSubscriptionsApi apiInstance = new UserSubscriptionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
        String page = page_example; // String | default is `1`
        String perPage = perPage_example; // String | default is `30`, max is `100`
        try {
            array[inline_response_200_6] result = apiInstance.userSubscriptions(apiecoKey, apiKey, page, perPage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserSubscriptionsApi#userSubscriptions");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // get your api key from https://libraries.io/login (optional)
String *page = page_example; // default is `1` (optional)
String *perPage = perPage_example; // default is `30`, max is `100` (optional)

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

// List packages that a user is subscribed to receive notifications about new releases.
[apiInstance userSubscriptionsWith:apiecoKey
    apiKey:apiKey
    page:page
    perPage:perPage
              completionHandler: ^(array[inline_response_200_6] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Librariesio = require('librariesio');

var api = new Librariesio.UserSubscriptionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'apiKey': apiKey_example, // {String} get your api key from https://libraries.io/login
  'page': page_example, // {String} default is `1`
  'perPage': perPage_example // {String} default is `30`, max is `100`
};

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

namespace Example
{
    public class userSubscriptionsExample
    {
        public void main()
        {
            
            var apiInstance = new UserSubscriptionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | get your api key from https://libraries.io/login (optional) 
            var page = page_example;  // String | default is `1` (optional) 
            var perPage = perPage_example;  // String | default is `30`, max is `100` (optional) 

            try
            {
                // List packages that a user is subscribed to receive notifications about new releases.
                array[inline_response_200_6] result = apiInstance.userSubscriptions(apiecoKey, apiKey, page, perPage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserSubscriptionsApi.userSubscriptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\UserSubscriptionsApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | get your api key from https://libraries.io/login
$page = page_example; // String | default is `1`
$perPage = perPage_example; // String | default is `30`, max is `100`

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

my $api_instance = WWW::SwaggerClient::UserSubscriptionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | get your api key from https://libraries.io/login
my $page = page_example; # String | default is `1`
my $perPage = perPage_example; # String | default is `30`, max is `100`

eval { 
    my $result = $api_instance->userSubscriptions(apiecoKey => $apiecoKey, apiKey => $apiKey, page => $page, perPage => $perPage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserSubscriptionsApi->userSubscriptions: $@\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.UserSubscriptionsApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | get your api key from https://libraries.io/login (optional)
page = page_example # String | default is `1` (optional)
perPage = perPage_example # String | default is `30`, max is `100` (optional)

try: 
    # List packages that a user is subscribed to receive notifications about new releases.
    api_response = api_instance.user_subscriptions(apiecoKey, apiKey=apiKey, page=page, perPage=perPage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserSubscriptionsApi->userSubscriptions: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key
String
get your api key from https://libraries.io/login
page
String
default is `1`
per_page
String
default is `30`, max is `100`

Responses

Status: 200 - successful