uritemplate4s


License

License

MIT
GroupId

GroupId

com.gubbns
ArtifactId

ArtifactId

uritemplate4s_sjs1_2.13
Last Version

Last Version

0.5.10+36-c89208eb
Release Date

Release Date

Type

Type

jar
Description

Description

uritemplate4s
uritemplate4s
Project URL

Project URL

https://slakah.github.io/uritemplate4s/
Project Organization

Project Organization

com.gubbns
Source Code Management

Source Code Management

https://github.com/Slakah/uritemplate4s

Download uritemplate4s_sjs1_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.gubbns/uritemplate4s_sjs1_2.13/ -->
<dependency>
    <groupId>com.gubbns</groupId>
    <artifactId>uritemplate4s_sjs1_2.13</artifactId>
    <version>0.5.10+36-c89208eb</version>
</dependency>
// https://jarcasting.com/artifacts/com.gubbns/uritemplate4s_sjs1_2.13/
implementation 'com.gubbns:uritemplate4s_sjs1_2.13:0.5.10+36-c89208eb'
// https://jarcasting.com/artifacts/com.gubbns/uritemplate4s_sjs1_2.13/
implementation ("com.gubbns:uritemplate4s_sjs1_2.13:0.5.10+36-c89208eb")
'com.gubbns:uritemplate4s_sjs1_2.13:jar:0.5.10+36-c89208eb'
<dependency org="com.gubbns" name="uritemplate4s_sjs1_2.13" rev="0.5.10+36-c89208eb">
  <artifact name="uritemplate4s_sjs1_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gubbns', module='uritemplate4s_sjs1_2.13', version='0.5.10+36-c89208eb')
)
libraryDependencies += "com.gubbns" % "uritemplate4s_sjs1_2.13" % "0.5.10+36-c89208eb"
[com.gubbns/uritemplate4s_sjs1_2.13 "0.5.10+36-c89208eb"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.3
org.scala-js : scalajs-library_2.13 jar 1.5.1
com.lihaoyi : fastparse_sjs1_2.13 jar 2.3.2

provided (2)

Group / Artifact Type Version
org.scala-lang : scala-compiler jar 2.13.3
org.scala-lang : scala-reflect jar 2.13.3

test (7)

Group / Artifact Type Version
org.scala-js : scalajs-test-bridge_2.13 jar 1.5.1
org.typelevel : cats-core_sjs1_2.13 jar 2.6.0
org.typelevel : cats-kernel_sjs1_2.13 jar 2.6.0
com.lihaoyi : utest_sjs1_2.13 jar 0.7.9
io.circe : circe-core_sjs1_2.13 jar 0.13.0
io.circe : circe-generic_sjs1_2.13 jar 0.13.0
io.circe : circe-parser_sjs1_2.13 jar 0.13.0

Project Modules

There are no modules declared in this project.

uritemplate4s

CircleCI Join the chat at https://gitter.im/slakah/uritemplate4s Latest version

Scala implementation of URI Template (RFC 6570).

Getting Started

uritemplate4s is currently available for Scala 2.13, 2.12 and Scala.js.

Add the following to your build.sbt:

libraryDependencies += "com.gubbns" %% "uritemplate4s" % "0.5.7"

Usage

import uritemplate4s._

val template = uritemplate"https://{host}/search{?q}{&params*}"
template.expand(
    "host" -> "search-engine.com",
    "q" -> "Esio Trot",
    "params" -> Map("lang" -> "en", "type" -> "book")
  ).value
// res0: String = https://search-engine.com/search?q=Esio%20Trot&lang=en&type=book

Further documentation is available here.

Versions

Version
0.5.10+36-c89208eb
0.5.10+35-9e1b36be
0.5.10+34-345a060d
0.5.10+33-7eaaed6e
0.5.10+32-e3a638c1
0.5.10+31-bb7e2a0b
0.5.10+30-ef2ad499
0.5.10+29-702a630b
0.5.10+28-acd63abb
0.5.10+27-6acb798a
0.5.10+26-415aba04
0.5.10+25-27e2ae90
0.5.10+24-5b0fd763
0.5.10+23-05f21c45
0.5.10+22-0bb9200d
0.5.10+21-3b39a7b5
0.5.10+20-048bfbbd
0.5.10+19-59761176
0.5.10+18-53c19f73
0.5.10+17-5d3fc0ed
0.5.10+16-d34b8d9e
0.5.10+15-a58c8c1a
0.5.10+14-41ddbaef
0.5.10+13-104a80ea
0.5.10+11-1b1379b0
0.5.10+10-3be5b433
0.5.10+9-7da6245f
0.5.10+8-aca3d213
0.5.10+7-45bac4cd
0.5.10+6-db96336f
0.5.10+5-7e7c1943
0.5.10+4-b997833c
0.5.10+3-a787e044
0.5.10+2-ba8f7ff4
0.5.10+1-bc4bc173
0.5.10
0.5.9+19-c7cb4e07
0.5.9+18-e931702b
0.5.9+17-ba23672d
0.5.9+16-dd3d2f84
0.5.9+15-11925f27
0.5.9+14-4ffd0f0f
0.5.9+13-350204f1
0.5.9+12-ce20cc36
0.5.9+11-4bab89c8
0.5.9+10-52782997
0.5.9+9-e5b07cfc
0.5.9+8-126284d7
0.5.9+7-aeaa42f6
0.5.9+6-064dab51
0.5.9+5-39ecad78
0.5.9+4-6731dc2b
0.5.9+3-23de234f
0.5.9+2-8fb0e242
0.5.9+1-339aa0b6
0.5.9
0.5.8+6-eff9c9cd
0.5.8+5-856b4910
0.5.8+3-17520056
0.5.8+2-57fcecd2
0.5.8+1-49405bc5
0.5.8
0.5.7+20-8ea75209
0.5.7+19-ac1dc8a2
0.5.7+18-dfa0053e
0.5.7+17-7dea6bd3
0.5.7+16-155b566c
0.5.7+15-591f3b4b
0.5.7+14-9c91eda3
0.5.7+13-69d744a6
0.5.7+12-9abd6e25
0.5.7+11-e8d18861
0.5.7+10-ad94546f
0.5.7+9-79fb6896
0.5.7+8-4315a3a8
0.5.7+7-e1494e13
0.5.7+6-2ee116fe
0.5.7+5-526f43e9
0.5.7+4-5660287b
0.5.7+3-b952f80c
0.5.7+2-6b2a20df
0.5.7+1-04b57f2f
0.5.7
0.5.6+90-4857dbb1