w3c_api 0.1.3 → 0.1.4

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.
data/README.adoc CHANGED
@@ -11,27 +11,26 @@ A Ruby client implementation for the W3C web API with a CLI interface.
11
11
  This gem provides:
12
12
 
13
13
  * A complete client for the W3C API (oft-used endpoints implemented)
14
-
15
14
  * Data models created with
16
15
  https://github.com/lutaml/lutaml-hal[lutaml-hal] and
17
16
  https://github.com/lutaml/lutaml-model[lutaml-model]
18
17
  for all W3C API resources
19
-
20
- * HAL (Hypertext Application Language) implementation for recursive resource traversal
21
-
18
+ * HAL (Hypertext Application Language) implementation for recursive resource
19
+ traversal
22
20
  * A command-line interface using Thor following GitHub CLI patterns
23
21
 
24
22
  The endpoint supported is at https://api.w3.org.
25
23
 
26
24
  This gem is developed against the W3C API documented at https://api.w3.org/doc.
27
25
 
28
-
29
26
  == Illustrative example usage
30
27
 
31
28
  This is an example demonstrating the power of this library as inherited
32
29
  from `lutaml-hal`, showing multiple levels of automatic link resolution.
33
30
 
34
31
  .Calling the Ruby API with multiple levels of link resolution
32
+ [example]
33
+ ====
35
34
  [source,ruby]
36
35
  ----
37
36
  > require 'w3c_api'
@@ -64,46 +63,117 @@ from `lutaml-hal`, showing multiple levels of automatic link resolution.
64
63
  # @templated=nil,
65
64
  # @title=nil,
66
65
  # @type="EvangelistIndex">,
67
- # @last=
68
- # #<W3cApi::Models::EvangelistIndexLink:0x000000010adeb560
69
- # @deprecation=nil,
70
- # @href="https://api.w3.org/ecosystems/advertising/evangelists?page=1&items=100",
71
- # @lang=nil,
72
- # @name=nil,
73
- # @profile=nil,
74
- # @templated=nil,
75
- # @title=nil,
76
- # @type="EvangelistIndex">,
77
- # @next=nil,
78
- # @prev=nil,
79
- # @self=
80
- # #<W3cApi::Models::EvangelistIndexLink:0x000000010c75a8c0
81
- # @deprecation=nil,
82
- # @href="https://api.w3.org/ecosystems/advertising/evangelists?page=1&items=100",
83
- # @lang=nil,
84
- # @name=nil,
85
- # @profile=nil,
86
- # @templated=nil,
87
- # @title=nil,
88
- # @type="EvangelistIndex">,
89
- # @up=
90
- # #<W3cApi::Models::EvangelistIndexLink:0x000000011c1be398
91
- # @deprecation=nil,
92
- # @href="https://api.w3.org/ecosystems/advertising",
93
- # @lang=nil,
94
- # @name=nil,
95
- # @profile=nil,
96
- # @templated=nil,
97
- # @title=nil,
98
- # @type="EvangelistIndex">>,
66
+ # ...>,
99
67
  # @page=1,
100
68
  # @pages=1,
101
69
  # @total=1>
102
70
  ----
103
-
71
+ ====
104
72
 
105
73
  == Ruby API
106
74
 
75
+ === Embed support with auto-realize
76
+
77
+ ==== General
78
+
79
+ The W3C API supports embedded content to reduce the number of HTTP requests
80
+ needed to fetch related resources. This gem provides comprehensive embed
81
+ support with automatic link realization for optimal performance.
82
+
83
+ [source,ruby]
84
+ ----
85
+ require 'w3c_api'
86
+
87
+ # Create a client and use embed parameter directly
88
+ client = W3cApi::Client.new
89
+
90
+ # Fetch specifications with embedded content
91
+ specs = client.specifications(embed: true, items: 5)
92
+
93
+ # Fetch groups with embedded content
94
+ groups = client.groups(embed: true, items: 5)
95
+
96
+ # Fetch series with embedded content
97
+ series = client.series(embed: true, items: 5)
98
+
99
+ # Discover which endpoints support embed
100
+ supported_endpoints = W3cApi::Client.embed_supported_endpoints
101
+ # => [:group_index, :serie_index, :specification_index]
102
+
103
+ # Check if specific endpoint supports embed
104
+ client.embed_supported?(:specification_index) # => true
105
+ ----
106
+
107
+ ==== Auto-realize functionality
108
+
109
+ The gem features automatic embedded content detection that eliminates the need
110
+ to manually pass `parent_resource` parameters. Links automatically detect and
111
+ use embedded content when available, falling back to HTTP requests when needed.
112
+
113
+ [source,ruby]
114
+ ----
115
+ # Fetch specifications with embed enabled
116
+ specs = client.specifications(embed: true, items: 5)
117
+
118
+ # Links automatically use embedded content - no parent_resource needed!
119
+ specs.links.specifications.each do |spec_link|
120
+ # This uses embedded data automatically - no HTTP request needed!
121
+ spec = spec_link.realize
122
+ puts "#{spec.title} - #{spec.shortname}"
123
+ end
124
+
125
+ # The auto-realize functionality works by:
126
+ # 1. Links store references to their parent resources automatically
127
+ # 2. Before making HTTP requests, links check for embedded data
128
+ # 3. If embedded content is available, it's used directly
129
+ # 4. If no embedded content exists, normal HTTP requests are made
130
+ ----
131
+
132
+ ==== Performance comparison
133
+
134
+ Using embed with auto-realize provides significant performance improvements:
135
+
136
+ [source,ruby]
137
+ ----
138
+ # Without embed: 1 request for index + N requests for each specification
139
+ specs = client.specifications(items: 5)
140
+ specs.links.specifications.each do |spec_link|
141
+ spec = spec_link.realize # Each call makes an HTTP request
142
+ puts spec.title
143
+ end
144
+ # Total: 6 HTTP requests (1 + 5)
145
+
146
+ # With embed: 1 request total, embedded data used automatically
147
+ specs = client.specifications(embed: true, items: 5)
148
+ specs.links.specifications.each do |spec_link|
149
+ spec = spec_link.realize # Uses embedded data automatically!
150
+ puts spec.title
151
+ end
152
+ # Total: 1 HTTP request only
153
+ ----
154
+
155
+ ==== Embed discovery
156
+
157
+ The gem provides methods to discover embed capabilities:
158
+
159
+ [source,ruby]
160
+ ----
161
+ # Get list of endpoints that support embed
162
+ W3cApi::Client.embed_supported_endpoints
163
+ # => [:group_index, :serie_index, :specification_index]
164
+
165
+ # Check if specific endpoint supports embed
166
+ client.embed_supported?(:specification_index) # => true
167
+ client.embed_supported?(:specification_resource) # => false
168
+
169
+ # Get comprehensive embed information
170
+ embed_info = W3cApi::Embed.embed_info
171
+ puts embed_info[:supported_endpoints]
172
+ puts embed_info[:descriptions]
173
+ puts embed_info[:usage_example]
174
+ ----
175
+
176
+
107
177
  === General
