regcensus-api

agencies

The purpose of this resource is to allow users to query for agency IDs by jurisdiction, document type, and clustering topic. The agency ID list can be then used to narrow data queries. This resource supports parameters for jurisdiction, documenttype, and cluster. The default values are 38, 1, and all, respectively.


/agencies

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/agencies?documenttype=&jurisdiction=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String documenttype = documenttype_example; // String | Default is 1.
        String jurisdiction = jurisdiction_example; // String | Default is 38.
        String cluster = cluster_example; // String | Default is all.
        try {
            Empty result = apiInstance.agenciesGet(documenttype, jurisdiction, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#agenciesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String documenttype = documenttype_example; // String | Default is 1.
        String jurisdiction = jurisdiction_example; // String | Default is 38.
        String cluster = cluster_example; // String | Default is all.
        try {
            Empty result = apiInstance.agenciesGet(documenttype, jurisdiction, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#agenciesGet");
            e.printStackTrace();
        }
    }
}
String *documenttype = documenttype_example; // Default is 1. (optional)
String *jurisdiction = jurisdiction_example; // Default is 38. (optional)
String *cluster = cluster_example; // Default is all. (optional)

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

[apiInstance agenciesGetWith:documenttype
    jurisdiction:jurisdiction
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var opts = { 
  'documenttype': documenttype_example, // {String} Default is 1.
  'jurisdiction': jurisdiction_example, // {String} Default is 38.
  'cluster': cluster_example // {String} Default is all.
};

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

namespace Example
{
    public class agenciesGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var documenttype = documenttype_example;  // String | Default is 1. (optional) 
            var jurisdiction = jurisdiction_example;  // String | Default is 38. (optional) 
            var cluster = cluster_example;  // String | Default is all. (optional) 

            try
            {
                Empty result = apiInstance.agenciesGet(documenttype, jurisdiction, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.agenciesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$documenttype = documenttype_example; // String | Default is 1.
$jurisdiction = jurisdiction_example; // String | Default is 38.
$cluster = cluster_example; // String | Default is all.

try {
    $result = $api_instance->agenciesGet($documenttype, $jurisdiction, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->agenciesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $documenttype = documenttype_example; # String | Default is 1.
my $jurisdiction = jurisdiction_example; # String | Default is 38.
my $cluster = cluster_example; # String | Default is all.

eval { 
    my $result = $api_instance->agenciesGet(documenttype => $documenttype, jurisdiction => $jurisdiction, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->agenciesGet: $@\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.DefaultApi()
documenttype = documenttype_example # String | Default is 1. (optional)
jurisdiction = jurisdiction_example # String | Default is 38. (optional)
cluster = cluster_example # String | Default is all. (optional)

try: 
    api_response = api_instance.agencies_get(documenttype=documenttype, jurisdiction=jurisdiction, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->agenciesGet: %s\n" % e)

Parameters

Query parameters
Name Description
documenttype
Integer, list
Default is 1.
jurisdiction
Integer, list
Default is 38.
cluster
Integer, list
Default is all.

agencies-keyword

The purpose of this resource is to allow users to narrow the queries of agency IDs by a keyword, jurisdiction, document type, and clustering topic. For example, the word board is often used for occupational licensing boards. The agency ID list can be then used to narrow data queries. The keyword is a required parameter. The default values for jurisdiction, documenttype, and cluster are 38, 1, and all, respectively.


/agencies-keyword

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/agencies-keyword?keyword=&jurisdiction=&documenttype=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String keyword = keyword_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String documenttype = documenttype_example; // String | Default is 1.
        String cluster = cluster_example; // String | Default is all.
        try {
            Empty result = apiInstance.agenciesKeywordGet(keyword, jurisdiction, documenttype, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#agenciesKeywordGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String keyword = keyword_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String documenttype = documenttype_example; // String | Default is 1.
        String cluster = cluster_example; // String | Default is all.
        try {
            Empty result = apiInstance.agenciesKeywordGet(keyword, jurisdiction, documenttype, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#agenciesKeywordGet");
            e.printStackTrace();
        }
    }
}
String *keyword = keyword_example; // 
String *jurisdiction = jurisdiction_example; //  (optional)
String *documenttype = documenttype_example; // Default is 1. (optional)
String *cluster = cluster_example; // Default is all. (optional)

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

[apiInstance agenciesKeywordGetWith:keyword
    jurisdiction:jurisdiction
    documenttype:documenttype
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var keyword = keyword_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} 
  'documenttype': documenttype_example, // {String} Default is 1.
  'cluster': cluster_example // {String} Default is all.
};

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

namespace Example
{
    public class agenciesKeywordGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var keyword = keyword_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String |  (optional) 
            var documenttype = documenttype_example;  // String | Default is 1. (optional) 
            var cluster = cluster_example;  // String | Default is all. (optional) 

            try
            {
                Empty result = apiInstance.agenciesKeywordGet(keyword, jurisdiction, documenttype, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.agenciesKeywordGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$keyword = keyword_example; // String | 
$jurisdiction = jurisdiction_example; // String | 
$documenttype = documenttype_example; // String | Default is 1.
$cluster = cluster_example; // String | Default is all.

try {
    $result = $api_instance->agenciesKeywordGet($keyword, $jurisdiction, $documenttype, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->agenciesKeywordGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $keyword = keyword_example; # String | 
my $jurisdiction = jurisdiction_example; # String | 
my $documenttype = documenttype_example; # String | Default is 1.
my $cluster = cluster_example; # String | Default is all.

eval { 
    my $result = $api_instance->agenciesKeywordGet(keyword => $keyword, jurisdiction => $jurisdiction, documenttype => $documenttype, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->agenciesKeywordGet: $@\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.DefaultApi()
keyword = keyword_example # String | 
jurisdiction = jurisdiction_example # String |  (optional)
documenttype = documenttype_example # String | Default is 1. (optional)
cluster = cluster_example # String | Default is all. (optional)

try: 
    api_response = api_instance.agencies_keyword_get(keyword, jurisdiction=jurisdiction, documenttype=documenttype, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->agenciesKeywordGet: %s\n" % e)

Parameters

Query parameters
Name Description
keyword*
String, single
Required
jurisdiction
Integer, list
Default is 38.
documenttype
Integer, list
Default is 1.
cluster
Integer, list
Default is all.

australia-summary

The purpose of this resource is to allow users to query all summary level statistics for the Australia RegData and StatuteData projects. This resource supports parameters for jurisdiction, documenttype, series, and year. Year is a required parameter. The default parameters for jurisdiction, documenttype, series are 84, 1, and 1 respectively.


/australia-summary

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/australia-summary?year=&jurisdiction=&series=&documenttype="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String series = series_example; // String | Default is 1.
        String documenttype = documenttype_example; // String | Default is 1.
        try {
            Empty result = apiInstance.australiaSummaryGet(year, jurisdiction, series, documenttype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#australiaSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String series = series_example; // String | Default is 1.
        String documenttype = documenttype_example; // String | Default is 1.
        try {
            Empty result = apiInstance.australiaSummaryGet(year, jurisdiction, series, documenttype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#australiaSummaryGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // Default is 84. (optional)
String *series = series_example; // Default is 1. (optional)
String *documenttype = documenttype_example; // Default is 1. (optional)

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

[apiInstance australiaSummaryGetWith:year
    jurisdiction:jurisdiction
    series:series
    documenttype:documenttype
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} Default is 84.
  'series': series_example, // {String} Default is 1.
  'documenttype': documenttype_example // {String} Default is 1.
};

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

namespace Example
{
    public class australiaSummaryGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | Default is 84. (optional) 
            var series = series_example;  // String | Default is 1. (optional) 
            var documenttype = documenttype_example;  // String | Default is 1. (optional) 

            try
            {
                Empty result = apiInstance.australiaSummaryGet(year, jurisdiction, series, documenttype);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.australiaSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | Default is 84.
$series = series_example; // String | Default is 1.
$documenttype = documenttype_example; // String | Default is 1.

try {
    $result = $api_instance->australiaSummaryGet($year, $jurisdiction, $series, $documenttype);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->australiaSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | Default is 84.
my $series = series_example; # String | Default is 1.
my $documenttype = documenttype_example; # String | Default is 1.

eval { 
    my $result = $api_instance->australiaSummaryGet(year => $year, jurisdiction => $jurisdiction, series => $series, documenttype => $documenttype);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->australiaSummaryGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | Default is 84. (optional)
series = series_example # String | Default is 1. (optional)
documenttype = documenttype_example # String | Default is 1. (optional)

try: 
    api_response = api_instance.australia_summary_get(year, jurisdiction=jurisdiction, series=series, documenttype=documenttype)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->australiaSummaryGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, list
Required
jurisdiction
Integer, list
Default is 84.
series
Integer, list
Default is 1.
documenttype
Integer, list
Default is 1.

australiaregdata

The purpose of this resource is to allow users to query document level descriptive statistics for Australia RegData- as opposed to ML outputs located under the label resources. This resource supports parameters for jurisdiction, page, and year. Year is a required parameter. The default parameters for jurisdiction and page are 84 and 1 respectively.


/australiaregdata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/australiaregdata?year=&jurisdiction=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String page = page_example; // String | Default is 1.
        try {
            Empty result = apiInstance.australiaregdataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#australiaregdataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String page = page_example; // String | Default is 1.
        try {
            Empty result = apiInstance.australiaregdataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#australiaregdataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // Default is 84. (optional)
String *page = page_example; // Default is 1. (optional)

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

[apiInstance australiaregdataGetWith:year
    jurisdiction:jurisdiction
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} Default is 84.
  'page': page_example // {String} Default is 1.
};

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

namespace Example
{
    public class australiaregdataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | Default is 84. (optional) 
            var page = page_example;  // String | Default is 1. (optional) 

            try
            {
                Empty result = apiInstance.australiaregdataGet(year, jurisdiction, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.australiaregdataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | Default is 84.
$page = page_example; // String | Default is 1.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | Default is 84.
my $page = page_example; # String | Default is 1.

eval { 
    my $result = $api_instance->australiaregdataGet(year => $year, jurisdiction => $jurisdiction, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->australiaregdataGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | Default is 84. (optional)
page = page_example # String | Default is 1. (optional)

try: 
    api_response = api_instance.australiaregdata_get(year, jurisdiction=jurisdiction, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->australiaregdataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction
Integer, list
Default is 84.
page
Integer, single
Default is 1.

australiastatutedata

The purpose of this resource is to allow users to query document level descriptive statistics for Australia StatuteData- as opposed to ML outputs located under the label resources. This resource supports parameters for jurisdiction, page, and year. Year is a required parameter. The default parameters for jurisdiction and page are 84 and 1 respectively.


/australiastatutedata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/australiastatutedata?year=&jurisdiction=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String page = page_example; // String | Default is 1.
        try {
            Empty result = apiInstance.australiastatutedataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#australiastatutedataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String page = page_example; // String | Default is 1.
        try {
            Empty result = apiInstance.australiastatutedataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#australiastatutedataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // Default is 84. (optional)
String *page = page_example; // Default is 1. (optional)

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

[apiInstance australiastatutedataGetWith:year
    jurisdiction:jurisdiction
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} Default is 84.
  'page': page_example // {String} Default is 1.
};

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

namespace Example
{
    public class australiastatutedataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | Default is 84. (optional) 
            var page = page_example;  // String | Default is 1. (optional) 

            try
            {
                Empty result = apiInstance.australiastatutedataGet(year, jurisdiction, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.australiastatutedataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | Default is 84.
$page = page_example; // String | Default is 1.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | Default is 84.
my $page = page_example; # String | Default is 1.

eval { 
    my $result = $api_instance->australiastatutedataGet(year => $year, jurisdiction => $jurisdiction, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->australiastatutedataGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | Default is 84. (optional)
page = page_example # String | Default is 1. (optional)

try: 
    api_response = api_instance.australiastatutedata_get(year, jurisdiction=jurisdiction, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->australiastatutedataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction
Integer, list
Default is 84.
page
Integer, single
Default is 1.

canada-summary

The purpose of this resource is to allow users to query all summary level statistics for the Canada RegData and StatuteData projects. This resource supports parameters for jurisdiction, documenttype, label, series, and year. Year is a required parameter. The default parameters for jurisdiction, documenttype, series are 33, 1, and 1 respectively.


/canada-summary

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/canada-summary?year=&jurisdiction=&series=&documenttype="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String series = series_example; // String | Default is 1.
        String documenttype = documenttype_example; // String | Default is 1.
        try {
            Empty result = apiInstance.canadaSummaryGet(year, jurisdiction, series, documenttype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadaSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | Default is 84.
        String series = series_example; // String | Default is 1.
        String documenttype = documenttype_example; // String | Default is 1.
        try {
            Empty result = apiInstance.canadaSummaryGet(year, jurisdiction, series, documenttype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadaSummaryGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // Default is 84. (optional)
String *series = series_example; // Default is 1. (optional)
String *documenttype = documenttype_example; // Default is 1. (optional)

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

[apiInstance canadaSummaryGetWith:year
    jurisdiction:jurisdiction
    series:series
    documenttype:documenttype
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} Default is 84.
  'series': series_example, // {String} Default is 1.
  'documenttype': documenttype_example // {String} Default is 1.
};

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

namespace Example
{
    public class canadaSummaryGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | Default is 84. (optional) 
            var series = series_example;  // String | Default is 1. (optional) 
            var documenttype = documenttype_example;  // String | Default is 1. (optional) 

            try
            {
                Empty result = apiInstance.canadaSummaryGet(year, jurisdiction, series, documenttype);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.canadaSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | Default is 84.
$series = series_example; // String | Default is 1.
$documenttype = documenttype_example; // String | Default is 1.

try {
    $result = $api_instance->canadaSummaryGet($year, $jurisdiction, $series, $documenttype);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->canadaSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | Default is 84.
my $series = series_example; # String | Default is 1.
my $documenttype = documenttype_example; # String | Default is 1.

eval { 
    my $result = $api_instance->canadaSummaryGet(year => $year, jurisdiction => $jurisdiction, series => $series, documenttype => $documenttype);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->canadaSummaryGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | Default is 84. (optional)
series = series_example # String | Default is 1. (optional)
documenttype = documenttype_example # String | Default is 1. (optional)

try: 
    api_response = api_instance.canada_summary_get(year, jurisdiction=jurisdiction, series=series, documenttype=documenttype)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->canadaSummaryGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, list
Required
jurisdiction
Integer, list
Default is 84.
series
Integer, list
Default is 1.
documenttype
Integer, list
Default is 1.

canadaregdata

The purpose of this resource is to allow users to query document level descriptive statistics for Canada RegData- as opposed to ML outputs located under the label resources. This resource supports parameters for jurisdiction, page, and year. Year is a required parameter. The default parameters for jurisdiction and page are 33 and 1 respectively.


/canadaregdata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/canadaregdata?year=&jurisdiction=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadaregdataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadaregdataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadaregdataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadaregdataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // The default is 33. (optional)
String *page = page_example; // The default is 1. (optional)

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

[apiInstance canadaregdataGetWith:year
    jurisdiction:jurisdiction
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} The default is 33.
  'page': page_example // {String} The default is 1.
};

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

namespace Example
{
    public class canadaregdataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | The default is 33. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 

            try
            {
                Empty result = apiInstance.canadaregdataGet(year, jurisdiction, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.canadaregdataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | The default is 33.
$page = page_example; // String | The default is 1.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | The default is 33.
my $page = page_example; # String | The default is 1.

eval { 
    my $result = $api_instance->canadaregdataGet(year => $year, jurisdiction => $jurisdiction, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->canadaregdataGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | The default is 33. (optional)
page = page_example # String | The default is 1. (optional)

try: 
    api_response = api_instance.canadaregdata_get(year, jurisdiction=jurisdiction, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->canadaregdataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction
Integer, list
The default is 33.
page
Integer, single
The default is 1.

canadaregdata-labels

The purpose of this resource is to allow users to query document level ML outputs for Canada StatuteData. This resource supports parameters for jurisdiction, page, series, label, and year. Year, series, and label are required parameters. The default parameters for jurisdiction and page are 33 and 1 respectively.


/canadaregdata-labels

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/canadaregdata-labels?year=&jurisdiction=&page=&series=&label="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadaregdataLabelsGet(year, series, label, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadaregdataLabelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadaregdataLabelsGet(year, series, label, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadaregdataLabelsGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *series = series_example; // 
String *label = label_example; // 
String *jurisdiction = jurisdiction_example; // The default is 33. (optional)
String *page = page_example; // The default is 1. (optional)

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

[apiInstance canadaregdataLabelsGetWith:year
    series:series
    label:label
    jurisdiction:jurisdiction
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var series = series_example; // {String} 

var label = label_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} The default is 33.
  'page': page_example // {String} The default is 1.
};

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

namespace Example
{
    public class canadaregdataLabelsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var series = series_example;  // String | 
            var label = label_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | The default is 33. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 

            try
            {
                Empty result = apiInstance.canadaregdataLabelsGet(year, series, label, jurisdiction, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.canadaregdataLabelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$series = series_example; // String | 
$label = label_example; // String | 
$jurisdiction = jurisdiction_example; // String | The default is 33.
$page = page_example; // String | The default is 1.

try {
    $result = $api_instance->canadaregdataLabelsGet($year, $series, $label, $jurisdiction, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->canadaregdataLabelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $series = series_example; # String | 
my $label = label_example; # String | 
my $jurisdiction = jurisdiction_example; # String | The default is 33.
my $page = page_example; # String | The default is 1.

eval { 
    my $result = $api_instance->canadaregdataLabelsGet(year => $year, series => $series, label => $label, jurisdiction => $jurisdiction, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->canadaregdataLabelsGet: $@\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.DefaultApi()
year = year_example # String | 
series = series_example # String | 
label = label_example # String | 
jurisdiction = jurisdiction_example # String | The default is 33. (optional)
page = page_example # String | The default is 1. (optional)

try: 
    api_response = api_instance.canadaregdata_labels_get(year, series, label, jurisdiction=jurisdiction, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->canadaregdataLabelsGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction
Integer, list
The default is 33.
page
Integer, single
The default is 1.
series*
Integer, single
Required
label*
Integer, list
Required

canadastatutedata

The purpose of this resource is to allow users to query document level descriptive statistics for Canada StatuteData- as opposed to ML outputs located under the label resources. This resource supports parameters for jurisdiction, page, and year. Year is a required parameter. The default parameters for jurisdiction and page are 33 and 1 respectively.


/canadastatutedata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/canadastatutedata?year=&jurisdiction=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadastatutedataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadastatutedataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadastatutedataGet(year, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadastatutedataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // The default is 33. (optional)
String *page = page_example; // The default is 1. (optional)

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

[apiInstance canadastatutedataGetWith:year
    jurisdiction:jurisdiction
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} The default is 33.
  'page': page_example // {String} The default is 1.
};

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

namespace Example
{
    public class canadastatutedataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | The default is 33. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 

            try
            {
                Empty result = apiInstance.canadastatutedataGet(year, jurisdiction, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.canadastatutedataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | The default is 33.
$page = page_example; // String | The default is 1.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | The default is 33.
my $page = page_example; # String | The default is 1.

eval { 
    my $result = $api_instance->canadastatutedataGet(year => $year, jurisdiction => $jurisdiction, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->canadastatutedataGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | The default is 33. (optional)
page = page_example # String | The default is 1. (optional)

try: 
    api_response = api_instance.canadastatutedata_get(year, jurisdiction=jurisdiction, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->canadastatutedataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction
Integer, list
The default is 33.
page
Integer, single
The default is 1.

canadastatutedata-labels

The purpose of this resource is to allow users to query document level ML outputs for Canada RegData. This resource supports parameters for jurisdiction, page, series, label, and year. Year, series, and label are required parameters. The default parameters for jurisdiction and page are 33 and 1 respectively.


/canadastatutedata-labels

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/canadastatutedata-labels?year=&jurisdiction=&page=&series=&label="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadastatutedataLabelsGet(year, series, label, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadastatutedataLabelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | The default is 33.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.canadastatutedataLabelsGet(year, series, label, jurisdiction, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#canadastatutedataLabelsGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *series = series_example; // 
String *label = label_example; // 
String *jurisdiction = jurisdiction_example; // The default is 33. (optional)
String *page = page_example; // The default is 1. (optional)

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

[apiInstance canadastatutedataLabelsGetWith:year
    series:series
    label:label
    jurisdiction:jurisdiction
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var series = series_example; // {String} 

var label = label_example; // {String} 

var opts = { 
  'jurisdiction': jurisdiction_example, // {String} The default is 33.
  'page': page_example // {String} The default is 1.
};

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

namespace Example
{
    public class canadastatutedataLabelsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var series = series_example;  // String | 
            var label = label_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | The default is 33. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 

            try
            {
                Empty result = apiInstance.canadastatutedataLabelsGet(year, series, label, jurisdiction, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.canadastatutedataLabelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$series = series_example; // String | 
$label = label_example; // String | 
$jurisdiction = jurisdiction_example; // String | The default is 33.
$page = page_example; // String | The default is 1.

try {
    $result = $api_instance->canadastatutedataLabelsGet($year, $series, $label, $jurisdiction, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->canadastatutedataLabelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $series = series_example; # String | 
my $label = label_example; # String | 
my $jurisdiction = jurisdiction_example; # String | The default is 33.
my $page = page_example; # String | The default is 1.

eval { 
    my $result = $api_instance->canadastatutedataLabelsGet(year => $year, series => $series, label => $label, jurisdiction => $jurisdiction, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->canadastatutedataLabelsGet: $@\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.DefaultApi()
year = year_example # String | 
series = series_example # String | 
label = label_example # String | 
jurisdiction = jurisdiction_example # String | The default is 33. (optional)
page = page_example # String | The default is 1. (optional)

try: 
    api_response = api_instance.canadastatutedata_labels_get(year, series, label, jurisdiction=jurisdiction, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->canadastatutedataLabelsGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction
Integer, list
The default is 33.
page
Integer, single
The default is 1.
series*
Integer, single
Required
label*
Integer, list
Required

clusters

The purpose of this resource is to allow users to query the reference table for the cluster IDs. This allows users to find the names and descriptions of the clusters that have been manually assigned by agency metadata. This resource does not support parameters.


/clusters

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/clusters"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.clustersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clustersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.clustersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#clustersGet");
            e.printStackTrace();
        }
    }
}

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

[apiInstance clustersGetWithCompletionHandler: 
              ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

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

namespace Example
{
    public class clustersGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                Empty result = apiInstance.clustersGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.clustersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->clustersGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->clustersGet: $@\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.DefaultApi()

try: 
    api_response = api_instance.clusters_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->clustersGet: %s\n" % e)

daily-federal-regpulse

The purpose of this resource is to allow users to query the data underlying the Federal Regpulse project. This resource supports parameters for year, page, label, and issuing_agencies. Year is a required parameter. The default value for page is 1.


/daily-federal-regpulse

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/daily-federal-regpulse?year=&issuing_agencies=&page=&label="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String issuingAgencies = issuingAgencies_example; // String | 
        String page = page_example; // String | The default is 1.
        String label = label_example; // String | 
        try {
            Empty result = apiInstance.dailyFederalRegpulseGet(year, issuingAgencies, page, label);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dailyFederalRegpulseGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String issuingAgencies = issuingAgencies_example; // String | 
        String page = page_example; // String | The default is 1.
        String label = label_example; // String | 
        try {
            Empty result = apiInstance.dailyFederalRegpulseGet(year, issuingAgencies, page, label);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dailyFederalRegpulseGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *issuingAgencies = issuingAgencies_example; //  (optional)
String *page = page_example; // The default is 1. (optional)
String *label = label_example; //  (optional)

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

[apiInstance dailyFederalRegpulseGetWith:year
    issuingAgencies:issuingAgencies
    page:page
    label:label
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'issuingAgencies': issuingAgencies_example, // {String} 
  'page': page_example, // {String} The default is 1.
  'label': label_example // {String} 
};

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

namespace Example
{
    public class dailyFederalRegpulseGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var issuingAgencies = issuingAgencies_example;  // String |  (optional) 
            var page = page_example;  // String | The default is 1. (optional) 
            var label = label_example;  // String |  (optional) 

            try
            {
                Empty result = apiInstance.dailyFederalRegpulseGet(year, issuingAgencies, page, label);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.dailyFederalRegpulseGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$issuingAgencies = issuingAgencies_example; // String | 
$page = page_example; // String | The default is 1.
$label = label_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $issuingAgencies = issuingAgencies_example; # String | 
my $page = page_example; # String | The default is 1.
my $label = label_example; # String | 

eval { 
    my $result = $api_instance->dailyFederalRegpulseGet(year => $year, issuingAgencies => $issuingAgencies, page => $page, label => $label);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->dailyFederalRegpulseGet: $@\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.DefaultApi()
year = year_example # String | 
issuingAgencies = issuingAgencies_example # String |  (optional)
page = page_example # String | The default is 1. (optional)
label = label_example # String |  (optional)

try: 
    api_response = api_instance.daily_federal_regpulse_get(year, issuingAgencies=issuingAgencies, page=page, label=label)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->dailyFederalRegpulseGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
issuing_agencies
String, list
page
Integer, single
The default is 1.
label
String, list

daily-federal-regtracker

The purpose of this resource is to allow users to query the data underlying the Federal Regtracker project. This resource supports parameters for year, page, series_name, industry_name, agency_name. Year is a required parameter. The default value for page is 1.


/daily-federal-regtracker

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/daily-federal-regtracker?year=&page=&series_name=&agency_name=&industry_name="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String page = page_example; // String | Default value = 1
        String seriesName = seriesName_example; // String | 
        String agencyName = agencyName_example; // String | 
        String industryName = industryName_example; // String | 
        try {
            Empty result = apiInstance.dailyFederalRegtrackerGet(year, page, seriesName, agencyName, industryName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dailyFederalRegtrackerGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String page = page_example; // String | Default value = 1
        String seriesName = seriesName_example; // String | 
        String agencyName = agencyName_example; // String | 
        String industryName = industryName_example; // String | 
        try {
            Empty result = apiInstance.dailyFederalRegtrackerGet(year, page, seriesName, agencyName, industryName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dailyFederalRegtrackerGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *page = page_example; // Default value = 1 (optional)
String *seriesName = seriesName_example; //  (optional)
String *agencyName = agencyName_example; //  (optional)
String *industryName = industryName_example; //  (optional)

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

[apiInstance dailyFederalRegtrackerGetWith:year
    page:page
    seriesName:seriesName
    agencyName:agencyName
    industryName:industryName
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'page': page_example, // {String} Default value = 1
  'seriesName': seriesName_example, // {String} 
  'agencyName': agencyName_example, // {String} 
  'industryName': industryName_example // {String} 
};

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

namespace Example
{
    public class dailyFederalRegtrackerGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var page = page_example;  // String | Default value = 1 (optional) 
            var seriesName = seriesName_example;  // String |  (optional) 
            var agencyName = agencyName_example;  // String |  (optional) 
            var industryName = industryName_example;  // String |  (optional) 

            try
            {
                Empty result = apiInstance.dailyFederalRegtrackerGet(year, page, seriesName, agencyName, industryName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.dailyFederalRegtrackerGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$page = page_example; // String | Default value = 1
$seriesName = seriesName_example; // String | 
$agencyName = agencyName_example; // String | 
$industryName = industryName_example; // String | 

try {
    $result = $api_instance->dailyFederalRegtrackerGet($year, $page, $seriesName, $agencyName, $industryName);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->dailyFederalRegtrackerGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $page = page_example; # String | Default value = 1
my $seriesName = seriesName_example; # String | 
my $agencyName = agencyName_example; # String | 
my $industryName = industryName_example; # String | 

eval { 
    my $result = $api_instance->dailyFederalRegtrackerGet(year => $year, page => $page, seriesName => $seriesName, agencyName => $agencyName, industryName => $industryName);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->dailyFederalRegtrackerGet: $@\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.DefaultApi()
year = year_example # String | 
page = page_example # String | Default value = 1 (optional)
seriesName = seriesName_example # String |  (optional)
agencyName = agencyName_example # String |  (optional)
industryName = industryName_example # String |  (optional)

try: 
    api_response = api_instance.daily_federal_regtracker_get(year, page=page, seriesName=seriesName, agencyName=agencyName, industryName=industryName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->dailyFederalRegtrackerGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
page
Integer, single
Default value = 1
series_name
String, list
agency_name
String, list
industry_name
String, list

daily-significant-rules

The purpose of this resource is to allow users to query the data underlying the Federal Daily Significant Rules project. This resource supports parameters for year, doc_type, and action. Year is a required parameter.


/daily-significant-rules

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/daily-significant-rules?doc_type=&year=&action="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String docType = docType_example; // String | 
        String action = action_example; // String | 
        try {
            Empty result = apiInstance.dailySignificantRulesGet(year, docType, action);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dailySignificantRulesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String docType = docType_example; // String | 
        String action = action_example; // String | 
        try {
            Empty result = apiInstance.dailySignificantRulesGet(year, docType, action);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dailySignificantRulesGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *docType = docType_example; //  (optional)
String *action = action_example; //  (optional)

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

[apiInstance dailySignificantRulesGetWith:year
    docType:docType
    action:action
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'docType': docType_example, // {String} 
  'action': action_example // {String} 
};

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

namespace Example
{
    public class dailySignificantRulesGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var docType = docType_example;  // String |  (optional) 
            var action = action_example;  // String |  (optional) 

            try
            {
                Empty result = apiInstance.dailySignificantRulesGet(year, docType, action);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.dailySignificantRulesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$docType = docType_example; // String | 
$action = action_example; // String | 

try {
    $result = $api_instance->dailySignificantRulesGet($year, $docType, $action);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->dailySignificantRulesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $docType = docType_example; # String | 
my $action = action_example; # String | 

eval { 
    my $result = $api_instance->dailySignificantRulesGet(year => $year, docType => $docType, action => $action);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->dailySignificantRulesGet: $@\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.DefaultApi()
year = year_example # String | 
docType = docType_example # String |  (optional)
action = action_example # String |  (optional)

try: 
    api_response = api_instance.daily_significant_rules_get(year, docType=docType, action=action)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->dailySignificantRulesGet: %s\n" % e)

Parameters

Query parameters
Name Description
doc_type
String, list
year*
Integer, single
Required
action
String, list

datafinder

The purpose of this resource is to allow users to find what data is available for a combination of jurisdiction and documenttype. This resource supports parameters for jurisdiction and documenttype. The default values for jurisdiction and documenttype are 38 and 1, respectively.


/datafinder

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/datafinder?documenttype=&jurisdiction="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String documenttype = documenttype_example; // String | The default is 1.
        String jurisdiction = jurisdiction_example; // String | The default is 38.
        try {
            Empty result = apiInstance.datafinderGet(documenttype, jurisdiction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#datafinderGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String documenttype = documenttype_example; // String | The default is 1.
        String jurisdiction = jurisdiction_example; // String | The default is 38.
        try {
            Empty result = apiInstance.datafinderGet(documenttype, jurisdiction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#datafinderGet");
            e.printStackTrace();
        }
    }
}
String *documenttype = documenttype_example; // The default is 1. (optional)
String *jurisdiction = jurisdiction_example; // The default is 38. (optional)

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

[apiInstance datafinderGetWith:documenttype
    jurisdiction:jurisdiction
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var opts = { 
  'documenttype': documenttype_example, // {String} The default is 1.
  'jurisdiction': jurisdiction_example // {String} The default is 38.
};

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

namespace Example
{
    public class datafinderGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var documenttype = documenttype_example;  // String | The default is 1. (optional) 
            var jurisdiction = jurisdiction_example;  // String | The default is 38. (optional) 

            try
            {
                Empty result = apiInstance.datafinderGet(documenttype, jurisdiction);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.datafinderGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$documenttype = documenttype_example; // String | The default is 1.
$jurisdiction = jurisdiction_example; // String | The default is 38.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $documenttype = documenttype_example; # String | The default is 1.
my $jurisdiction = jurisdiction_example; # String | The default is 38.

eval { 
    my $result = $api_instance->datafinderGet(documenttype => $documenttype, jurisdiction => $jurisdiction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->datafinderGet: $@\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.DefaultApi()
documenttype = documenttype_example # String | The default is 1. (optional)
jurisdiction = jurisdiction_example # String | The default is 38. (optional)

try: 
    api_response = api_instance.datafinder_get(documenttype=documenttype, jurisdiction=jurisdiction)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->datafinderGet: %s\n" % e)

Parameters

Query parameters
Name Description
documenttype
Integer, list
The default is 1.
jurisdiction
Integer, list
The default is 38.

dataseries

The purpose of this resource is to allow users to query the reference table for the series IDs. This allows users to find the names and descriptions of the data series. This resource does not support parameters.


/dataseries

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/dataseries"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.dataseriesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dataseriesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.dataseriesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#dataseriesGet");
            e.printStackTrace();
        }
    }
}

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

[apiInstance dataseriesGetWithCompletionHandler: 
              ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

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

namespace Example
{
    public class dataseriesGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                Empty result = apiInstance.dataseriesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.dataseriesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->dataseriesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->dataseriesGet: $@\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.DefaultApi()

try: 
    api_response = api_instance.dataseries_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->dataseriesGet: %s\n" % e)

documentation

The purpose of this resource is to allow users to query the reference table for the documentation IDs. This allows users to find the citations and links to documentation for each data point. This resource does not support parameters.


/documentation

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/documentation"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.documentationGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#documentationGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.documentationGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#documentationGet");
            e.printStackTrace();
        }
    }
}

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

[apiInstance documentationGetWithCompletionHandler: 
              ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

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

namespace Example
{
    public class documentationGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                Empty result = apiInstance.documentationGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.documentationGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->documentationGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->documentationGet: $@\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.DefaultApi()

try: 
    api_response = api_instance.documentation_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->documentationGet: %s\n" % e)

documenttypes

The purpose of this resource is to allow users to query the reference table for the documenttype IDs. This allows users to find the names and descriptions for each documenttype. This resource does not support parameters.


/documenttypes

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/documenttypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.documenttypesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#documenttypesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.documenttypesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#documenttypesGet");
            e.printStackTrace();
        }
    }
}

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

[apiInstance documenttypesGetWithCompletionHandler: 
              ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

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

namespace Example
{
    public class documenttypesGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                Empty result = apiInstance.documenttypesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.documenttypesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->documenttypesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->documenttypesGet: $@\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.DefaultApi()

try: 
    api_response = api_instance.documenttypes_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->documenttypesGet: %s\n" % e)

jurisdictions

The purpose of this resource is to allow users to query the reference table for the jurisdictions IDs. This allows users to find the names and descriptions for each jurisdiction. This resource does not support parameters.


/jurisdictions

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/jurisdictions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.jurisdictionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#jurisdictionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            Empty result = apiInstance.jurisdictionsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#jurisdictionsGet");
            e.printStackTrace();
        }
    }
}

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

[apiInstance jurisdictionsGetWithCompletionHandler: 
              ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

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

namespace Example
{
    public class jurisdictionsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                Empty result = apiInstance.jurisdictionsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.jurisdictionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    my $result = $api_instance->jurisdictionsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->jurisdictionsGet: $@\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.DefaultApi()

try: 
    api_response = api_instance.jurisdictions_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->jurisdictionsGet: %s\n" % e)

labels

The purpose of this resource is to allow users to query the reference table for the label IDs. This allows users to find the names, code, source, and descriptions for each label. This resource supports parameters for labellevel and labelsource. The default values for labellevel and labelsource are 3 and NAICS, respectively.


/labels

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/labels?labellevel=&labelsource="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String labellevel = labellevel_example; // String | The default is 3.
        String labelsource = labelsource_example; // String | The default is 'NAICS'.
        try {
            Empty result = apiInstance.labelsGet(labellevel, labelsource);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#labelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String labellevel = labellevel_example; // String | The default is 3.
        String labelsource = labelsource_example; // String | The default is 'NAICS'.
        try {
            Empty result = apiInstance.labelsGet(labellevel, labelsource);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#labelsGet");
            e.printStackTrace();
        }
    }
}
String *labellevel = labellevel_example; // The default is 3. (optional)
String *labelsource = labelsource_example; // The default is 'NAICS'. (optional)

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

[apiInstance labelsGetWith:labellevel
    labelsource:labelsource
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var opts = { 
  'labellevel': labellevel_example, // {String} The default is 3.
  'labelsource': labelsource_example // {String} The default is 'NAICS'.
};

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

namespace Example
{
    public class labelsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var labellevel = labellevel_example;  // String | The default is 3. (optional) 
            var labelsource = labelsource_example;  // String | The default is 'NAICS'. (optional) 

            try
            {
                Empty result = apiInstance.labelsGet(labellevel, labelsource);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.labelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$labellevel = labellevel_example; // String | The default is 3.
$labelsource = labelsource_example; // String | The default is 'NAICS'.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $labellevel = labellevel_example; # String | The default is 3.
my $labelsource = labelsource_example; # String | The default is 'NAICS'.

eval { 
    my $result = $api_instance->labelsGet(labellevel => $labellevel, labelsource => $labelsource);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->labelsGet: $@\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.DefaultApi()
labellevel = labellevel_example # String | The default is 3. (optional)
labelsource = labelsource_example # String | The default is 'NAICS'. (optional)

try: 
    api_response = api_instance.labels_get(labellevel=labellevel, labelsource=labelsource)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->labelsGet: %s\n" % e)

Parameters

Query parameters
Name Description
labellevel
Integer, single
The default is 3.
labelsource
String, single
The default is 'NAICS'.

state-summary

The purpose of this resource is to allow users to query all summary level statistics for the State RegData and StatuteData projects. This resource supports parameters for jurisdiction, documenttype, agency, cluster, series, and year. Year and jurisdiction are required parameters. The default parameters for documenttype and series are 1 and 1 respectively.


/state-summary

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/state-summary?year=&jurisdiction=&agency=&series=&documenttype=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String agency = agency_example; // String | The default is all.
        String series = series_example; // String | The default is 1.
        String documenttype = documenttype_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all
        try {
            Empty result = apiInstance.stateSummaryGet(year, jurisdiction, agency, series, documenttype, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stateSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String agency = agency_example; // String | The default is all.
        String series = series_example; // String | The default is 1.
        String documenttype = documenttype_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all
        try {
            Empty result = apiInstance.stateSummaryGet(year, jurisdiction, agency, series, documenttype, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stateSummaryGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // 
String *agency = agency_example; // The default is all. (optional)
String *series = series_example; // The default is 1. (optional)
String *documenttype = documenttype_example; // The default is 1. (optional)
String *cluster = cluster_example; // The default is all (optional)

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

[apiInstance stateSummaryGetWith:year
    jurisdiction:jurisdiction
    agency:agency
    series:series
    documenttype:documenttype
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var jurisdiction = jurisdiction_example; // {String} 

var opts = { 
  'agency': agency_example, // {String} The default is all.
  'series': series_example, // {String} The default is 1.
  'documenttype': documenttype_example, // {String} The default is 1.
  'cluster': cluster_example // {String} The default is all
};

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

namespace Example
{
    public class stateSummaryGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | 
            var agency = agency_example;  // String | The default is all. (optional) 
            var series = series_example;  // String | The default is 1. (optional) 
            var documenttype = documenttype_example;  // String | The default is 1. (optional) 
            var cluster = cluster_example;  // String | The default is all (optional) 

            try
            {
                Empty result = apiInstance.stateSummaryGet(year, jurisdiction, agency, series, documenttype, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stateSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | 
$agency = agency_example; // String | The default is all.
$series = series_example; // String | The default is 1.
$documenttype = documenttype_example; // String | The default is 1.
$cluster = cluster_example; // String | The default is all

try {
    $result = $api_instance->stateSummaryGet($year, $jurisdiction, $agency, $series, $documenttype, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stateSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | 
my $agency = agency_example; # String | The default is all.
my $series = series_example; # String | The default is 1.
my $documenttype = documenttype_example; # String | The default is 1.
my $cluster = cluster_example; # String | The default is all

eval { 
    my $result = $api_instance->stateSummaryGet(year => $year, jurisdiction => $jurisdiction, agency => $agency, series => $series, documenttype => $documenttype, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->stateSummaryGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | 
agency = agency_example # String | The default is all. (optional)
series = series_example # String | The default is 1. (optional)
documenttype = documenttype_example # String | The default is 1. (optional)
cluster = cluster_example # String | The default is all (optional)

try: 
    api_response = api_instance.state_summary_get(year, jurisdiction, agency=agency, series=series, documenttype=documenttype, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->stateSummaryGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, list
Required
jurisdiction*
Integer, list
Required
agency
Integer, list
The default is all.
series
Integer, list
The default is 1.
documenttype
Integer, list
The default is 1.
cluster
Integer, list
The default is all

stateregdata

The purpose of this resource is to allow users to query document level descriptive statistics for State RegData- as opposed to ML outputs located under the label resources. This resource supports parameters for jurisdiction, page, agency, cluster, and year. Year and jurisdiction are required parameters. The default parameters for the page is 1.


/stateregdata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/stateregdata?year=&jurisdiction=&agency=&page=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all
        try {
            Empty result = apiInstance.stateregdataGet(year, jurisdiction, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stateregdataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all
        try {
            Empty result = apiInstance.stateregdataGet(year, jurisdiction, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stateregdataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // 
String *agency = agency_example; // The default is all. (optional)
String *page = page_example; // The default is 1. (optional)
String *cluster = cluster_example; // The default is all (optional)

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

[apiInstance stateregdataGetWith:year
    jurisdiction:jurisdiction
    agency:agency
    page:page
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var jurisdiction = jurisdiction_example; // {String} 

var opts = { 
  'agency': agency_example, // {String} The default is all.
  'page': page_example, // {String} The default is 1.
  'cluster': cluster_example // {String} The default is all
};

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

namespace Example
{
    public class stateregdataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | 
            var agency = agency_example;  // String | The default is all. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 
            var cluster = cluster_example;  // String | The default is all (optional) 

            try
            {
                Empty result = apiInstance.stateregdataGet(year, jurisdiction, agency, page, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stateregdataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | 
$agency = agency_example; // String | The default is all.
$page = page_example; // String | The default is 1.
$cluster = cluster_example; // String | The default is all

try {
    $result = $api_instance->stateregdataGet($year, $jurisdiction, $agency, $page, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stateregdataGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | 
my $agency = agency_example; # String | The default is all.
my $page = page_example; # String | The default is 1.
my $cluster = cluster_example; # String | The default is all

eval { 
    my $result = $api_instance->stateregdataGet(year => $year, jurisdiction => $jurisdiction, agency => $agency, page => $page, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->stateregdataGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | 
agency = agency_example # String | The default is all. (optional)
page = page_example # String | The default is 1. (optional)
cluster = cluster_example # String | The default is all (optional)

try: 
    api_response = api_instance.stateregdata_get(year, jurisdiction, agency=agency, page=page, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->stateregdataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction*
Integer, list
Required
agency
Integer, list
The default is all.
page
Integer, single
The default is 1.
cluster
Integer, list
The default is all

stateregdata-labels

The purpose of this resource is to allow users to query document level ML outputs for State StatuteData. This resource supports parameters for jurisdiction, page, agency, cluster, series, label, and year. Year, jurisdiction, series, and label are required parameters. The default parameters for the page is 1.


/stateregdata-labels

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/stateregdata-labels?year=&series=&label=&cluster=&agency=&jurisdiction=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String cluster = cluster_example; // String | The default is all.
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.stateregdataLabelsGet(year, series, label, jurisdiction, cluster, agency, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stateregdataLabelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String cluster = cluster_example; // String | The default is all.
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.stateregdataLabelsGet(year, series, label, jurisdiction, cluster, agency, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#stateregdataLabelsGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *series = series_example; // 
String *label = label_example; // 
String *jurisdiction = jurisdiction_example; // 
String *cluster = cluster_example; // The default is all. (optional)
String *agency = agency_example; // The default is all. (optional)
String *page = page_example; // The default is 1. (optional)

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

[apiInstance stateregdataLabelsGetWith:year
    series:series
    label:label
    jurisdiction:jurisdiction
    cluster:cluster
    agency:agency
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var series = series_example; // {String} 

var label = label_example; // {String} 

var jurisdiction = jurisdiction_example; // {String} 

var opts = { 
  'cluster': cluster_example, // {String} The default is all.
  'agency': agency_example, // {String} The default is all.
  'page': page_example // {String} The default is 1.
};

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

namespace Example
{
    public class stateregdataLabelsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var series = series_example;  // String | 
            var label = label_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | 
            var cluster = cluster_example;  // String | The default is all. (optional) 
            var agency = agency_example;  // String | The default is all. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 

            try
            {
                Empty result = apiInstance.stateregdataLabelsGet(year, series, label, jurisdiction, cluster, agency, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.stateregdataLabelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$series = series_example; // String | 
$label = label_example; // String | 
$jurisdiction = jurisdiction_example; // String | 
$cluster = cluster_example; // String | The default is all.
$agency = agency_example; // String | The default is all.
$page = page_example; // String | The default is 1.

try {
    $result = $api_instance->stateregdataLabelsGet($year, $series, $label, $jurisdiction, $cluster, $agency, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->stateregdataLabelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $series = series_example; # String | 
my $label = label_example; # String | 
my $jurisdiction = jurisdiction_example; # String | 
my $cluster = cluster_example; # String | The default is all.
my $agency = agency_example; # String | The default is all.
my $page = page_example; # String | The default is 1.

eval { 
    my $result = $api_instance->stateregdataLabelsGet(year => $year, series => $series, label => $label, jurisdiction => $jurisdiction, cluster => $cluster, agency => $agency, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->stateregdataLabelsGet: $@\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.DefaultApi()
year = year_example # String | 
series = series_example # String | 
label = label_example # String | 
jurisdiction = jurisdiction_example # String | 
cluster = cluster_example # String | The default is all. (optional)
agency = agency_example # String | The default is all. (optional)
page = page_example # String | The default is 1. (optional)

try: 
    api_response = api_instance.stateregdata_labels_get(year, series, label, jurisdiction, cluster=cluster, agency=agency, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->stateregdataLabelsGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
series*
Integer, single
Required
label*
Integer, list
Required
cluster
Integer, list
The default is all.
agency
Integer, list
The default is all.
jurisdiction*
Integer, list
Required
page
Integer, single
The default is 1.

statestatutedata

The purpose of this resource is to allow users to query document level descriptive statistics for State StatuteData- as opposed to ML outputs located under the label resources. This resource supports parameters for jurisdiction, page, agency, cluster, and year. Year and jurisdiction are required parameters. The default parameters for the page is 1.


/statestatutedata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/statestatutedata?year=&jurisdiction=&agency=&page=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.statestatutedataGet(year, jurisdiction, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#statestatutedataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.statestatutedataGet(year, jurisdiction, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#statestatutedataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *jurisdiction = jurisdiction_example; // 
String *agency = agency_example; // The default is all. (optional)
String *page = page_example; // The default is 1. (optional)
String *cluster = cluster_example; // The default is all. (optional)

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

[apiInstance statestatutedataGetWith:year
    jurisdiction:jurisdiction
    agency:agency
    page:page
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var jurisdiction = jurisdiction_example; // {String} 

var opts = { 
  'agency': agency_example, // {String} The default is all.
  'page': page_example, // {String} The default is 1.
  'cluster': cluster_example // {String} The default is all.
};

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

namespace Example
{
    public class statestatutedataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | 
            var agency = agency_example;  // String | The default is all. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 
            var cluster = cluster_example;  // String | The default is all. (optional) 

            try
            {
                Empty result = apiInstance.statestatutedataGet(year, jurisdiction, agency, page, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.statestatutedataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$jurisdiction = jurisdiction_example; // String | 
$agency = agency_example; // String | The default is all.
$page = page_example; // String | The default is 1.
$cluster = cluster_example; // String | The default is all.

try {
    $result = $api_instance->statestatutedataGet($year, $jurisdiction, $agency, $page, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->statestatutedataGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $jurisdiction = jurisdiction_example; # String | 
my $agency = agency_example; # String | The default is all.
my $page = page_example; # String | The default is 1.
my $cluster = cluster_example; # String | The default is all.

eval { 
    my $result = $api_instance->statestatutedataGet(year => $year, jurisdiction => $jurisdiction, agency => $agency, page => $page, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->statestatutedataGet: $@\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.DefaultApi()
year = year_example # String | 
jurisdiction = jurisdiction_example # String | 
agency = agency_example # String | The default is all. (optional)
page = page_example # String | The default is 1. (optional)
cluster = cluster_example # String | The default is all. (optional)

try: 
    api_response = api_instance.statestatutedata_get(year, jurisdiction, agency=agency, page=page, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->statestatutedataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
jurisdiction*
Integer, list
Required
agency
Integer, list
The default is all.
page
Integer, single
The default is 1.
cluster
Integer, list
The default is all.

statestatutedata-labels

The purpose of this resource is to allow users to query document level ML outputs for State StatuteData. This resource supports parameters for jurisdiction, page, agency, cluster, series, label, and year. Year, jurisdiction, series, and label are required parameters. The default parameters for the page is 1.


/statestatutedata-labels

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/statestatutedata-labels?year=&series=&label=&cluster=&jurisdiction=&agency=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String cluster = cluster_example; // String | The default is all.
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.statestatutedataLabelsGet(year, series, label, jurisdiction, cluster, agency, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#statestatutedataLabelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String jurisdiction = jurisdiction_example; // String | 
        String cluster = cluster_example; // String | The default is all.
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        try {
            Empty result = apiInstance.statestatutedataLabelsGet(year, series, label, jurisdiction, cluster, agency, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#statestatutedataLabelsGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *series = series_example; // 
String *label = label_example; // 
String *jurisdiction = jurisdiction_example; // 
String *cluster = cluster_example; // The default is all. (optional)
String *agency = agency_example; // The default is all. (optional)
String *page = page_example; // The default is 1. (optional)

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

[apiInstance statestatutedataLabelsGetWith:year
    series:series
    label:label
    jurisdiction:jurisdiction
    cluster:cluster
    agency:agency
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var series = series_example; // {String} 

var label = label_example; // {String} 

var jurisdiction = jurisdiction_example; // {String} 

var opts = { 
  'cluster': cluster_example, // {String} The default is all.
  'agency': agency_example, // {String} The default is all.
  'page': page_example // {String} The default is 1.
};

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

namespace Example
{
    public class statestatutedataLabelsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var series = series_example;  // String | 
            var label = label_example;  // String | 
            var jurisdiction = jurisdiction_example;  // String | 
            var cluster = cluster_example;  // String | The default is all. (optional) 
            var agency = agency_example;  // String | The default is all. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 

            try
            {
                Empty result = apiInstance.statestatutedataLabelsGet(year, series, label, jurisdiction, cluster, agency, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.statestatutedataLabelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$series = series_example; // String | 
$label = label_example; // String | 
$jurisdiction = jurisdiction_example; // String | 
$cluster = cluster_example; // String | The default is all.
$agency = agency_example; // String | The default is all.
$page = page_example; // String | The default is 1.

try {
    $result = $api_instance->statestatutedataLabelsGet($year, $series, $label, $jurisdiction, $cluster, $agency, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->statestatutedataLabelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $series = series_example; # String | 
my $label = label_example; # String | 
my $jurisdiction = jurisdiction_example; # String | 
my $cluster = cluster_example; # String | The default is all.
my $agency = agency_example; # String | The default is all.
my $page = page_example; # String | The default is 1.

eval { 
    my $result = $api_instance->statestatutedataLabelsGet(year => $year, series => $series, label => $label, jurisdiction => $jurisdiction, cluster => $cluster, agency => $agency, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->statestatutedataLabelsGet: $@\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.DefaultApi()
year = year_example # String | 
series = series_example # String | 
label = label_example # String | 
jurisdiction = jurisdiction_example # String | 
cluster = cluster_example # String | The default is all. (optional)
agency = agency_example # String | The default is all. (optional)
page = page_example # String | The default is 1. (optional)

try: 
    api_response = api_instance.statestatutedata_labels_get(year, series, label, jurisdiction, cluster=cluster, agency=agency, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->statestatutedataLabelsGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
series*
Integer, single
Required
label*
Integer, list
Required
cluster
Integer, list
The default is all.
jurisdiction*
Integer, list
Required
agency
Integer, list
The default is all.
page
Integer, single
The default is 1.

unitedkingdom-summary

The purpose of this resource is to allow users to query summary level statistics for United Kingdom StatuteData. Year and jurisdiction are required parameters. The default parameter for the series is 1.


/unitedkingdom-summary

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/unitedkingdom-summary?year=&series="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        try {
            Empty result = apiInstance.unitedkingdomSummaryGet(year, series);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#unitedkingdomSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        try {
            Empty result = apiInstance.unitedkingdomSummaryGet(year, series);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#unitedkingdomSummaryGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *series = series_example; //  (optional)

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

[apiInstance unitedkingdomSummaryGetWith:year
    series:series
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'series': series_example // {String} 
};

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

namespace Example
{
    public class unitedkingdomSummaryGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var series = series_example;  // String |  (optional) 

            try
            {
                Empty result = apiInstance.unitedkingdomSummaryGet(year, series);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.unitedkingdomSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$series = series_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $series = series_example; # String | 

eval { 
    my $result = $api_instance->unitedkingdomSummaryGet(year => $year, series => $series);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->unitedkingdomSummaryGet: $@\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.DefaultApi()
year = year_example # String | 
series = series_example # String |  (optional)

try: 
    api_response = api_instance.unitedkingdom_summary_get(year, series=series)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->unitedkingdomSummaryGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, list
Required
series
Integer, list

unitedkingdomstatutedata

The purpose of this resource is to allow users to query document level descriptive statistics for United Kingdom StatuteData. Year and jurisdiction are required parameters. The default parameters for the page is 1.


/unitedkingdomstatutedata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/unitedkingdomstatutedata?year=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String page = page_example; // String | 
        try {
            Empty result = apiInstance.unitedkingdomstatutedataGet(year, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#unitedkingdomstatutedataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String page = page_example; // String | 
        try {
            Empty result = apiInstance.unitedkingdomstatutedataGet(year, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#unitedkingdomstatutedataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *page = page_example; //  (optional)

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

[apiInstance unitedkingdomstatutedataGetWith:year
    page:page
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'page': page_example // {String} 
};

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

namespace Example
{
    public class unitedkingdomstatutedataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var page = page_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$page = page_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $page = page_example; # String | 

eval { 
    my $result = $api_instance->unitedkingdomstatutedataGet(year => $year, page => $page);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->unitedkingdomstatutedataGet: $@\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.DefaultApi()
year = year_example # String | 
page = page_example # String |  (optional)

try: 
    api_response = api_instance.unitedkingdomstatutedata_get(year, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->unitedkingdomstatutedataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
page
Integer, single

usregdata

The purpose of this resource is to allow users to query document level descriptive statistics for United States (Federal) RegData- as opposed to ML outputs located under the label resources. This resource supports parameters for page, agency, cluster, and year. Year is a required parameter. The default parameters for the page is 1.


/usregdata

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/usregdata?year=&agency=&page=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | 1
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.usregdataGet(year, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usregdataGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | 1
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.usregdataGet(year, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usregdataGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *agency = agency_example; // The default is all. (optional)
String *page = page_example; // 1 (optional)
String *cluster = cluster_example; // The default is all. (optional)

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

[apiInstance usregdataGetWith:year
    agency:agency
    page:page
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'agency': agency_example, // {String} The default is all.
  'page': page_example, // {String} 1
  'cluster': cluster_example // {String} The default is all.
};

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

namespace Example
{
    public class usregdataGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var agency = agency_example;  // String | The default is all. (optional) 
            var page = page_example;  // String | 1 (optional) 
            var cluster = cluster_example;  // String | The default is all. (optional) 

            try
            {
                Empty result = apiInstance.usregdataGet(year, agency, page, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usregdataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$agency = agency_example; // String | The default is all.
$page = page_example; // String | 1
$cluster = cluster_example; // String | The default is all.

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

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $agency = agency_example; # String | The default is all.
my $page = page_example; # String | 1
my $cluster = cluster_example; # String | The default is all.

eval { 
    my $result = $api_instance->usregdataGet(year => $year, agency => $agency, page => $page, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->usregdataGet: $@\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.DefaultApi()
year = year_example # String | 
agency = agency_example # String | The default is all. (optional)
page = page_example # String | 1 (optional)
cluster = cluster_example # String | The default is all. (optional)

try: 
    api_response = api_instance.usregdata_get(year, agency=agency, page=page, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->usregdataGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
agency
Integer, list
The default is all.
page
Integer, single
1
cluster
Integer, list
The default is all.

usregdata-labels

The purpose of this resource is to allow users to query document level ML outputs for United States (Federal) RegData. This resource supports parameters for page, agency, cluster, series, label, and year. Year, series, and label are required parameters. The default parameters for the page is 1.


/usregdata-labels

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/usregdata-labels?year=&agency=&page=&series=&label=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.usregdataLabelsGet(year, series, label, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usregdataLabelsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String series = series_example; // String | 
        String label = label_example; // String | 
        String agency = agency_example; // String | The default is all.
        String page = page_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.usregdataLabelsGet(year, series, label, agency, page, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usregdataLabelsGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *series = series_example; // 
String *label = label_example; // 
String *agency = agency_example; // The default is all. (optional)
String *page = page_example; // The default is 1. (optional)
String *cluster = cluster_example; // The default is all. (optional)

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

[apiInstance usregdataLabelsGetWith:year
    series:series
    label:label
    agency:agency
    page:page
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var series = series_example; // {String} 

var label = label_example; // {String} 

var opts = { 
  'agency': agency_example, // {String} The default is all.
  'page': page_example, // {String} The default is 1.
  'cluster': cluster_example // {String} The default is all.
};

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

namespace Example
{
    public class usregdataLabelsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var series = series_example;  // String | 
            var label = label_example;  // String | 
            var agency = agency_example;  // String | The default is all. (optional) 
            var page = page_example;  // String | The default is 1. (optional) 
            var cluster = cluster_example;  // String | The default is all. (optional) 

            try
            {
                Empty result = apiInstance.usregdataLabelsGet(year, series, label, agency, page, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usregdataLabelsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$series = series_example; // String | 
$label = label_example; // String | 
$agency = agency_example; // String | The default is all.
$page = page_example; // String | The default is 1.
$cluster = cluster_example; // String | The default is all.

try {
    $result = $api_instance->usregdataLabelsGet($year, $series, $label, $agency, $page, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usregdataLabelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $series = series_example; # String | 
my $label = label_example; # String | 
my $agency = agency_example; # String | The default is all.
my $page = page_example; # String | The default is 1.
my $cluster = cluster_example; # String | The default is all.

eval { 
    my $result = $api_instance->usregdataLabelsGet(year => $year, series => $series, label => $label, agency => $agency, page => $page, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->usregdataLabelsGet: $@\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.DefaultApi()
year = year_example # String | 
series = series_example # String | 
label = label_example # String | 
agency = agency_example # String | The default is all. (optional)
page = page_example # String | The default is 1. (optional)
cluster = cluster_example # String | The default is all. (optional)

try: 
    api_response = api_instance.usregdata_labels_get(year, series, label, agency=agency, page=page, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->usregdataLabelsGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, single
Required
agency
Integer, list
The default is all.
page
Integer, single
The default is 1.
series*
Integer, single
Required
label*
Integer, list
Required
cluster
Integer, list
The default is all.

usregdata-summary

The purpose of this resource is to allow users to query all summary level statistics for the United States (Federal) RegData. This resource supports parameters for agency, cluster, series, and year. Year is a required parameter. The default parameters for the series is 1.


/usregdata-summary

Usage and SDK Samples

curl -X GET "https://64gzqlrrd2.execute-api.us-east-1.amazonaws.com/dev/usregdata-summary?year=&agency=&series=&cluster="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

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

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String agency = agency_example; // String | The default is all.
        String series = series_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.usregdataSummaryGet(year, agency, series, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usregdataSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String year = year_example; // String | 
        String agency = agency_example; // String | The default is all.
        String series = series_example; // String | The default is 1.
        String cluster = cluster_example; // String | The default is all.
        try {
            Empty result = apiInstance.usregdataSummaryGet(year, agency, series, cluster);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#usregdataSummaryGet");
            e.printStackTrace();
        }
    }
}
String *year = year_example; // 
String *agency = agency_example; // The default is all. (optional)
String *series = series_example; // The default is 1. (optional)
String *cluster = cluster_example; // The default is all. (optional)

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

[apiInstance usregdataSummaryGetWith:year
    agency:agency
    series:series
    cluster:cluster
              completionHandler: ^(Empty output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var RegcensusApi = require('regcensus_api');

var api = new RegcensusApi.DefaultApi()

var year = year_example; // {String} 

var opts = { 
  'agency': agency_example, // {String} The default is all.
  'series': series_example, // {String} The default is 1.
  'cluster': cluster_example // {String} The default is all.
};

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

namespace Example
{
    public class usregdataSummaryGetExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();
            var year = year_example;  // String | 
            var agency = agency_example;  // String | The default is all. (optional) 
            var series = series_example;  // String | The default is 1. (optional) 
            var cluster = cluster_example;  // String | The default is all. (optional) 

            try
            {
                Empty result = apiInstance.usregdataSummaryGet(year, agency, series, cluster);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.usregdataSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$year = year_example; // String | 
$agency = agency_example; // String | The default is all.
$series = series_example; // String | The default is 1.
$cluster = cluster_example; // String | The default is all.

try {
    $result = $api_instance->usregdataSummaryGet($year, $agency, $series, $cluster);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->usregdataSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $year = year_example; # String | 
my $agency = agency_example; # String | The default is all.
my $series = series_example; # String | The default is 1.
my $cluster = cluster_example; # String | The default is all.

eval { 
    my $result = $api_instance->usregdataSummaryGet(year => $year, agency => $agency, series => $series, cluster => $cluster);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->usregdataSummaryGet: $@\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.DefaultApi()
year = year_example # String | 
agency = agency_example # String | The default is all. (optional)
series = series_example # String | The default is 1. (optional)
cluster = cluster_example # String | The default is all. (optional)

try: 
    api_response = api_instance.usregdata_summary_get(year, agency=agency, series=series, cluster=cluster)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->usregdataSummaryGet: %s\n" % e)

Parameters

Query parameters
Name Description
year*
Integer, list
Required
agency
Integer, list
The default is all.
series
Integer, list
The default is 1.
cluster
Integer, list
The default is all.