3 Commits
0.9.6 ... 0.8.7

Author SHA1 Message Date
12c99bd52c fix to recent xivapi changes 2020-02-25 03:17:03 +03:00
bdfb5aedeb Update README.md 2020-02-12 01:56:16 +03:00
666a1b8b7a fix api urls in swagger 2019-12-29 03:47:43 +03:00
3 changed files with 4 additions and 4 deletions

View File

@ -28,4 +28,4 @@ REST API documentation is available at `http://0.0.0.0:8000/swagger`. HTML repre
## Public service
There is also public service which is available at https://ffxivbis.arcanis.me.
There is also public service which is available at http://ffxivbis.arcanis.me.

View File

@ -61,7 +61,7 @@ class Ariyala extends Actor with StrictLogging {
val uri = Uri(xivapiUrl)
.withPath(Uri.Path / "item")
.withQuery(Uri.Query(Map(
"columns" -> Seq("ID", "IsEquippable").mkString(","),
"columns" -> Seq("ID", "Lot").mkString(","),
"ids" -> itemIds.mkString(","),
"private_key" -> xivapiKey.getOrElse("")
)))
@ -123,7 +123,7 @@ object Ariyala {
Future {
js.fields("Results") match {
case array: JsArray =>
array.elements.map(_.asJsObject.getFields("ID", "IsEquippable") match {
array.elements.map(_.asJsObject.getFields("ID", "Lot") match {
case Seq(JsNumber(id), JsNumber(isTome)) => id.toLong -> (isTome == 0)
case other => throw deserializationError(s"Could not parse $other")
}).toMap

View File

@ -1 +1 @@
version := "0.9.5"
version := "0.9.6"