108
178
 
109
179
  [source,ruby]
@@ -238,7 +308,6 @@ ecosystem = client.ecosystem('data')
238
308
  This library provides models for various W3C API resources under the
239
309
  `W3cApi::Models` namespace.
240
310
 
241
-
242
311
  ==== Affiliation
243
312
 
244
313
  The `W3cApi::Models::Affiliation` represents a W3C affiliation model that
@@ -247,6 +316,7 @@ includes various attributes and methods to interact with affiliated entities.
247
316
  .Fetching the affiliation index
248
317
  [example]
249
318
  ====
319
+
250
320
  [source,ruby]
251
321
  ----
252
322
  > W3cApi::Hal.instance.register.fetch(:affiliation_index)
@@ -286,6 +356,7 @@ includes various attributes and methods to interact with affiliated entities.
286
356
  .Fetching a specific affiliation
287
357
  [example]
288
358
  ====
359
+
289
360
  [source,ruby]
290
361
  ----
291
362
  > W3cApi::Hal.instance.register.fetch(:affiliation_resource, id: 35662)
@@ -298,8 +369,6 @@ includes various attributes and methods to interact with affiliated entities.
298
369
  ----
299
370
  ====
300
371
 
301
-
302
-
303
372
  == Command line interface
304
373
 
305
374
  === General
@@ -308,8 +377,8 @@ W3C API provides a command-line interface (CLI) for various operations.
308
377
 
309
378
  The main executable is `w3c_api`.
310
379
 
311
- By default, the output is in YAML format. You can specify the output format using the
312
- `--format` option, which accepts `json` or `yaml`.
380
+ By default, the output is in YAML format. You can specify the output format
381
+ using the `--format` option, which accepts `json` or `yaml`.
313
382
 
314
383
  [source,shell]
315
384
  ----
@@ -407,7 +476,6 @@ _links:
407
476
  ----
408
477
  ====
409
478
 
410
-
411
479
  ==== Versions
412
480
 
413
481
  This command provides access to W3C specification versions given a shortname.
@@ -601,8 +669,8 @@ specifications:
601
669
 
602
670
  This command provides access to W3C users.
603
671
 
604
- [IMPORTANT]
605
672
  .User ID formats
673
+ [IMPORTANT]
606
674
  ====
607
675
  The W3C API uses both numeric IDs (e.g., `128112`) and string IDs (e.g.,
608
676
  `f1ovb5rydm8s0go04oco0cgk0sow44w`) for users. All user-related commands
@@ -789,76 +857,9 @@ participations:
789
857
  href: https://api.w3.org/participations/38783
790
858
  - title: Positive Work Environment Community Group
791
859
  href: https://api.w3.org/participations/38784
792
- - title: Web Performance Working Group
793
- href: https://api.w3.org/participations/38786
794
- - title: Spatio-temporal Data on the Web Working Group
795
- href: https://api.w3.org/participations/44558
796
- - title: W3C Process Community Group
797
- href: https://api.w3.org/participations/39267
798
- - title: Equity Community Group
799
- href: https://api.w3.org/participations/39352
800
- - title: Web Components Community Group
801
- href: https://api.w3.org/participations/40553
802
- - title: Accessible Platform Architectures Working Group
803
- href: https://api.w3.org/participations/36682
804
- - title: Sustainability Community Group
805
- href: https://api.w3.org/participations/41861
806
- - title: Web Applications Working Group
807
- href: https://api.w3.org/participations/43789
808
- - title: Accessibility Internationalization Community Group
809
- href: https://api.w3.org/participations/43788
810
- - title: Sustainable Web Interest Group
811
- href: https://api.w3.org/participations/44152
812
860
  ----
813
861
  ====
814
862
 
815
- ==== Chair of groups
816
-
817
- Getting groups a user chairs.
818
-
819
- [source,shell]
820
- ----
821
- # Fetch groups a user chairs
822
- $ w3c_api user chair-of-groups --id=f1ovb5rydm8s0go04oco0cgk0sow44w
823
- ----
824
-
825
- [example]
826
- ====
827
- [source,shell]
828
- ----
829
- $ w3c_api user chair-of-groups --id=f1ovb5rydm8s0go04oco0cgk0sow44w
830
- ---
831
- groups:
832
- - href: https://api.w3.org/groups/cg/equity
833
- title: Equity Community Group
834
- ----
835
- ====
836
-
837
- ==== Team Contact of Groups
838
-
839
- Getting groups a user is a team contact of.
840
-
841
- [source,shell]
842
- ----
843
- # Fetch groups a user is a team contact of
844
- $ w3c_api user team-contact-of-groups --id=f1ovb5rydm8s0go04oco0cgk0sow44w
845
- ----
846
-
847
- [example]
848
- ====
849
- [source,shell]
850
- ----
851
- $ w3c_api user team-contact-of-groups --id=f1ovb5rydm8s0go04oco0cgk0sow44w
852
- groups:
853
- - name: Web Platform Working Group
854
- href: https://api.w3.org/groups/72825
855
- - name: Internationalization Working Group
856
- href: https://api.w3.org/groups/32113
857
- # Additional groups omitted for brevity
858
- ----
859
- ====
860
-
861
-
862
863
  === Groups
863
864
 
864
865
  This command provides access to W3C groups.
@@ -880,14 +881,10 @@ $ w3c_api group fetch [OPTIONS]
880
881
  $ w3c_api group fetch
881
882
  ---
882
883
  groups:
883
- - href: https://api.w3.org/groups/tf/ab-liaisons-to-bod
884
- title: AB Liaisons to the Board of Directors
885
- - href: https://api.w3.org/groups/cg/a11yedge
886
- title: Accessibility at the Edge Community Group
887
- - href: https://api.w3.org/groups/tf/wcag-act
888
- title: Accessibility Conformance Testing (ACT) Task Force
889
- - href: https://api.w3.org/groups/cg/a11y-discov-vocab
890
- title: Accessibility Discoverability Vocabulary for Schema.org Community Group
884
+ - href: https://api.w3.org/groups/wg/ag
885
+ title: Accessibility Guidelines Working Group
886
+ - href: https://api.w3.org/groups/cg/global-inclusion
887
+ title: Accessibility Internationalization Community Group
891
888
  # Additional groups omitted for brevity
