syconium 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 55d5d0115c8a5b83c91d51e09ea051f030cc0c26acc9cbe0b45eaeed492cafae
4
+ data.tar.gz: 210e6d69febf61996f3c813fed1adf58dbd5e0a438a4c2c2d0db5581c49718a7
5
+ SHA512:
6
+ metadata.gz: 658058035ed5195bf3850aa56afbd80447455518619ccc5fa8365fbf6fd661d852f28850c230ab12677440391fea6a27d13f36f49393d6cf8bcd3a499e883a41
7
+ data.tar.gz: 9b6a9eab86b5429ef3805434ab4154e5e50097e3fafccfd93e05d91da8d4b633482c0504b097ea4d8595625dae6c37c0d88aa5d3bd15fa9002248b342989adc3
@@ -0,0 +1,19 @@
1
+ name: Ruby
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Ruby
11
+ uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 3.3.4
14
+ bundler-cache: true
15
+ - name: Run the default task
16
+ run: bundle exec rake
17
+ env:
18
+ USER: ${{ vars.USER }}
19
+ PASSWORD: ${{ secrets.PASSWORD }}
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ .byebug_history
2
+ /.bundle/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ Gemfile.lock
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.0.1] - 2025-07-11
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 diapriid@gmail.com. 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,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in syconium.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "minitest", "~> 5.0"
data/LICENSE.txt ADDED
@@ -0,0 +1,10 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright © 2025 Species File Group
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10
+
data/README.md ADDED
@@ -0,0 +1,421 @@
1
+ # Syconium
2
+
3
+ Syconium is a Ruby wrapper on the [OpenAlex](https://openalex.org) API. Code follow the spirit/approach of the Gem [serrano](https://github.com/sckott/serrano), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'syconium'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install syconium
20
+
21
+ ## Usage
22
+
23
+ To use the OpenAlex API via the Syconium Ruby gem, you must supply either your email address or your api_key. Providing your email helps OpenAlex get in touch with your if there is a problem with your software.
24
+
25
+ ### Pagination
26
+
27
+ For pagination, you can browse up to 10,000 results with the page and per_page parameters:
28
+ ```ruby
29
+ Syconium.works(email: "your_email@example.com", page: 5, per_page:25) # => Hash
30
+ ```
31
+
32
+ Beyond 10,000 results it is strongly recommended to use the [data snapshot](https://docs.openalex.org/download-all-data/openalex-snapshot) instead of the API, but you can also use a cursor, which you can request with a *:
33
+ ```ruby
34
+ Syconium.works(email: "your_email@example.com", per_page:1, cursor="*") # => Hash
35
+ ```
36
+ The metadata will contain the next_cursor to browse the next page:
37
+ ```ruby
38
+ Syconium.works(email: "your_email@example.com", per_page:1, cursor="IlsxMDAuMCwgNTM2NCwgJ2h0dHBzOi8vb3BlbmFsZXgub3JnL1czMDEwNDQxNzMyJ10i")
39
+ ```
40
+
41
+
42
+ ### Endpoints
43
+
44
+ All of the endpoints (authors, funders, keywords, institutions, publishers, sources, topics, works) are wrapped and function similarly.
45
+
46
+ #### [Authors](https://docs.openalex.org/api-entities/authors)
47
+
48
+ List authors:
49
+ ```ruby
50
+ Syconium.authors() # => Hash
51
+ ```
52
+
53
+ Search authors:
54
+ ```ruby
55
+ Syconium.authors(email: "your_email@example.com", search: "Smith") # => Hash
56
+ ```
57
+
58
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
59
+ ```ruby
60
+ Syconium.authors(email: "your_email@example.com", autocomplete: true, q: "Smi") # => Hash
61
+ Syconium.authors(email: "your_email@example.com", autocomplete: true, q: "Smi", search: "John") # => Hash
62
+ ```
63
+
64
+ Filter authors by [attributes](https://docs.openalex.org/api-entities/authors/filter-authors):
65
+ ```ruby
66
+ Syconium.authors(email: "your_email@example.com", filter: 'has_orcid:true') # => Hash
67
+ ```
68
+
69
+ Group results by [attributes](https://docs.openalex.org/api-entities/authors/group-authors):
70
+ ```ruby
71
+ Syconium.authors(email: "your_email@example.com", group_by: 'has_orcid') # => Hash
72
+ ```
73
+
74
+ Get an author by ID:
75
+ ```ruby
76
+ Syconium.authors(email: "your_email@example.com", id: 'A1234567') # => Hash
77
+ Syconium.authors(email: "your_email@example.com", id: 'orcid:0000-0000-0000-0000') # => Hash
78
+ ```
79
+
80
+ Get a random author:
81
+ ```ruby
82
+ Syconium.authors(email: "your_email@example.com", random: true) # => Hash
83
+ ```
84
+
85
+ Get a random sample of 25 authors:
86
+ ```ruby
87
+ Syconium.authors(email: "your_email@example.com", sample: 25) # => Hash
88
+ ```
89
+
90
+ #### [Concepts](https://docs.openalex.org/api-entities/concepts)
91
+ The concepts endpoints should work, but they are depreciated/unmaintained so it is recommended to use Topics instead.
92
+
93
+
94
+ #### [Funders](https://docs.openalex.org/api-entities/funders)
95
+
96
+ List funders:
97
+ ```ruby
98
+ Syconium.funders() # => Hash
99
+ ```
100
+
101
+ Search funders:
102
+ ```ruby
103
+ Syconium.funders(email: "your_email@example.com", search: "Smith") # => Hash
104
+ ```
105
+
106
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
107
+ ```ruby
108
+ Syconium.funders(email: "your_email@example.com", autocomplete: true, q: "Nationa") # => Hash
109
+ Syconium.funders(email: "your_email@example.com", autocomplete: true, q: "Nationa", search: "Biodiversity") # => Hash
110
+ ```
111
+
112
+ Filter funders by [attributes](https://docs.openalex.org/api-entities/funders/filter-funders):
113
+ ```ruby
114
+ Syconium.funders(email: "your_email@example.com", filter: 'country_code:ca') # => Hash
115
+ ```
116
+
117
+ Group results by [attributes](https://docs.openalex.org/api-entities/funders/group-funders):
118
+ ```ruby
119
+ Syconium.funders(email: "your_email@example.com", group_by: 'country_code') # => Hash
120
+ ```
121
+
122
+ Get a funder by ID:
123
+ ```ruby
124
+ Syconium.funders(email: "your_email@example.com", id: 'F4320306076') # => Hash
125
+ Syconium.funders(email: "your_email@example.com", id: 'ror:021nxhr62') # => Hash
126
+ ```
127
+
128
+ Get a random funders:
129
+ ```ruby
130
+ Syconium.funders(email: "your_email@example.com", random: true) # => Hash
131
+ ```
132
+
133
+ Get a random sample of 25 funders:
134
+ ```ruby
135
+ Syconium.funders(email: "your_email@example.com", sample: 25) # => Hash
136
+ ```
137
+
138
+
139
+ #### [Institutions](https://docs.openalex.org/api-entities/institutions)
140
+
141
+ List institutions:
142
+ ```ruby
143
+ Syconium.institutions() # => Hash
144
+ ```
145
+
146
+ Search institutions:
147
+ ```ruby
148
+ Syconium.institutions(email: "your_email@example.com", search: "biodiversity") # => Hash
149
+ ```
150
+
151
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
152
+ ```ruby
153
+ Syconium.institutions(email: "your_email@example.com", autocomplete: true, q: "biodiv") # => Hash
154
+ Syconium.institutions(email: "your_email@example.com", autocomplete: true, q: "greenhou", search: "frogs") # => Hash
155
+ ```
156
+
157
+ Filter institutions by [attributes](https://docs.openalex.org/api-entities/institutions/filter-institutions):
158
+ ```ruby
159
+ Syconium.institutions(email: "your_email@example.com", filter: 'is_oa:true') # => Hash
160
+ ```
161
+
162
+ Group results by [attributes](https://docs.openalex.org/api-entities/institutions/group-institutions):
163
+ ```ruby
164
+ Syconium.institutions(email: "your_email@example.com", group_by: 'oa_status') # => Hash
165
+ ```
166
+
167
+ Get an institution by ID:
168
+ ```ruby
169
+ Syconium.institutions(email: "your_email@example.com", id: 'I157725225') # => Hash
170
+ Syconium.institutions(email: "your_email@example.com", id: 'ror:047426m28') # => Hash
171
+ ```
172
+
173
+ Get a random institution:
174
+ ```ruby
175
+ Syconium.institutions(email: "your_email@example.com", random: true) # => Hash
176
+ ```
177
+
178
+ Get a random sample of 25 institutions:
179
+ ```ruby
180
+ Syconium.institutions(email: "your_email@example.com", sample: 25) # => Hash
181
+ ```
182
+
183
+ #### [Keywords](https://docs.openalex.org/api-entities/keywords)
184
+
185
+ List keywords:
186
+ ```ruby
187
+ Syconium.keywords() # => Hash
188
+ ```
189
+
190
+ Search keywords:
191
+ ```ruby
192
+ Syconium.keywords(email: "your_email@example.com", search: "biodiversity") # => Hash
193
+ ```
194
+
195
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
196
+ ```ruby
197
+ Syconium.keywords(email: "your_email@example.com", autocomplete: true, q: "biodiv") # => Hash
198
+ Syconium.keywords(email: "your_email@example.com", autocomplete: true, q: "ani", search: "evolution")) # => Hash
199
+ ```
200
+
201
+ Filter keywords by [attributes](https://docs.openalex.org/api-entities/keywords):
202
+ ```ruby
203
+ Syconium.keywords(email: "your_email@example.com", filter: 'works_count:1') # => Hash
204
+ ```
205
+
206
+ Group results by [attributes](https://docs.openalex.org/api-entities/keywords):
207
+ ```ruby
208
+ Syconium.keywords(email: "your_email@example.com", group_by: 'cited_by_count') # => Hash
209
+ ```
210
+
211
+ Get a keywords by ID:
212
+ ```ruby
213
+ Syconium.keywords(email: "your_email@example.com", id: 'biodiversity-conservation') # => Hash
214
+ ```
215
+
216
+ Get a random sample of 5 keywords:
217
+ ```ruby
218
+ Syconium.keywords(email: "your_email@example.com", sample: 25) # => Hash
219
+ ```
220
+
221
+
222
+ #### [Publishers](https://docs.openalex.org/api-entities/publishers)
223
+
224
+ List publishers:
225
+ ```ruby
226
+ Syconium.publishers() # => Hash
227
+ ```
228
+
229
+ Search publishers:
230
+ ```ruby
231
+ Syconium.publishers(email: "your_email@example.com", search: "biodiversity") # => Hash
232
+ ```
233
+
234
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
235
+ ```ruby
236
+ Syconium.publishers(email: "your_email@example.com", autocomplete: true, q: "biodiv") # => Hash
237
+ Syconium.publishers(email: "your_email@example.com", autocomplete: true, q: "greenhou", search: "frogs") # => Hash
238
+ ```
239
+
240
+ Filter publishers by [attributes](https://docs.openalex.org/api-entities/publishers/filter-publishers):
241
+ ```ruby
242
+ Syconium.publishers(email: "your_email@example.com", filter: 'hierarchy_level:0') # => Hash
243
+ ```
244
+
245
+ Group results by [attributes](https://docs.openalex.org/api-entities/publishers/group-publishers):
246
+ ```ruby
247
+ Syconium.publishers(email: "your_email@example.com", group_by: 'country_codes') # => Hash
248
+ ```
249
+
250
+ Get a publishers by ID:
251
+ ```ruby
252
+ Syconium.publishers(email: "your_email@example.com", id: 'P4310315930') # => Hash
253
+ Syconium.publishers(email: "your_email@example.com", id: 'ror:047426m28') # => Hash
254
+ ```
255
+
256
+ Get a random publishers:
257
+ ```ruby
258
+ Syconium.publishers(email: "your_email@example.com", random: true) # => Hash
259
+ ```
260
+
261
+ Get a random sample of 25 publishers:
262
+ ```ruby
263
+ Syconium.publishers(email: "your_email@example.com", sample: 25) # => Hash
264
+ ```
265
+
266
+
267
+ #### [Sources](https://docs.openalex.org/api-entities/sources)
268
+ Sources are where works are hosted and include several types: conferences, journals, preprint repositories, institutional repositories, etc.
269
+
270
+ List sources:
271
+ ```ruby
272
+ Syconium.sources() # => Hash
273
+ ```
274
+
275
+ Search sources:
276
+ ```ruby
277
+ Syconium.sources(email: "your_email@example.com", search: "biodiversity") # => Hash
278
+ ```
279
+
280
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
281
+ ```ruby
282
+ Syconium.sources(email: "your_email@example.com", autocomplete: true, q: "eco") # => Hash
283
+ Syconium.sources(email: "your_email@example.com", autocomplete: true, q: "eco", search: "biodiversity") # => Hash
284
+ ```
285
+
286
+ Filter sources by [attributes](https://docs.openalex.org/api-entities/sources/filter-sources):
287
+ ```sources
288
+ Syconium.sources(email: "your_email@example.com", filter: 'is_oa:true') # => Hash
289
+ ```
290
+
291
+ Group results by [attributes](https://docs.openalex.org/api-entities/sources/group-sources):
292
+ ```ruby
293
+ Syconium.sources(email: "your_email@example.com", group_by: 'oa_status') # => Hash
294
+ ```
295
+
296
+ Get a sources by ID:
297
+ ```ruby
298
+ Syconium.sources(email: "your_email@example.com", id: 'S4306402618') # => Hash
299
+ Syconium.sources(email: "your_email@example.com", id: 'issn:1314-2828') # => Hash
300
+ ```
301
+
302
+ Get a random source:
303
+ ```ruby
304
+ Syconium.sources(email: "your_email@example.com", random: true) # => Hash
305
+ ```
306
+
307
+ Get a random sample of 25 sources:
308
+ ```ruby
309
+ Syconium.sources(email: "your_email@example.com", sample: 25) # => Hash
310
+ ```
311
+
312
+
313
+ #### [Topics](https://docs.openalex.org/api-entities/topics)
314
+
315
+ List topics:
316
+ ```ruby
317
+ Syconium.topics() # => Hash
318
+ ```
319
+
320
+ Search topics:
321
+ ```ruby
322
+ Syconium.topics(email: "your_email@example.com", search: "biodiversity") # => Hash
323
+ ```
324
+
325
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
326
+ ```ruby
327
+ Syconium.topics(email: "your_email@example.com", autocomplete: true, q: "biodiv") # => Hash
328
+ Syconium.topics(email: "your_email@example.com", autocomplete: true, q: "greenhou", search: "frogs") # => Hash
329
+ ```
330
+
331
+ Filter topics by [attributes](https://docs.openalex.org/api-entities/topics/filter-topics):
332
+ ```ruby
333
+ Syconium.topics(email: "your_email@example.com", filter: 'subfield.id:1311') # => Hash
334
+ ```
335
+
336
+ Group results by [attributes](https://docs.openalex.org/api-entities/topics/group-topics):
337
+ ```ruby
338
+ Syconium.topics(email: "your_email@example.com", group_by: 'subfield.id') # => Hash
339
+ ```
340
+
341
+ Get a topics by ID:
342
+ ```ruby
343
+ Syconium.topics(email: "your_email@example.com", id: 'T10319') # => Hash
344
+ ```
345
+
346
+ Get a random topics:
347
+ ```ruby
348
+ Syconium.topics(email: "your_email@example.com", random: true) # => Hash
349
+ ```
350
+
351
+ Get a random sample of 25 works:
352
+ ```ruby
353
+ Syconium.topics(email: "your_email@example.com", sample: 25) # => Hash
354
+ ```
355
+
356
+
357
+ #### [Works](https://docs.openalex.org/api-entities/works)
358
+
359
+ List works:
360
+ ```ruby
361
+ Syconium.works() # => Hash
362
+ ```
363
+
364
+ Search works:
365
+ ```ruby
366
+ Syconium.works(email: "your_email@example.com", search: "biodiversity") # => Hash
367
+ ```
368
+
369
+ For autocomplete, use the q parameter as the autocomplete field and also optionally you can use the filter and search parameters:
370
+ ```ruby
371
+ Syconium.works(email: "your_email@example.com", autocomplete: true, q: "biodiv") # => Hash
372
+ Syconium.works(email: "your_email@example.com", autocomplete: true, q: "greenhou", search: "frogs") # => Hash
373
+ ```
374
+
375
+ Filter works by [attributes](https://docs.openalex.org/api-entities/works/filter-works):
376
+ ```ruby
377
+ Syconium.works(email: "your_email@example.com", filter: 'is_oa:true') # => Hash
378
+ ```
379
+
380
+ Group results by [attributes](https://docs.openalex.org/api-entities/works/group-works):
381
+ ```ruby
382
+ Syconium.works(email: "your_email@example.com", group_by: 'oa_status') # => Hash
383
+ ```
384
+
385
+ Get a work by ID:
386
+ ```ruby
387
+ Syconium.works(email: "your_email@example.com", id: 'pmid:33982150') # => Hash
388
+ Syconium.works(email: "your_email@example.com", id: 'doi:10.48550/arXiv.2205.01833') # => Hash
389
+ Syconium.works(email: "your_email@example.com", id: 'https://doi.org/10.48550/arXiv.2205.01833') # => Hash
390
+ ```
391
+
392
+ Get a random work:
393
+ ```ruby
394
+ Syconium.works(email: "your_email@example.com", random: true) # => Hash
395
+ ```
396
+
397
+ Get a random sample of 25 works:
398
+ ```ruby
399
+ Syconium.works(email: "your_email@example.com", sample: 25) # => Hash
400
+ ```
401
+
402
+
403
+ ---
404
+
405
+ ## Development
406
+
407
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
408
+
409
+ 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`, update the `CHANGELOG.md`, 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).
410
+
411
+ ## Contributing
412
+
413
+ Bug reports and pull requests are welcome on GitHub at https://github.com/SpeciesFileGroup/syconium. 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/SpeciesFileGroup/syconium/blob/main/CODE_OF_CONDUCT.md).
414
+
415
+ ## License
416
+
417
+ The gem is available as open source under the terms of the [MIT license](https://github.com/SpeciesFileGroup/syconium/blob/main/LICENSE.txt). You can learn more about the MIT license on [Wikipedia](https://en.wikipedia.org/wiki/MIT_License) and compare it with other open source licenses at the [Open Source Initiative](https://opensource.org/license/mit/).
418
+
419
+ ## Code of Conduct
420
+
421
+ Everyone interacting in the Syconium project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/SpeciesFileGroup/syconium/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/*_test.rb"]
10
+ t.verbose = true
11
+ end
12
+
13
+ desc "Run tests"
14
+ task default: :test
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 "syconium"
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
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Syconium
4
+ # Custom error class for rescuing from all Syconium errors
5
+ class Error < StandardError; end
6
+
7
+ # Raised when OpenAlex returns the HTTP status code 400
8
+ class BadRequest < Error; end
9
+
10
+ # Raised when OpenAlex returns the HTTP status code 404
11
+ class NotFound < Error; end
12
+
13
+ # Raised when OpenAlex returns the HTTP status code 500
14
+ class InternalServerError < Error; end
15
+
16
+ # Raised when OpenAlex returns the HTTP status code 502
17
+ class BadGateway < Error; end
18
+
19
+ # Raised when OpenAlex returns the HTTP status code 503
20
+ class ServiceUnavailable < Error; end
21
+
22
+ # Raised when OpenAlex returns the HTTP status code 504
23
+ class GatewayTimeout < Error; end
24
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faraday"
4
+ require "multi_json"
5
+
6
+ # @private
7
+ module Faraday
8
+ module SyconiumErrors
9
+ # @private
10
+ class Middleware < Faraday::Middleware
11
+ def call(env)
12
+ @app.call(env).on_complete do |response|
13
+ case response[:status].to_i
14
+ when 400
15
+ raise Syconium::BadRequest, error_message_400(response)
16
+ when 404
17
+ raise Syconium::NotFound, error_message_400(response)
18
+ when 500
19
+ raise Syconium::InternalServerError, error_message_500(response, "Something is technically wrong.")
20
+ when 502
21
+ raise Syconium::BadGateway, error_message_500(response, "The server returned an invalid or incomplete response.")
22
+ when 503
23
+ raise Syconium::ServiceUnavailable, error_message_500(response, "Crossref is rate limiting your requests.")
24
+ when 504
25
+ raise Syconium::GatewayTimeout, error_message_500(response, "504 Gateway Time-out")
26
+ end
27
+ end
28
+ end
29
+
30
+ def initialize(app)
31
+ super app
32
+ @parser = nil
33
+ end
34
+
35
+ private
36
+
37
+ def error_message_400(response)
38
+ "\n #{response[:method].to_s.upcase} #{response[:url]}\n Status #{response[:status]}#{error_body(response[:body])}"
39
+ end
40
+
41
+ def error_body(body)
42
+ if !body.nil? && !body.empty? && body.is_a?(String)
43
+ if json?(body)
44
+ body = ::MultiJson.load(body)
45
+ if body["message"].nil?
46
+ body = nil
47
+ else
48
+ body = body["message"]
49
+ end
50
+ end
51
+ end
52
+
53
+ if body.nil?
54
+ nil
55
+ else
56
+ ": #{body}"
57
+ end
58
+ end
59
+
60
+ def error_message_500(response, body = nil)
61
+ "#{response[:method].to_s.upcase} #{response[:url]}: #{[response[:status].to_s + ":", body].compact.join(" ")}"
62
+ end
63
+
64
+ def json?(string)
65
+ MultiJson.load(string)
66
+ true
67
+ rescue MultiJson::ParseError
68
+ false
69
+ end
70
+ end
71
+ end
72
+ end
73
+
@@ -0,0 +1,26 @@
1
+ # taken from https://raw.githubusercontent.com/sckott/serrano/main/lib/serrano/helpers/configuration.rb
2
+ # taken from: https://viget.com/extend/easy-gem-configuration-variables-with-defaults
3
+ module Configuration
4
+ def configuration
5
+ yield self
6
+ end
7
+
8
+ def define_setting(name, default = nil)
9
+ class_variable_set("@@#{name}", default)
10
+ define_class_method "#{name}=" do |value|
11
+ class_variable_set("@@#{name}", value)
12
+ end
13
+ define_class_method name do
14
+ class_variable_get("@@#{name}")
15
+ end
16
+ end
17
+
18
+ private
19
+
20
+ def define_class_method(name, &block)
21
+ (class << self; self; end).instance_eval do
22
+ define_method name, &block
23
+ end
24
+ end
25
+ end
26
+
@@ -0,0 +1,57 @@
1
+ require_relative "faraday" # !! Potential ruby 3.0 difference in module loading? relative differs from Serrano
2
+ require "faraday/follow_redirects"
3
+ require_relative "utils"
4
+
5
+ module Syconium
6
+
7
+ class Request
8
+ attr_accessor :endpoint
9
+ attr_accessor :q
10
+ attr_accessor :verbose
11
+
12
+ attr_accessor :options
13
+
14
+ def initialize(**args)
15
+ @endpoint = args[:endpoint]
16
+ @email = args[:email]
17
+ @verbose = args[:verbose]
18
+ @params = args[:params]
19
+ @options = args[:options] # TODO: not added at syconium.rb
20
+ end
21
+
22
+ def perform
23
+
24
+ opts = @params&.compact || {}
25
+
26
+ Faraday::Utils.default_space_encoding = "+"
27
+
28
+ conn = if verbose
29
+ Faraday.new(url: Syconium.base_url) do |f|
30
+ f.response :logger
31
+ f.use Faraday::SyconiumErrors::Middleware
32
+ f.adapter Faraday.default_adapter
33
+ end
34
+ else
35
+ Faraday.new(url: Syconium.base_url) do |f|
36
+ f.use Faraday::SyconiumErrors::Middleware
37
+ f.adapter Faraday.default_adapter
38
+ end
39
+ end
40
+
41
+ conn.headers['Accept'] = 'application/json,*/*'
42
+ conn.headers[:user_agent] = make_user_agent
43
+ conn.headers["X-USER-AGENT"] = make_user_agent
44
+ conn.headers['Content-Type'] = 'application/json'
45
+
46
+ res = conn.get(endpoint, opts)
47
+
48
+ # The endpoints should all return JSON, but if they don't, we should still return the body
49
+ begin
50
+ MultiJson.load(res.body)
51
+ rescue MultiJson::ParseError
52
+ res.body
53
+ end
54
+
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # From https://raw.githubusercontent.com/sckott/serrano/main/lib/serrano/utils.rb
4
+
5
+ def make_user_agent
6
+ requa = "Faraday/v" + Faraday::VERSION
7
+ habua = "Syconium/v" + Syconium::VERSION
8
+ ua = requa + " " + habua
9
+ if Syconium.mailto
10
+ ua += " (mailto:%s)" % Syconium.mailto
11
+ end
12
+ # ua += format(' (mailto:%s)', Syconium.mailto) if Syconium.mailto
13
+ ua
14
+ end
15
+
16
+ def field_query_handler(x)
17
+ tmp = x.keep_if { |z| z.match(/query_/) }
18
+ rename_query_filters(tmp)
19
+ end
20
+
21
+ def rename_query_filters(foo)
22
+ foo = foo.tostrings
23
+ foo = foo.map { |x, y| [x.to_s.sub("container_title", "container-title"), y] }.to_h
24
+ foo.map { |x, y| [x.to_s.sub("query_", "query."), y] }.to_h
25
+ end
26
+
27
+ class Hash
28
+ def tostrings
29
+ map { |(k, v)| [k.to_s, v] }.to_h
30
+ end
31
+ end
32
+
33
+ class Hash
34
+ def tosymbols
35
+ map { |(k, v)| [k.to_sym, v] }.to_h
36
+ end
37
+ end
38
+
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Syconium
4
+ VERSION = "0.0.1"
5
+ end
data/lib/syconium.rb ADDED
@@ -0,0 +1,67 @@
1
+ # frozen_string_literal: true
2
+ require "erb"
3
+ require_relative "syconium/error"
4
+ require_relative "syconium/version"
5
+ require_relative "syconium/request"
6
+ require "syconium/helpers/configuration"
7
+
8
+ # The Syconium module provides a Ruby interface to the BHL Names API
9
+ module Syconium
10
+ extend Configuration
11
+
12
+ define_setting :base_url, "https://api.openalex.org/"
13
+ define_setting :mailto, ENV["SYCONIUM_API_EMAIL"]
14
+
15
+ # Gets a resource from OpenAlex
16
+ # @param autocomplete [Boolean] If true, suggests resources based on the search string
17
+ # @param id [String] A resource ID (e.g., "W123456789", "doi:10.1234/abcd")
18
+ # @param filter [String] A string of filters to apply to the request
19
+ # @param group_by [String] If set will return a count of resources grouped by the specified field
20
+ # @param q [String] The autocomplete query string (use the search parameter instead for searching resources)
21
+ # @param random [Boolean] If true, returns a random resource
22
+ # @param sample [Integer] If set, returns a random sample of resources
23
+ # @param search [String] A search string to filter resources by (use the q parameter instead for autocomplete)
24
+ # @param select [String] A string of fields to select in the response
25
+ # @param sort [String] A string of fields to sort the results by (e.g., publication_year:desc,relevance_score:desc)
26
+ # @param cursor [String] A cursor for pagination
27
+ # @param page [Integer] The results list page number to retrieve
28
+ # @param per_page [Integer] The number of results to return per page
29
+ # @param verbose [Boolean] Print headers to STDOUT
30
+ #
31
+ # @return [Hash] A result hash
32
+ ENDPOINTS = %w[
33
+ authors concepts funders institutions keywords publishers sources topics works
34
+ ]
35
+
36
+ ENDPOINTS.each do |endpoint_name|
37
+ define_singleton_method(endpoint_name) do |email: nil, api_key: nil, autocomplete: false, q: nil, id: nil, search: nil, filter: nil, group_by: nil, random: false, sample: nil, select: nil, sort: nil, cursor: nil, page: 1, per_page: 25, verbose: false|
38
+ raise ArgumentError, "You must provide an email or API key to use the OpenAlex API" if email.nil? && api_key.nil?
39
+ params = {
40
+ api_key: api_key,
41
+ mailto: email,
42
+ filter: filter,
43
+ group_by: group_by,
44
+ q: q,
45
+ sample: sample,
46
+ search: search,
47
+ select: select,
48
+ sort: sort,
49
+ cursor: cursor,
50
+ page: page,
51
+ per_page: per_page,
52
+ }.compact
53
+ endpoint = endpoint_name
54
+ if random
55
+ endpoint += "/random"
56
+ params = {}
57
+ elsif id
58
+ endpoint += "/#{id}"
59
+ params = {}
60
+ elsif autocomplete
61
+ params = { q: q, filter: filter, search: search }.compact
62
+ endpoint = "/autocomplete/#{endpoint_name}"
63
+ end
64
+ Request.new(endpoint: endpoint, params: params, verbose: verbose).perform
65
+ end
66
+ end
67
+ end
data/syconium.gemspec ADDED
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/syconium/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "syconium"
7
+ s.version = Syconium::VERSION
8
+ s.authors = ["Geoff Ower, Matt Yoder"]
9
+ s.email = ["gdower@illinois.edu"]
10
+
11
+ s.summary = "OpenAlex Client"
12
+ s.description = "Syconium is a low-level wrapper around the OpenAlex API."
13
+ s.homepage = "https://github.com/SpeciesFileGroup/syconium"
14
+ s.license = "MIT"
15
+ s.required_ruby_version = ">= 2.5.0"
16
+
17
+ # s.metadata["allowed_push_host"] = "TODO: Set to 'https://mygemserver.com'"
18
+
19
+ s.metadata["homepage_uri"] = s.homepage
20
+ s.metadata["source_code_uri"] = "https://github.com/SpeciesFileGroup/syconium"
21
+ s.metadata["changelog_uri"] = "https://github.com/SpeciesFileGroup/syconium/releases/tag/v#{s.version}"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ s.files = Dir.chdir(File.expand_path(__dir__)) do
26
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|s|features)/}) }
27
+ end
28
+ s.bindir = "exe"
29
+ s.executables = s.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ s.require_paths = ["lib"]
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ # s.add_dependency "example-gem", "~> 1.0"
34
+
35
+ s.add_development_dependency "bundler", "~> 2.1", ">= 2.1.4"
36
+ # s.add_development_dependency "codecov", "~> 0.5.0"
37
+ # s.add_development_dependency "json", "~> 2.3", ">= 2.3.1"
38
+ s.add_development_dependency "rake", "~> 13.0", ">= 13.0.1"
39
+ # s.add_development_dependency "standard", "~> 1.0"
40
+ # s.add_development_dependency "simplecov", "~> 0.21.2"
41
+ s.add_development_dependency "test-unit", "~> 3.3", ">= 3.3.6"
42
+ s.add_development_dependency "vcr", "~> 6.0"
43
+ s.add_development_dependency "webmock", "~> 3.18"
44
+
45
+ s.add_runtime_dependency "faraday", "~> 2.2"
46
+ s.add_runtime_dependency "faraday-follow_redirects", ">= 0.1", "< 0.4"
47
+ s.add_runtime_dependency "multi_json", "~> 1.15"
48
+
49
+ # TODO: comment out
50
+ s.add_development_dependency "byebug"
51
+
52
+ # s.add_runtime_dependency "thor", "~> 1.0", ">= 1.0.1"
53
+
54
+ # For more information and examples about making a new gem, checkout our
55
+ # guide at: https://bundler.io/guides/creating_gem.html
56
+ end
metadata ADDED
@@ -0,0 +1,211 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: syconium
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Geoff Ower, Matt Yoder
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: bundler
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '2.1'
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 2.1.4
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '2.1'
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 2.1.4
32
+ - !ruby/object:Gem::Dependency
33
+ name: rake
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '13.0'
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 13.0.1
42
+ type: :development
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '13.0'
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 13.0.1
52
+ - !ruby/object:Gem::Dependency
53
+ name: test-unit
54
+ requirement: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - "~>"
57
+ - !ruby/object:Gem::Version
58
+ version: '3.3'
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 3.3.6
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.3'
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 3.3.6
72
+ - !ruby/object:Gem::Dependency
73
+ name: vcr
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: '6.0'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '6.0'
86
+ - !ruby/object:Gem::Dependency
87
+ name: webmock
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - "~>"
91
+ - !ruby/object:Gem::Version
92
+ version: '3.18'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '3.18'
100
+ - !ruby/object:Gem::Dependency
101
+ name: faraday
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '2.2'
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '2.2'
114
+ - !ruby/object:Gem::Dependency
115
+ name: faraday-follow_redirects
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0.1'
121
+ - - "<"
122
+ - !ruby/object:Gem::Version
123
+ version: '0.4'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0.1'
131
+ - - "<"
132
+ - !ruby/object:Gem::Version
133
+ version: '0.4'
134
+ - !ruby/object:Gem::Dependency
135
+ name: multi_json
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: '1.15'
141
+ type: :runtime
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '1.15'
148
+ - !ruby/object:Gem::Dependency
149
+ name: byebug
150
+ requirement: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ type: :development
156
+ prerelease: false
157
+ version_requirements: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
162
+ description: Syconium is a low-level wrapper around the OpenAlex API.
163
+ email:
164
+ - gdower@illinois.edu
165
+ executables: []
166
+ extensions: []
167
+ extra_rdoc_files: []
168
+ files:
169
+ - ".github/workflows/main.yml"
170
+ - ".gitignore"
171
+ - CHANGELOG.md
172
+ - CODE_OF_CONDUCT.md
173
+ - Gemfile
174
+ - LICENSE.txt
175
+ - README.md
176
+ - Rakefile
177
+ - bin/console
178
+ - bin/setup
179
+ - lib/syconium.rb
180
+ - lib/syconium/error.rb
181
+ - lib/syconium/faraday.rb
182
+ - lib/syconium/helpers/configuration.rb
183
+ - lib/syconium/request.rb
184
+ - lib/syconium/utils.rb
185
+ - lib/syconium/version.rb
186
+ - syconium.gemspec
187
+ homepage: https://github.com/SpeciesFileGroup/syconium
188
+ licenses:
189
+ - MIT
190
+ metadata:
191
+ homepage_uri: https://github.com/SpeciesFileGroup/syconium
192
+ source_code_uri: https://github.com/SpeciesFileGroup/syconium
193
+ changelog_uri: https://github.com/SpeciesFileGroup/syconium/releases/tag/v0.0.1
194
+ rdoc_options: []
195
+ require_paths:
196
+ - lib
197
+ required_ruby_version: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: 2.5.0
202
+ required_rubygems_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ requirements: []
208
+ rubygems_version: 3.6.7
209
+ specification_version: 4
210
+ summary: OpenAlex Client
211
+ test_files: []