jalc 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5fdce5e853ede1ac804e51da6a9bf0b7532837ff1498aa6add35eceaee2d0687
4
+ data.tar.gz: ad553fdc076b4ae3ad9b17b22f2b0286f676a342bae260c890e9a9c4c304a773
5
+ SHA512:
6
+ metadata.gz: 40bda7b62fb1957ef8642c84df04d9181445f98762c130637e7f23140b7021efc8688159774456ea3a5d4318654988cfb68360d54b74ec81be20d8d3ad774fcb
7
+ data.tar.gz: e372dc2f3c0ac7982b72f551a5f9901289a3c56229c6b4c1b892b3f5abcbf88553557aca262c15f81d62a7540a769432083086bf05ddbe0e0352e2885d070cf7
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,39 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 2.7
7
+ NewCops: enable
8
+
9
+ Metrics/BlockLength:
10
+ Exclude:
11
+ - spec/**/*
12
+
13
+ Metrics/MethodLength:
14
+ Enabled: false
15
+
16
+ Metrics/ParameterLists:
17
+ Enabled: false
18
+
19
+ Naming/MethodParameterName:
20
+ Enabled: false
21
+
22
+ Style/Documentation:
23
+ Enabled: false
24
+
25
+ Style/TrailingCommaInArguments:
26
+ EnforcedStyleForMultiline: consistent_comma
27
+
28
+ Style/TrailingCommaInHashLiteral:
29
+ EnforcedStyleForMultiline: consistent_comma
30
+
31
+ RSpec/ExampleLength:
32
+ Enabled: false
33
+
34
+ RSpec/FilePath:
35
+ CustomTransform:
36
+ JaLC: jalc
37
+
38
+ RSpec/MultipleExpectations:
39
+ Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [1.0.0] - 2022-01-09
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at takahiro-miyoshi@sankichi.net. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in jalc.gemspec
6
+ gemspec
7
+
8
+ gem 'debug'
9
+ gem 'rake'
10
+ gem 'rspec'
11
+ gem 'rubocop'
12
+ gem 'rubocop-rake'
13
+ gem 'rubocop-rspec'
14
+ gem 'webmock'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Takahiro Miyoshi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # jalc-ruby
2
+
3
+ Ruby client for [JaLC (Japan Link Center)](https://japanlinkcenter.org/top/) API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'jalc'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install jalc
20
+
21
+ ## Usage
22
+
23
+ ### JaLC REST API
24
+
25
+ See https://api.japanlinkcenter.org/api-docs/index.html for API detail.
26
+
27
+ ```ruby
28
+ require 'jalc'
29
+
30
+ JaLC::REST.config.logger = MyLogger.new
31
+
32
+ # GET /prefixes
33
+ prefixes_res = JaLC::REST.prefixes(ra: 'JaLC', sort: 'siteId', order: 'desc')
34
+ prefix = prefixes_res.body['data']['items'].first['prefix'] #=> 10.123
35
+
36
+ # GET /doilist/:prefix
37
+ doilist_res = JaLC::REST.doilist(prefix, rows: 100)
38
+ doi = doilist_res.body['data']['items'].last['dois']['doi'] #=> 10.123/abc
39
+
40
+ # GET /dois/:doi
41
+ doi_res = JaLC::REST.doi(doi)
42
+ doi_res.body['data']
43
+ ```
44
+
45
+ ## Development
46
+
47
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
48
+
49
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
50
+
51
+ ## Contributing
52
+
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/sankichi92/jalc-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/sankichi92/jalc-ruby/blob/main/CODE_OF_CONDUCT.md).
54
+
55
+ ## License
56
+
57
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
58
+
59
+ ## Code of Conduct
60
+
61
+ Everyone interacting in the jalc-ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/sankichi92/jalc-ruby/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'jalc'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/jalc.gemspec ADDED
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/jalc/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'jalc'
7
+ spec.version = JaLC::VERSION
8
+ spec.authors = ['Takahiro Miyoshi']
9
+ spec.email = ['takahiro-miyoshi@sankichi.net']
10
+
11
+ spec.summary = 'JaLC (Japan Link Center) API Client'
12
+ spec.homepage = 'https://github.com/sankichi92/jalc-ruby'
13
+ spec.license = 'MIT'
14
+ spec.required_ruby_version = '>= 2.7.0'
15
+
16
+ spec.metadata['homepage_uri'] = spec.homepage
17
+ spec.metadata['source_code_uri'] = 'https://github.com/sankichi92/jalc-ruby'
18
+ spec.metadata['changelog_uri'] = 'https://github.com/sankichi92/jalc-ruby/blob/main/CHANGELOG.md'
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0").reject do |f|
24
+ (f == __FILE__) || f.match(%r{\A(?:(?:spec|gemfiles)/|\.(?:git|vscode))})
25
+ end
26
+ end
27
+ # spec.bindir = "exe"
28
+ # spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ['lib']
30
+
31
+ # Uncomment to register a new dependency of your gem
32
+ spec.add_dependency 'faraday', '>= 1.0', '< 3.0'
33
+
34
+ # For more information and examples about making a new gem, check out our
35
+ # guide at: https://bundler.io/guides/creating_gem.html
36
+ spec.metadata['rubygems_mfa_required'] = 'true'
37
+ end
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'uri'
4
+
5
+ require 'faraday'
6
+
7
+ require_relative 'response/raise_error'
8
+ require_relative '../version'
9
+
10
+ module JaLC
11
+ module REST
12
+ BASE_URL = 'https://api.japanlinkcenter.org'
13
+
14
+ class Client
15
+ def initialize(logger: nil, base_url: BASE_URL)
16
+ @logger = logger
17
+ @base_url = base_url
18
+ end
19
+
20
+ def prefixes(ra: nil, sort: nil, order: nil)
21
+ conn.get(
22
+ '/prefixes',
23
+ {
24
+ ra: ra,
25
+ sort: sort,
26
+ order: order,
27
+ }.compact,
28
+ )
29
+ end
30
+
31
+ def doilist(prefix, from: nil, to: nil, rows: nil, page: nil, sort: nil, order: nil)
32
+ conn.get(
33
+ "/doilist/#{prefix}",
34
+ {
35
+ from: from,
36
+ until: to, # since `until` is Ruby's keyword
37
+ rows: rows,
38
+ page: page,
39
+ sort: sort,
40
+ order: order,
41
+ }.compact,
42
+ )
43
+ end
44
+
45
+ def doi(doi)
46
+ encoded_doi = URI.encode_www_form_component(URI.encode_www_form_component(doi))
47
+ conn.get("/dois/#{encoded_doi}")
48
+ end
49
+
50
+ private
51
+
52
+ def conn
53
+ @conn ||= Faraday.new(
54
+ url: @base_url,
55
+ headers: { 'User-Agent' => "jalc-ruby v#{VERSION}" },
56
+ ) do |f|
57
+ f.use Response::RaiseError
58
+ f.response :json
59
+ f.response :logger, @logger, { headers: false } if @logger
60
+ end
61
+ rescue Faraday::Error => e
62
+ raise e unless e.message.match?(/is not registered/)
63
+
64
+ begin
65
+ require 'faraday_middleware'
66
+ rescue LoadError
67
+ raise LoadError, 'faraday_middleware gem is required when using Faraday v1.' \
68
+ " Please add `gem 'faraday_middleware'` to your Gemfile."
69
+ end
70
+
71
+ retry
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'logger'
4
+
5
+ module JaLC
6
+ module REST
7
+ class Config
8
+ attr_accessor :logger
9
+
10
+ def initialize
11
+ @logger = ::Logger.new($stdout)
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday'
4
+
5
+ module JaLC
6
+ module REST
7
+ class Error < StandardError; end
8
+
9
+ class HTTPError < Error
10
+ attr_reader :response
11
+
12
+ def initialize(msg = nil, response: nil)
13
+ @response = response
14
+ msg ||= response[:body].dig('message', 'errors', 'message') if response && response[:body].respond_to?(:dig)
15
+ msg ||= "the server responded with status #{response[:status]}" if response
16
+
17
+ super(msg)
18
+ end
19
+
20
+ def inspect
21
+ if response
22
+ %(#<#{self.class} response=#{response.inspect}>)
23
+ else
24
+ super
25
+ end
26
+ end
27
+ end
28
+
29
+ class ClientError < HTTPError; end
30
+ class BadRequestError < ClientError; end
31
+ class ResourceNotFound < ClientError; end
32
+ class ServerError < HTTPError; end
33
+ class NilStatusError < ServerError; end
34
+ end
35
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday'
4
+
5
+ require_relative '../error'
6
+
7
+ module JaLC
8
+ module REST
9
+ class Response
10
+ class RaiseError < Faraday::Middleware
11
+ def on_complete(env)
12
+ case env[:status]
13
+ when 400
14
+ raise BadRequestError.new(response: response_values(env))
15
+ when 404
16
+ raise ResourceNotFound.new(response: response_values(env))
17
+ when 400...500
18
+ raise ClientError.new(response: response_values(env))
19
+ when 500...600
20
+ raise ServerError.new(response: response_values(env))
21
+ when nil
22
+ raise NilStatusError.new(
23
+ 'http status could not be derived from the server response',
24
+ response: response_values(env),
25
+ )
26
+ end
27
+ end
28
+
29
+ def response_values(env)
30
+ {
31
+ status: env.status,
32
+ headers: env.response_headers,
33
+ body: env.body,
34
+ request: {
35
+ method: env.method,
36
+ url: env.url,
37
+ headers: env.request_headers,
38
+ body: env.request_body,
39
+ },
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
data/lib/jalc/rest.rb ADDED
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'forwardable'
4
+
5
+ require_relative 'rest/client'
6
+ require_relative 'rest/config'
7
+
8
+ module JaLC
9
+ module REST
10
+ class << self
11
+ extend Forwardable
12
+
13
+ def_delegators :client, :prefixes, :doilist, :doi
14
+
15
+ def configure
16
+ yield config
17
+ end
18
+
19
+ def config
20
+ @config ||= Config.new
21
+ end
22
+
23
+ private
24
+
25
+ def client
26
+ @client ||= Client.new(logger: config.logger)
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module JaLC
4
+ VERSION = '1.0.0'
5
+ end
data/lib/jalc.rb ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'jalc/rest'
4
+ require_relative 'jalc/version'
data/sig/jalc/rest.rbs ADDED
@@ -0,0 +1,6 @@
1
+ module JaLC
2
+ module REST
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jalc
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Takahiro Miyoshi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
33
+ description:
34
+ email:
35
+ - takahiro-miyoshi@sankichi.net
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
40
+ - ".rspec"
41
+ - ".rubocop.yml"
42
+ - CHANGELOG.md
43
+ - CODE_OF_CONDUCT.md
44
+ - Gemfile
45
+ - LICENSE.txt
46
+ - README.md
47
+ - Rakefile
48
+ - bin/console
49
+ - bin/setup
50
+ - jalc.gemspec
51
+ - lib/jalc.rb
52
+ - lib/jalc/rest.rb
53
+ - lib/jalc/rest/client.rb
54
+ - lib/jalc/rest/config.rb
55
+ - lib/jalc/rest/error.rb
56
+ - lib/jalc/rest/response/raise_error.rb
57
+ - lib/jalc/version.rb
58
+ - sig/jalc/rest.rbs
59
+ homepage: https://github.com/sankichi92/jalc-ruby
60
+ licenses:
61
+ - MIT
62
+ metadata:
63
+ homepage_uri: https://github.com/sankichi92/jalc-ruby
64
+ source_code_uri: https://github.com/sankichi92/jalc-ruby
65
+ changelog_uri: https://github.com/sankichi92/jalc-ruby/blob/main/CHANGELOG.md
66
+ rubygems_mfa_required: 'true'
67
+ post_install_message:
68
+ rdoc_options: []
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 2.7.0
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ requirements: []
82
+ rubygems_version: 3.3.3
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: JaLC (Japan Link Center) API Client
86
+ test_files: []