892
889
  ----
893
890
  ====
@@ -906,293 +903,167 @@ $ w3c_api group fetch --id=109735
906
903
  ====
907
904
  [source,shell]
908
905
  ----
906
+ $ w3c_api group fetch --id=109735
909
907
  ---
910
908
  id: 109735
911
909
  name: Immersive Web Working Group
912
- type: working group
913
- description: The mission of the Immersive Web Working Group is to help bring high-performance
914
- Virtual Reality (VR) and Augmented Reality (AR) (collectively known as XR) to the
915
- open Web via APIs to interact with XR devices and sensors in browsers.
916
910
  shortname: immersive-web
917
- discr: w3cgroup
918
- start_date: '2018-09-24'
919
- end_date: '2026-09-25'
920
- is_closed: false
911
+ type: working group
912
+ start_date: '2018-10-01'
913
+ end_date: '2020-09-30'
914
+ description: The mission of the Immersive Web Working Group is to help bring
915
+ high-performance Virtual Reality (VR) and Augmented Reality (AR) to the open Web
916
+ via APIs to interact with VR and AR devices and sensors in browsers.
921
917
  _links:
922
918
  self:
923
919
  href: https://api.w3.org/groups/wg/immersive-web
924
- homepage:
925
- href: https://www.w3.org/immersive-web/
926
- ----
927
- ====
928
-
929
- ==== Chairs
930
-
931
- Fetching chairs for a group.
932
-
933
- [source,shell]
934
- ----
935
- # Fetch chairs for a group
936
- $ w3c_api group chairs --id={id}
937
- ----
938
-
939
- [example]
940
- ====
941
- [source,shell]
942
- ----
943
- $ w3c_api group chairs --id=109735
944
- ---
945
- _links:
946
- self:
947
- href: https://api.w3.org/groups/109735/chairs?page=1&items=100
948
- type: W3cApi::Models::ChairIndex
949
- first:
950
- href: https://api.w3.org/groups/109735/chairs?page=1&items=100
951
- type: W3cApi::Models::ChairIndex
952
- last:
953
- href: https://api.w3.org/groups/109735/chairs?page=1&items=100
954
- type: W3cApi::Models::ChairIndex
955
- up:
956
- href: https://api.w3.org/groups/109735
957
- type: W3cApi::Models::ChairIndex
920
+ users:
921
+ href: https://api.w3.org/groups/109735/users
922
+ specifications:
923
+ href: https://api.w3.org/groups/109735/specifications
958
924
  chairs:
959
- - href: https://api.w3.org/users/basy63arxl448c8co0og8ocosocgc0w
960
- title: Ada Rose Cannon
961
- type: User
962
- - href: https://api.w3.org/users/l88ca27n2b4sk00cogosk0skw4s8osc
963
- title: Chris Wilson
964
- type: User
965
- - href: https://api.w3.org/users/m99jqkpi9m8oww84kw4gwccgc4g0ogs
966
- title: Ayşegül Yönet
967
- type: User
925
+ href: https://api.w3.org/groups/109735/chairs
926
+ team_contacts:
927
+ href: https://api.w3.org/groups/109735/teamcontacts
928
+ charters:
929
+ href: https://api.w3.org/groups/109735/charters
968
930
  ----
969
931
  ====
970
932
 
971
- ==== Team contacts
933
+ ==== Users
972
934
 
973
- Fetching team contacts for a group.
935
+ Getting users in a group.
974
936
 
975
937
  [source,shell]
976
938
  ----
977
- # Fetch team contacts for a group
978
- $ w3c_api group team-contacts --id={id}
939
+ # Fetch users in a group
940
+ $ w3c_api group users --id=109735
979
941
  ----
980
942
 
981
943
  [example]
982
944
  ====
983
945
  [source,shell]
984
946
  ----
985
- $ w3c_api group team-contacts --id=109735
947
+ $ w3c_api group users --id=109735
986
948
  ---
987
- _links:
988
- self:
989
- href: https://api.w3.org/groups/109735/teamcontacts?page=1&items=100
990
- type: W3cApi::Models::TeamContactIndex
991
- first:
992
- href: https://api.w3.org/groups/109735/teamcontacts?page=1&items=100
993
- type: W3cApi::Models::TeamContactIndex
994
- last:
995
- href: https://api.w3.org/groups/109735/teamcontacts?page=1&items=100
996
- type: W3cApi::Models::TeamContactIndex
997
- up:
998
- href: https://api.w3.org/groups/109735
999
- type: W3cApi::Models::TeamContactIndex
1000
- team-contacts:
1001
- - href: https://api.w3.org/users/1eb2xr7ab6zo0k8440o48swso408ksc
1002
- title: Atsushi Shimono
1003
- type: User
949
+ users:
950
+ - href: https://api.w3.org/users/f1ovb5rydm8s0go04oco0cgk0sow44w
951
+ title: Jennifer Strickland
952
+ - href: https://api.w3.org/users/bzb5w20eg68k40gc8w0wg0okk4k84os
953
+ title: Cullen Jennings
954
+ # Additional users omitted for brevity
1004
955
  ----
1005
956
  ====
1006
957
 
1007
- ==== Participations
958
+ ==== Specifications
1008
959
 
1009
- Fetching participations for a group.
960
+ Getting specifications delivered by a group.
1010
961
 
1011
962
  [source,shell]
1012
963
  ----
1013
- # Fetch participations for a group
1014
- $ w3c_api group participations --id={id}
964
+ # Fetch specifications delivered by a group
965
+ $ w3c_api group specifications --id=109735
1015
966
  ----
1016
967
 
1017
968
  [example]
1018
969
  ====
1019
970
  [source,shell]
1020
971
  ----
1021
- $ w3c_api group participations --id=109735
972
+ $ w3c_api group specifications --id=109735
1022
973
  ---
