illarionov / igdbclient Goto Github PK
View Code? Open in Web Editor NEWKotlin Multiplatform wrapper for the IGDB (Internet Game Database API)
License: Apache License 2.0
Kotlin Multiplatform wrapper for the IGDB (Internet Game Database API)
License: Apache License 2.0
Hi,
I've found out the query builder incorrectly escapes the where filter when there is a string after the =
. For example:
val response = IGDBClient.getCompanies {
fields(
"slug",
"published.name",
"published.cover.image_id",
"published.first_release_date"
)
where("slug = \"my-slug\"")
limit(1)
}
This is translated into:
f slug,published.name,published.cover.image_id,published.first_release_date;w slug = \"my-slug\";l 1;
(notice the escaped quotes)
and IGDB gives a 400 error:
[
{
"title": "Syntax Error",
"status": 400,
"cause": "Mismatched input, double check your input. Common cause is sending \\\" instead of \"."
}
]
Can you fix this?
Thanks
When downloading sources from Android Studio I get this error, mainly caused by missing AAR sources published on Maven Central:
Executing tasks: [:app:DownloadSources] in project C:\Users\Maicol\StudioProjects\GameLibrary\app
> Configure project :app
Unzip jar to C:\Users\Maicol\StudioProjects\GameLibrary\app\build/hidden-secrets-tmp
> Task :app:DownloadSources FAILED
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\Maicol\AppData\Local\Temp\ijmiscinit2.gradle' line: 25
* What went wrong:
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_d046520a-a9de-4a30-8b74-240da14905f9'.
> Could not find ru.pixnews.igdbclient:igdbclient-core-android:0.1@aar.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/ru/pixnews/igdbclient/igdbclient-core-android/0.1@aar/[email protected]
- https://repo.maven.apache.org/maven2/ru/pixnews/igdbclient/igdbclient-core-android/0.1@aar/[email protected]
- https://jitpack.io/ru/pixnews/igdbclient/igdbclient-core-android/0.1@aar/[email protected]
Required by:
project :app
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 984ms
1 actionable task: 1 executed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.