mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-07-06 10:25:53 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
bb08132237 |
@ -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 http://ffxivbis.arcanis.me.
|
||||
There is also public service which is available at https://ffxivbis.arcanis.me.
|
@ -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", "Lot").mkString(","),
|
||||
"columns" -> Seq("ID", "IsEquippable").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", "Lot") match {
|
||||
array.elements.map(_.asJsObject.getFields("ID", "IsEquippable") match {
|
||||
case Seq(JsNumber(id), JsNumber(isTome)) => id.toLong -> (isTome == 0)
|
||||
case other => throw deserializationError(s"Could not parse $other")
|
||||
}).toMap
|
||||
|
@ -1 +1 @@
|
||||
version := "0.9.6"
|
||||
version := "0.9.5"
|
||||
|
Reference in New Issue
Block a user