1023
- _links:
1024
- self:
1025
- href: https://api.w3.org/groups/109735/participations?page=1&items=100
1026
- type: ParticipationIndex
1027
- first:
1028
- href: https://api.w3.org/groups/109735/participations?page=1&items=100
1029
- type: ParticipationIndex
1030
- last:
1031
- href: https://api.w3.org/groups/109735/participations?page=1&items=100
1032
- type: ParticipationIndex
1033
- up:
1034
- href: https://api.w3.org/groups/109735
1035
- type: ParticipationIndex
1036
- participations:
1037
- - href: https://api.w3.org/participations/43367
1038
- title: Kodansha, Publishers, Ltd.
1039
- type: Participation
1040
- - href: https://api.w3.org/participations/43368
1041
- title: Institut National de Recherche en Informatique et en Automatique (Inria)
1042
- type: Participation
1043
- - href: https://api.w3.org/participations/43391
1044
- title: Igalia
1045
- type: Participation
1046
- - href: https://api.w3.org/participations/43415
1047
- title: Christine Perey
1048
- type: Participation
974
+ specifications:
975
+ - title: WebXR Device API
976
+ href: https://api.w3.org/specifications/webxr
977
+ - title: WebXR Gamepads Module - Level 1
978
+ href: https://api.w3.org/specifications/webxr-gamepads-1
979
+ # Additional specifications omitted for brevity
1049
980
  ----
1050
981
  ====
1051
982
 
983
+ === Affiliations
1052
984
 
1053
- ==== Specifications
985
+ This command provides access to W3C affiliations.
1054
986
 
1055
- Fetching specifications for a group.
987
+ ==== Index
988
+
989
+ Fetching an index of affiliations.
1056
990
 
1057
991
  [source,shell]
1058
992
  ----
1059
- # Fetch specifications for a group
1060
- $ w3c_api group specifications --id=109735
993
+ # Fetch affiliations
994
+ $ w3c_api affiliation fetch [OPTIONS]
1061
995
  ----
1062
996
 
1063
997
  [example]
1064
998
  ====
1065
999
  [source,shell]
1066
1000
  ----
1067
- $ w3c_api group specifications --id=109735
1001
+ $ w3c_api affiliation fetch
1068
1002
  ---
1069
- _links:
1070
- self:
1071
- href: https://api.w3.org/groups/109735/specifications?page=1&items=100
1072
- type: SpecificationIndex
1073
- first:
1074
- href: https://api.w3.org/groups/109735/specifications?page=1&items=100
1075
- type: SpecificationIndex
1076
- last:
1077
- href: https://api.w3.org/groups/109735/specifications?page=1&items=100
1078
- type: SpecificationIndex
1079
- up:
1080
- href: https://api.w3.org/groups/109735
1081
- type: SpecificationIndex
1082
- specifications:
1083
- - href: https://api.w3.org/specifications/webxr-lighting-estimation-1
1084
- title: WebXR Lighting Estimation API Level 1
1085
- type: Specification
1086
- - href: https://api.w3.org/specifications/webxr-gamepads-module-1
1087
- title: WebXR Gamepads Module - Level 1
1088
- type: Specification
1089
- - href: https://api.w3.org/specifications/webxr-hand-input-1
1090
- title: WebXR Hand Input Module - Level 1
1091
- type: Specification
1092
- - href: https://api.w3.org/specifications/webxr-hit-test-1
1093
- title: WebXR Hit Test Module
1094
- type: Specification
1095
- - href: https://api.w3.org/specifications/webxr-dom-overlays-1
1096
- title: WebXR DOM Overlays Module
1097
- type: Specification
1003
+ affiliations:
1004
+ - href: https://api.w3.org/affiliations/1001
1005
+ title: Framkom (Forskningsaktiebolaget Medie-och Kommunikationsteknik)
1006
+ - href: https://api.w3.org/affiliations/1003
1007
+ title: BackWeb Technologies, Inc.
1008
+ # Additional affiliations omitted for brevity
1098
1009
  ----
1099
1010
  ====
1100
1011
 
1101
- ==== Users
1012
+ ==== Get
1102
1013
 
1103
- Fetching users for a group.
1014
+ Getting an affiliation by ID.
1104
1015
 
1105
1016
  [source,shell]
1106
1017
  ----
1107
- # Fetch users for a group
1108
- $ w3c_api group users --id=109735
1018
+ # Fetch an affiliation
1019
+ $ w3c_api affiliation fetch --id=35662
1109
1020
  ----
1110
1021
 
1111
1022
  [example]
1112
1023
  ====
1113
1024
  [source,shell]
1114
1025
  ----
1115
- $ w3c_api group users --id=109735
1026
+ $ w3c_api affiliation fetch --id=35662
1116
1027
  ---
1028
+ id: 35662
1029
+ name: Google LLC
1030
+ discr: organization
1117
1031
  _links:
1118
1032
  self:
1119
- href: https://api.w3.org/groups/109735/users?page=1&items=100
1120
- type: UserIndex
1121
- first:
1122
- href: https://api.w3.org/groups/109735/users?page=1&items=100
1123
- type: UserIndex
1124
- last:
1125
- href: https://api.w3.org/groups/109735/users?page=1&items=100
1126
- type: UserIndex
1127
- up:
1128
- href: https://api.w3.org/groups/109735
1129
- type: UserIndex
1130
- users:
1131
- - href: https://api.w3.org/users/9o1jsmhi8ysk088w0k4g00wsssk4c8c
1132
- title: Muadh Al Kalbani
1133
- type: User
1134
- - href: https://api.w3.org/users/rqjspzlmiq8c0kk8goos4c480w8wccs
1135
- title: Matthew Atkinson
1136
- type: User
1137
- - href: https://api.w3.org/users/32hnccz98a68sk0kcog8c4wo4sgckkw
1138
- title: Ashwin Balasubramaniyan
1139
- type: User
1140
- - href: https://api.w3.org/users/ff80kfl6a0gso4oo8s40cg4c4wccgs0
1141
- title: Trevor Baron
1142
- type: User
1033
+ href: https://api.w3.org/affiliations/35662
1034
+ participants:
1035
+ href: https://api.w3.org/affiliations/35662/participants
1036
+ participations:
1037
+ href: https://api.w3.org/affiliations/35662/participations
1143
1038
  ----
1144
1039
  ====
1145
1040
 
1146
- ==== Charters
1041
+ ==== Participants
1147
1042
 
1148
- Fetching charters for a group.
1043
+ Getting participants of an affiliation.
1149
1044
 
1150
1045
  [source,shell]
1151
1046
  ----
1152
- # Fetch charters for a group
1153
- $ w3c_api group charters --id=109735
1047
+ # Fetch participants of an affiliation
1048
+ $ w3c_api affiliation participants --id=35662
1154
1049
  ----
