uritemplate4s


License

License

MIT
GroupId

GroupId

com.gubbns
ArtifactId

ArtifactId

uritemplate4s_sjs0.6_2.12
Last Version

Last Version

0.5.6+87-74e68613
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_sjs0.6_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.gubbns/uritemplate4s_sjs0.6_2.12/ -->
<dependency>
    <groupId>com.gubbns</groupId>
    <artifactId>uritemplate4s_sjs0.6_2.12</artifactId>
    <version>0.5.6+87-74e68613</version>
</dependency>
// https://jarcasting.com/artifacts/com.gubbns/uritemplate4s_sjs0.6_2.12/
implementation 'com.gubbns:uritemplate4s_sjs0.6_2.12:0.5.6+87-74e68613'
// https://jarcasting.com/artifacts/com.gubbns/uritemplate4s_sjs0.6_2.12/
implementation ("com.gubbns:uritemplate4s_sjs0.6_2.12:0.5.6+87-74e68613")
'com.gubbns:uritemplate4s_sjs0.6_2.12:jar:0.5.6+87-74e68613'
<dependency org="com.gubbns" name="uritemplate4s_sjs0.6_2.12" rev="0.5.6+87-74e68613">
  <artifact name="uritemplate4s_sjs0.6_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gubbns', module='uritemplate4s_sjs0.6_2.12', version='0.5.6+87-74e68613')
)
libraryDependencies += "com.gubbns" % "uritemplate4s_sjs0.6_2.12" % "0.5.6+87-74e68613"
[com.gubbns/uritemplate4s_sjs0.6_2.12 "0.5.6+87-74e68613"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.9
org.scala-js : scalajs-library_2.12 jar 0.6.33
com.lihaoyi : fastparse_sjs0.6_2.12 jar 2.3.0

provided (2)

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

test (8)

Group / Artifact Type Version
org.scala-js : scalajs-test-bridge_2.12 jar 0.6.33
org.typelevel : cats-core_sjs0.6_2.12 jar 2.1.1
org.typelevel : cats-kernel_sjs0.6_2.12 jar 2.1.1
org.typelevel : cats-macros_sjs0.6_2.12 jar 2.1.1
com.lihaoyi : utest_sjs0.6_2.12 jar 0.7.4
io.circe : circe-core_sjs0.6_2.12 jar 0.13.0
io.circe : circe-generic_sjs0.6_2.12 jar 0.13.0
io.circe : circe-parser_sjs0.6_2.12 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.6+87-74e68613
0.5.6+86-4b45d528
0.5.6+84-90848bb1
0.5.6+82-ba1ee88d
0.5.6+80-42662915
0.5.6+74-9260d3ff
0.5.6+72-469f4b77
0.5.6+70-c7f249a5
0.5.6+68-67744067
0.5.6+66-592aac59
0.5.6+64-4654d19d
0.5.6+62-6be996fa
0.5.6+60-bba8c818
0.5.6+58-c8ccac79
0.5.6+56-dd6a0022
0.5.6+54-5bc6d777
0.5.6+52-bfd4b792
0.5.6+50-07c00614
0.5.6+48-f4617c5e
0.5.6+46-5119bf79
0.5.6+44-c3261ec0
0.5.6+42-434121c0
0.5.6+40-caee5c2c
0.5.6+38-ad02a673
0.5.6+36-d424c69c
0.5.6+34-fccbdccc
0.5.6+32-d62056b9
0.5.6+30-4d6ab34c
0.5.6+28-56a1ca42
0.5.6+26-0a968c0f
0.5.6+24-5025177c
0.5.6+20-545aba66
0.5.6+18-2006ec7e
0.5.6+16-3358521e
0.5.6+14-43636661
0.5.6+12-309cd8ca
0.5.6+10-33d45b11
0.5.6+8-c284e068
0.5.6+6-7d2004b1
0.5.6+4-de4430c4
0.5.6+2-a2472e7c
0.5.6
0.5.5+13-9fd0b88e
0.5.5+11-354a6e0e
0.5.5+9-2087f86e
0.5.5+7-29474a5d
0.5.5+6-a7801b44
0.5.5+4-4b0b0044
0.5.5+2-1e14191a
0.5.5
0.5.4+20-abe120a1
0.5.4+19-a6eb8bb9
0.5.4+18-1f681127
0.5.4+16-56141681
0.5.4+14-216e5052
0.5.4+12-b70df29a
0.5.4+10-c18e2fab
0.5.4+8-1d29b8ce
0.5.4+6-0dc497b6
0.5.4+4-21dcfade
0.5.4+2-4ec88547
0.5.4
0.5.3+7-9ee72993
0.5.3+5-9ac32543
0.5.3+2-36915c0f
0.5.3
0.5.2+17-cdf678fe
0.5.2+16-1d6948c7
0.5.2+15-e904220e
0.5.2+13-e7ec7d0b
0.5.2+11-f6d3090c
0.5.2+9-688a0ad8
0.5.2+7-3b1f93a3
0.5.2+5-041aeaa5
0.5.2+1-9d8ac70f
0.5.2
0.5.0+10-7137664b
0.5.0+8-d1551d03
0.5.0+6-30fc2006
0.5.0+4-c189bbb8
0.5.0+2-c94c0288
0.5.0+1-b0b5aa6e
0.5.0
0.4.0+12-3192b320
0.4.0+10-c738b591
0.4.0+9-33267bd9
0.4.0+8-82ebc93f
0.4.0+7-62f4c7a9
0.4.0+6-470aa849
0.4.0+5-8fbbf4f5
0.4.0+3-359ced3f
0.4.0+1-61ad9ebf
0.4.0
0.3.0+38-427422f3
0.3.0+37-229bfca3
0.3.0+30-2f8d4dc8
0.3.0+28-6f773b62
0.3.0+26-c556a05f
0.3.0+24-9caf4d35
0.3.0+22-f5fe981f
0.3.0+20-373b6bda
0.3.0+18-ce08fca1
0.3.0+16-ecd0262d
0.3.0+14-cdfcf741
0.3.0+12-7e1611fb
0.3.0+10-55f8c9e2
0.3.0+8-dae3985e
0.3.0+6-c3e31df1
0.3.0+4-184d91e9
0.3.0+2-41e1a7fb
0.3.0+1-0c2f0d70
0.3.0
0.2.0+38-5cccbd86
0.2.0+36-2cf94548
0.2.0+34-37148905
0.2.0+32-05760647
0.2.0+30-3b0d901e
0.2.0+28-ff2e24f1
0.2.0+26-828ddb4c
0.2.0+25-fb538152
0.2.0+23-ac9eb62c
0.2.0+20-406a50c5
0.2.0+8-29c0843e
0.2.0+5-3cb0868d
0.2.0+4-5b7cbd45
0.2.0+3-4c0d63ff
0.2.0+2-5b18bd66
0.2.0+1-0ba19e2b
0.2.0
0.1.2
0.1.1
0.0.1+3-684cc6a7
0.0.1+1-361ff14d+20181211-2249
0.0.1+1-361ff14d+20181211-2236
0.0.1+1-361ff14d+20181211-2233
0.0.1+1-361ff14d+20181211-2228
0.0.1+1-fccb5bb3
0.0.1