std-uritemplate
This is a complete and maintained cross-language implementation of the Uri Template specification RFC 6570 Level 4.
[!NOTE]
Low activity is this repository is expected as long as there are no outstanding bug reports the implementations are considered stable and mature.
Available implementations
Language
Complete
Reviewed
Published
Java
✅
✅
✅
Python
✅
❌
✅
Typescript
✅
✅
✅
Go
✅
✅
✅
C#
✅
✅
✅
Ruby
✅
❌
✅
PHP
✅
✅
✅
Swift
✅
❌
✅
Dart
✅
✅
✅
Usage
Java
You can use the library as a Maven dependency:
io.github.std-uritemplate
std-uritemplate
REPLACE-ME
in Gradle:
implementation io.github.std-uritemplate:std-uritemplate:REPLACE-ME
and use it in your project:
import io.github.stduritemplate.StdUriTemplate;
...
StdUriTemplate.expand(template, substitutions);
Python
Install the package with pip (or any alternative):
pip install std-uritemp
|