1155
1050
 
1156
1051
  [example]
1157
1052
  ====
1158
1053
  [source,shell]
1159
1054
  ----
1160
- $ w3c_api group charters --id=109735
1055
+ $ w3c_api affiliation participants --id=35662
1161
1056
  ---
1162
- _links:
1163
- self:
1164
- href: https://api.w3.org/groups/109735/charters?page=1&items=100
1165
- type: W3cApi::Models::CharterIndex
1166
- first:
1167
- href: https://api.w3.org/groups/109735/charters?page=1&items=100
1168
- type: W3cApi::Models::CharterIndex
1169
- last:
1170
- href: https://api.w3.org/groups/109735/charters?page=1&items=100
1171
- type: W3cApi::Models::CharterIndex
1172
- up:
1173
- href: https://api.w3.org/groups/109735
1174
- type: W3cApi::Models::CharterIndex
1175
- charters:
1176
- - href: https://api.w3.org/groups/109735/charters/361
1177
- title: 2018-09-24 -> 2020-03-01
1178
- type: Charter
1179
- - href: https://api.w3.org/groups/109735/charters/405
1180
- title: 2020-05-12 -> 2022-06-01
1181
- type: Charter
1182
- - href: https://api.w3.org/groups/109735/charters/464
1183
- title: 2022-07-08 -> 2024-07-07
1184
- type: Charter
1185
- - href: https://api.w3.org/groups/109735/charters/514
1186
- title: 2024-09-26 -> 2026-09-25
1187
- type: Charter
1188
- page: 1
1189
- limit: 100
1190
- pages: 1
1191
- total: 4
1057
+ participants:
1058
+ - href: https://api.w3.org/users/bzb5w20eg68k40gc8w0wg0okk4k84os
1059
+ title: Cullen Jennings
1060
+ - href: https://api.w3.org/users/f521yr1m6g0kks880s8ocwsgwskgss4
1061
+ title: Jan-Ivar Bruaroey
1062
+ # Additional participants omitted for brevity
1192
1063
  ----
1193
1064
  ====
1194
1065
 
1195
- === Translation
1066
+ === Translations
1196
1067
 
1197
1068
  This command provides access to W3C translations.
1198
1069
 
@@ -1205,38 +1076,19 @@ Fetching an index of translations.
1205
1076
  # Fetch translations
1206
1077
  $ w3c_api translation fetch [OPTIONS]
1207
1078
  ----
1079
+
1208
1080
  [example]
1209
1081
  ====
1210
1082
  [source,shell]
1211
1083
  ----
1212
1084
  $ w3c_api translation fetch
1213
1085
  ---
1214
- _links:
1215
- self:
1216
- href: https://api.w3.org/translations?page=1&items=100
1217
- type: TranslationIndex
1218
- next:
1219
- href: https://api.w3.org/translations?page=2&items=100
1220
- type: TranslationIndex
1221
- first:
1222
- href: https://api.w3.org/translations?page=1&items=100
1223
- type: TranslationIndex
1224
- last:
1225
- href: https://api.w3.org/translations?page=7&items=100
1226
- type: TranslationIndex
1227
- translations:
1228
- - href: https://api.w3.org/translations/2
1229
- title: 'Vidéo : introduction à l’accessibilité web et aux standards du W3C'
1230
- type: Translation
1231
- - href: https://api.w3.org/translations/3
1232
- title: Vídeo de Introducción a la Accesibilidad Web y Estándares del W3C
1233
- type: Translation
1234
- - href: https://api.w3.org/translations/4
1235
- title: Video-introductie over Web-toegankelijkheid en W3C-standaarden
1236
- type: Translation
1237
- - href: https://api.w3.org/translations/5
1238
- title: 网页无障碍和W3C标准的介绍视频
1239
- type: Translation
1086
+ translations:
1087
+ - href: https://api.w3.org/translations/1
1088
+ title: HTML 4.01 Specification
1089
+ - href: https://api.w3.org/translations/2
1090
+ title: Cascading Style Sheets, level 1
1091
+ # Additional translations omitted for brevity
1240
1092
  ----
1241
1093
  ====
1242
1094
 
@@ -1247,121 +1099,51 @@ Getting a translation by ID.
1247
1099
  [source,shell]
1248
1100
  ----
1249
1101
  # Fetch a translation
1250
- $ w3c_api translation fetch --id=467
1102
+ $ w3c_api translation fetch --id=2
1251
1103
  ----
1252
1104
 
1253
1105
  [example]
1254
1106
  ====
1255
1107
  [source,shell]
1256
1108
  ----
1257
- $ w3c_api translation fetch --id=467
1109
+ $ w3c_api translation fetch --id=2
1258
1110
  ---
1111
+ id: 2
1112
+ title: Cascading Style Sheets, level 1
1113
+ language: fr
1114
+ url: https://www.yoyodesign.org/doc/w3c/css1/index.html
1259
1115
  _links:
1260
1116
  self:
1261
- href: https://api.w3.org/translations/467
1262
- type: Translation
1263
- uri: http://maujor.com/w3c/xml-base.html
1264
- title: XML Base
1265
- language: pt_BR
1266
- published: '2005-09-23T00:00:00+00:00'
1267
- authorized: false
1268
- call-for-translation:
1269
- _links:
1270
- self:
1271
- href: https://api.w3.org/callsfortranslation/28
1272
- type: CallForTranslation
1273
- translations:
1274
- href: https://api.w3.org/callsfortranslation/28/translations
1275
- type: TranslationIndex
1276
- title: XML Base
1277
- states:
1278
- - published
1279
- translators:
1280
- - _links:
1281
- self:
1282
- href: https://api.w3.org/users/91oj8wozeb0o4wcoo8wswkcsw4oog48
1283
- type: User
1284
- affiliations:
1285
- href: https://api.w3.org/users/91oj8wozeb0o4wcoo8wswkcsw4oog48/affiliations
1286
- type: W3cApi::Models::AffiliationIndex
1287
- groups:
1288
- href: https://api.w3.org/users/91oj8wozeb0o4wcoo8wswkcsw4oog48/groups
1289
- type: GroupIndex
1290
- specifications:
1291
- href: https://api.w3.org/users/91oj8wozeb0o4wcoo8wswkcsw4oog48/specifications
1292
- type: SpecificationIndex
1293
- participations:
1294
- href: https://api.w3.org/users/91oj8wozeb0o4wcoo8wswkcsw4oog48/participations
1295
- type: ParticipationIndex
1296
- id: '112282'
1297
- name: Maurício Samy Silva
1298
- given: Maurício
1299
- family: Samy Silva
1300
- discr: user
1117
+ href: https://api.w3.org/translations/2
1301
1118
  ----
1302
1119
  ====
1303
1120
 
1304
-
1305
- === Ecosystem
1121
+ === Ecosystems
1306
1122
 
1307
1123
  This command provides access to W3C ecosystems.
1308
1124
 
1309
1125
  ==== Index
1310
1126
 
1311
1127
  Fetching an index of ecosystems.
1128
+
1312
1129
  [source,shell]
1313
1130
  ----
1314
1131
  # Fetch ecosystems
1315
1132
  $ w3c_api ecosystem fetch [OPTIONS]
1316
1133
  ----
1134
+
1317
1135
  [example]
1318
1136
  ====
1319
1137
  [source,shell]
1320
1138
  ----
1321
1139
  $ w3c_api ecosystem fetch
1322
1140
  ---
1323
- _links:
1324
- self:
1325
- href: https://api.w3.org/ecosystems?embed=0&page=1&items=100
1326
- type: W3cApi::Models::EcosystemIndex
1327
- first:
1328
- href: https://api.w3.org/ecosystems?embed=0&page=1&items=100
1329
- type: W3cApi::Models::EcosystemIndex
1330
- last:
1331
- href: https://api.w3.org/ecosystems?embed=0&page=1&items=100
1332
- type: W3cApi::Models::EcosystemIndex
1333
- ecosystems:
1334
- - href: https://api.w3.org/ecosystems/advertising
1335
- title: Web Advertising
1336
- type: Ecosystem
1337
- - href: https://api.w3.org/ecosystems/e-commerce
1338
- title: E-commerce
1339
- type: Ecosystem
1340
- - href: https://api.w3.org/ecosystems/media
1341
- title: Media & Entertainment
1342
- type: Ecosystem
1343
- - href: https://api.w3.org/ecosystems/network-communications
1344
- title: Network & Communications
1345
- type: Ecosystem
1346
- - href: https://api.w3.org/ecosystems/publishing
1347
- title: Publishing
1348
- type: Ecosystem
1349
- - href: https://api.w3.org/ecosystems/smart-cities
1350
- title: Smart Cities
1351
- type: Ecosystem
1352
- - href: https://api.w3.org/ecosystems/automotive-transportation
1353
- title: Automotive & Transportation
1354
- type: Ecosystem
1355
- - href: https://api.w3.org/ecosystems/web-of-things
1356
- title: Web of Things
1357
- type: Ecosystem
1358
- - href: https://api.w3.org/ecosystems/data
1359
- title: Data and knowledge
1360
- type: Ecosystem
1361
- page: 1
1362
- limit: 100
1363
- pages: 1
1364
- total: 9
1141
+ ecosystems:
1142
+ - shortname: advertising
1143
+ name: Advertising
1144
+ - shortname: data
1145
+ name: Data
1146
+ # Additional ecosystems omitted for brevity
1365
1147
  ----
1366
1148
  ====
1367
1149
 
@@ -1372,7 +1154,7 @@ Getting an ecosystem by shortname.
1372
1154
  [source,shell]
1373
1155
  ----
1374
1156
  # Fetch an ecosystem
1375
- $ w3c_api ecosystem fetch --shortname={shortname}
1157
+ $ w3c_api ecosystem fetch --shortname=data
1376
1158
  ----
1377
1159
 
1378
1160
  [example]
@@ -1381,423 +1163,60 @@ $ w3c_api ecosystem fetch --shortname={shortname}
1381
1163
  ----
1382
1164
  $ w3c_api ecosystem fetch --shortname=data
1383
1165
  ---
1166
+ shortname: data
1167
+ name: Data
1168
+ description: The Data ecosystem focuses on technologies and standards for
1169
+ representing, exchanging, and processing data on the Web.
1384
1170
  _links:
1385
1171
  self:
1386
1172
  href: https://api.w3.org/ecosystems/data
1387
- type: Ecosystem
1388
- champion:
1389
- href: https://api.w3.org/users/t891ludoisggsccsw44o8goccc0s0ks
1390
- title: Pierre-Antoine Champin
1391
- type: User
1392
- evangelists:
1393
- href: https://api.w3.org/ecosystems/data/evangelists
1394
- type: EvangelistIndex
1395
1173
  groups:
1396
1174
  href: https://api.w3.org/ecosystems/data/groups
1397
- type: GroupIndex
1398
- member-organizations:
1399
- href: https://api.w3.org/ecosystems/data/member-organizations
1400
- type: W3cApi::Models::AffiliationIndex
1401
- name: Data and knowledge
1402
- shortname: data
1403
- ----
1404
- ====
1405
-
1406
- ==== Evangelists
1407
-
1408
- Getting evangelists for an ecosystem.
1409
-
1410
- [source,shell]
1411
- ----
1412
- # Fetch evangelists for an ecosystem
1413
- $ w3c_api ecosystem evangelists --shortname={shortname}
1414
- ----
1415
- [example]
1416
- ====
1417
- [source,shell]
1418
- ----
1419
- $ w3c_api ecosystem evangelists --shortname=publishing
1420
- ---
1421
- _links:
1422
- self:
1423
- href: https://api.w3.org/ecosystems/publishing/evangelists?page=1&items=100
1424
- type: EvangelistIndex
1425
- first:
1426
- href: https://api.w3.org/ecosystems/publishing/evangelists?page=1&items=100
1427
- type: EvangelistIndex
1428
- last:
1429
- href: https://api.w3.org/ecosystems/publishing/evangelists?page=1&items=100
1430
- type: EvangelistIndex
1431
- up:
1432
- href: https://api.w3.org/ecosystems/publishing
1433
- type: EvangelistIndex
1434
1175
  evangelists:
1435
- - href: https://api.w3.org/users/ni26g4n5gqskg8k80ssgw0ko048wgwg
1436
- title: Bill Kasdorf
1437
- type: User
1438
- - href: https://api.w3.org/users/a5eur9p2iyo0ws00448w4gcw4c8sock
1439
- title: Daihei Shiohama
1440
- type: User
1441
- - href: https://api.w3.org/users/qdkk81rtp344c44g0osoocgwwc8o4ss
1442
- title: Bobby Tung
1443
- type: User
1444
- page: 1
1445
- limit: 100
1446
- pages: 1
1447
- total: 3
1448
- ----
1449
- ====
1450
-
1451
- ==== Groups
1452
-
1453
- Getting groups for an ecosystem.
1454
-
1455
- [source,shell]
1456
- ----
1457
- # Fetch groups for an ecosystem
1458
- $ w3c_api ecosystem groups --shortname={shortname}
1459
- ----
1460
-
1461
- [example]
1462
- ====
1463
- [source,shell]
1464
- ----
1465
- $ w3c_api ecosystem groups --shortname=publishing
1466
- ---
1467
- _links:
1468
- self:
1469
- href: https://api.w3.org/ecosystems/publishing/groups?page=1&items=100
1470
- type: GroupIndex
1471
- first:
1472
- href: https://api.w3.org/ecosystems/publishing/groups?page=1&items=100
1473
- type: GroupIndex
1474
- last:
1475
- href: https://api.w3.org/ecosystems/publishing/groups?page=1&items=100
1476
- type: GroupIndex
1477
- up:
1478
- href: https://api.w3.org/ecosystems/publishing
1479
- type: GroupIndex
1480
- groups:
1481
- - href: https://api.w3.org/groups/cg/a11y-discov-vocab
1482
- title: Accessibility Discoverability Vocabulary for Schema.org Community Group
1483
- type: Group
1484
- - href: https://api.w3.org/groups/bg/publishingbg
1485
- title: Publishing Business Group
1486
- type: Group
1487
- - href: https://api.w3.org/groups/cg/publishingcg
1488
- title: Publishing Community Group
1489
- type: Group
1490
- - href: https://api.w3.org/groups/wg/pm
1491
- title: Publishing Maintenance Working Group
1492
- type: Group
1493
- page: 1
1494
- limit: 100
1495
- pages: 1
1496
- total: 4
1497
- ----
1498
- ====
1499
-
1500
- ==== Member organizations
1501
-
1502
- Getting member organizations for an ecosystem.
1503
-
1504
- [source,shell]
1505
- ----
1506
- # Fetch member organizations for an ecosystem
1507
- $ w3c_api ecosystem member-organizations --shortname={shortname}
1508
- ----
1509
-
1510
- [example]
1511
- ====
1512
- [source,shell]
1513
- ----
1514
- $ w3c_api ecosystem member-organizations --shortname=publishing
1515
- ---
1516
- _links:
1517
- self:
1518
- href: https://api.w3.org/ecosystems/publishing/member-organizations?page=1&items=100
1519
- type: W3cApi::Models::AffiliationIndex
1520
- first:
1521
- href: https://api.w3.org/ecosystems/publishing/member-organizations?page=1&items=100
1522
- type: W3cApi::Models::AffiliationIndex
1523
- last:
1524
- href: https://api.w3.org/ecosystems/publishing/member-organizations?page=1&items=100
1525
- type: W3cApi::Models::AffiliationIndex
1526
- up:
1527
- href: https://api.w3.org/ecosystems/publishing
1528
- type: W3cApi::Models::AffiliationIndex
1529
- affiliations:
1530
- - href: https://api.w3.org/affiliations/56103
1531
- title: ACCESS CO., LTD.
1532
- type: Affiliation
1533
- - href: https://api.w3.org/affiliations/1057
1534
- title: Adobe
1535
- type: Affiliation
1536
- - href: https://api.w3.org/affiliations/108617
1537
- title: Amazon
1538
- type: Affiliation
1539
- - href: https://api.w3.org/affiliations/43420
1540
- title: Apache Software Foundation
1541
- type: Affiliation
1542
- - href: https://api.w3.org/affiliations/1202
1543
- title: Apple Inc.
1544
- type: Affiliation
1545
- ...
1546
- ----
1547
- ====
1548
-
1549
- === Affiliations
1550
-
1551
- ==== Index
1552
-
1553
- Fetching an index of affiliations.
1554
-
1555
- [source,shell]
1556
- ----
1557
- # Fetch affiliations
1558
- $ w3c_api affiliation fetch [OPTIONS]
1559
- ----
1560
-
1561
- [example]
1562
- ====
1563
- [source,shell]
1564
- ----
1565
- $ w3c_api affiliation fetch
1566
- ----
1567
- ====
1568
-
1569
- ==== Get
1570
-
1571
- Getting an affiliation by ID.
1572
-
1573
- [source,shell]
1574
- ----
1575
- # Fetch an affiliation
1576
- $ w3c_api affiliation fetch --id={id}
1577
- ----
1578
-
1579
- [example]
1580
- ====
1581
- [source,shell]
1582
- ----
1583
- # Fetch an affiliation
1584
- $ w3c_api affiliation fetch --id=1001
1585
- ---
1586
- _links:
1587
- self:
1588
- href: https://api.w3.org/affiliations/1001
1589
- type: Affiliation
1590
- homepage:
1591
- href: http://www.framkom.se
1592
- type: String
1593
- participants:
1594
- href: https://api.w3.org/affiliations/1001/participants
1595
- type: Participant
1596
- participations:
1597
- href: https://api.w3.org/affiliations/1001/participations
1598
- type: Participation
1599
- id: 1001
1600
- name: Framkom (Forskningsaktiebolaget Medie-och Kommunikationsteknik)
1601
- discr: organization
1602
- is-member: false
1603
- is-member-association: false
1604
- is-partner-member: false
1605
- ----
1606
- ====
1607
-
1608
- ==== Participants
1609
-
1610
- Getting participants for an affiliation.
1611
-
1612
- [source,shell]
1613
- ----
1614
- # Fetch participants for an affiliation
1615
- $ w3c_api affiliation participants --id={id}
1616
- ----
1617
-
1618
- [example]
1619
- ====
1620
- [source,shell]
1621
- ----
1622
- $ w3c_api affiliation participants --id=1104
1623
- ---
1624
- _links:
1625
- self:
1626
- href: https://api.w3.org/affiliations/1104/participants?page=1&items=100
1627
- type: W3cApi::Models::ParticipantIndex
1628
- first:
1629
- href: https://api.w3.org/affiliations/1104/participants?page=1&items=100
1630
- type: W3cApi::Models::ParticipantIndex
1631
- last:
1632
- href: https://api.w3.org/affiliations/1104/participants?page=1&items=100
1633
- type: W3cApi::Models::ParticipantIndex
1634
- up:
1635
- href: https://api.w3.org/affiliations/1104
1636
- type: W3cApi::Models::ParticipantIndex
1637
- participants:
1638
- - href: https://api.w3.org/users/j2d10std2l4ck448woccowg8cg8g8go
1639
- title: Jean-Luc Chevillard
1640
- type: User
1641
- page: 1
1642
- limit: 100
1643
- pages: 1
1644
- total: 1
1176
+ href: https://api.w3.org/ecosystems/data/evangelists
1645
1177
  ----
1646
- ====
1647
-
1648
-
1649
- ==== Participations
1650
1178
 
1651
- Getting participations for an affiliation.
1179
+ == Installation
1652
1180
 
1653
- [source,shell]
1654
- ----
1655
- # Fetch participations for an affiliation
1656
- $ w3c_api affiliation participations --id={id}
1657
- ----
1181
+ Add this line to your application's Gemfile:
1658
1182
 
1659
- [example]
1660
- ====
1661
- [source,shell]
1183
+ [source,ruby]
1662
1184
  ----
1663
- $ w3c_api affiliation participations --id=1104
1664
- ---
1665
- _links:
1666
- self:
1667
- href: https://api.w3.org/affiliations/1104/participations?page=1&items=100
1668
- type: ParticipationIndex
1669
- first:
1670
- href: https://api.w3.org/affiliations/1104/participations?page=1&items=100
1671
- type: ParticipationIndex
1672
- last:
1673
- href: https://api.w3.org/affiliations/1104/participations?page=1&items=100
1674
- type: ParticipationIndex
1675
- up:
1676
- href: https://api.w3.org/affiliations/1104
1677
- type: ParticipationIndex
1678
- participations:
1679
- - href: https://api.w3.org/participations/32932
1680
- title: XQuery and XSLT Extensions Community Group
1681
- type: Participation
1682
- page: 1
1683
- limit: 100
1684
- pages: 1
1685
- total: 1
1185
+ gem 'w3c_api'
1686
1186
  ----
1687
- ====
1688
-
1689
- === Participations
1690
-
1691
- ==== Get
1692
-
1693
- Getting a participation by ID.
1694
1187
 
1695
- [source,shell]
1696
- ----
1697
- # Fetch a participation
1698
- $ w3c_api participation fetch --id={id}
1699
- ----
1188
+ And then execute:
1700
1189
 
1701
- [example]
1702
- ====
1703
1190
  [source,shell]
1704
1191
  ----
1705
- $ w3c_api participation fetch --id=32932
1706
- ---
1707
- _links:
1708
- self:
1709
- href: https://api.w3.org/participations/32932
1710
- type: Participation
1711
- group:
1712
- href: https://api.w3.org/groups/cg/xslt-40
1713
- title: XQuery and XSLT Extensions Community Group
1714
- type: Group
1715
- organization:
1716
- href: https://api.w3.org/affiliations/1104
1717
- title: CNRS
1718
- type: Affiliation
1719
- participants:
1720
- href: https://api.w3.org/participations/32932/participants
1721
- type: W3cApi::Models::ParticipantIndex
1722
- individual: false
1723
- invited-expert: false
1724
- created: '2020-11-28T05:59:24+00:00'
1192
+ $ bundle install
1725
1193
  ----
1726
- ====
1727
-
1728
- ==== Participants
1729
1194
 
1730
- Getting participants for a participation.
1731
-
1732
- [source,shell]
1733
- ----
1734
- # Fetch participants for a participation
1735
- $ w3c_api participation participants --id={id}
1736
- ----
1195
+ Or install it yourself as:
1737
1196
 
1738
- [example]
1739
- ====
1740
1197
  [source,shell]
1741
1198
  ----
1742
- $ w3c_api participation participants --id=32932
1743
- ---
1744
- _links:
1745
- self:
1746
- href: https://api.w3.org/participations/32932/participants?page=1&items=100
1747
- type: W3cApi::Models::ParticipantIndex
1748
- first:
1749
- href: https://api.w3.org/participations/32932/participants?page=1&items=100
1750
- type: W3cApi::Models::ParticipantIndex
1751
- last:
1752
- href: https://api.w3.org/participations/32932/participants?page=1&items=100
1753
- type: W3cApi::Models::ParticipantIndex
1754
- up:
1755
- href: https://api.w3.org/participations/32932
1756
- type: W3cApi::Models::ParticipantIndex
1757
- participants:
1758
- - href: https://api.w3.org/users/j2d10std2l4ck448woccowg8cg8g8go
1759
- title: Jean-Luc Chevillard
1760
- type: User
1761
- page: 1
1762
- limit: 100
1763
- pages: 1
1764
- total: 1
1199
+ $ gem install w3c_api
1765
1200
  ----
1766
- ====
1767
-
1768
-
1769
- == Debug mode
1770
-
1771
- The library supports a debug mode that can be enabled by setting the `DEBUG_API`
1772
- environment variable to a non-empty value.
1773
1201
 
1774
- This will print the HTTP requests and responses made by the API client.
1202
+ == Development
1775
1203
 
1776
- .Enabling debug mode on the command line
1777
- [example]
1778
- ====
1779
- [source,sh]
1780
- ----
1781
- # Enable debug mode
1782
- $ export DEBUG_API=1
1783
- $ w3c_api specification fetch --shortname=webrtc
1784
- ----
1785
- ====
1204
+ After checking out the repo, run `bin/setup` to install dependencies. Then,
1205
+ run `rake spec` to run the tests. You can also run `bin/console` for an
1206
+ interactive prompt that will allow you to experiment.
1786
1207
 
1787
- .Enabling debug mode in Ruby
1788
- [example]
1789
- ====
1790
- [source,ruby]
1791
- ----
1792
- ENV["DEBUG_API"] = "1"
1793
- W3cApi::Hal.instance.register.fetch(:specification_index)
1794
- ----
1795
- ====
1208
+ To install this gem onto your local machine, run `bundle exec rake install`.
1209
+ To release a new version, update the version number in `version.rb`, and then
1210
+ run `bundle exec rake release`, which will create a git tag for the version,
1211
+ push git commits and the created tag, and push the `.gem` file to
1212
+ https://rubygems.org[rubygems.org].
1796
1213
 
1214
+ == Contributing
1797
1215
 
1798
- == License and Copyright
1216
+ Bug reports and pull requests are welcome on GitHub at
1217
+ https://github.com/relaton/w3c_api.
1799
1218
 
1800
- This project is licensed under the BSD 2-clause License.
1801
- See the link:LICENSE.md[] file for details.
1219
+ == License
1802
1220
 
1803
- Copyright Ribose.
1221
+ The gem is available as open source under the terms of the
1222
+ https://opensource.org/licenses/MIT[MIT License].