twitchtv / api-android-java Goto Github PK
View Code? Open in Web Editor NEWJava Wrapper for android, IGDB.com API. Requires an API key. Get one at:
Home Page: https://api.igdb.com/
License: MIT License
Java Wrapper for android, IGDB.com API. Requires an API key. Get one at:
Home Page: https://api.igdb.com/
License: MIT License
Just getting started with this api today. Unfortunatly i have encountered a 403 response error. When i follow the link it says that the authentication parameters are missing. I know that means my user key and an accept header with value application/json. Do i need to input these somewhere manually or is there an issue?
E/Volley: [208] BasicNetwork.performRequest: Unexpected response code 403 for https://api-2445582011268.apicast.io/games/?search=Zelda?fields=*
Hi. Please note the method
Parameters params = new Parameters()
.addFields("*")
.addorder("published_at:desc");
should be
Parameters params = new Parameters()
.addFields("*")
.addOrder("published_at:desc");
When im using the atari example it works fine, but when i try using the Zelda example it gives me a Server Volley Error:
03-27 05:54:40.584 10411-10447/com.marx.amit.myapplication E/Volley: [392] BasicNetwork.performRequest: Unexpected response code 400 for https://api-2445582011268.apicast.io/platforms/?search=Zelda&fields=name,release_dates.date,rating,hypes,cover&filter[release_dates.date][gt]=2010-12-31&filter[release_dates.date][lt]=2012-01-01&order=release_dates.date:desc&limit=2&offset=0
seems like it doesn't adding my api key to result URL?
full logcat:
03-27 06:12:04.189 11146-11146/? I/zygote: Not late-enabling -Xcheck:jni (already on)
03-27 06:12:04.216 11146-11146/? W/zygote: Unexpected CPU variant for X86 using defaults: x86
03-27 06:12:04.381 11146-11146/com.marx.amit.myapplication I/InstantRun: starting instant run server: is main process
03-27 06:12:04.595 11146-11169/com.marx.amit.myapplication D/OpenGLRenderer: HWUI GL Pipeline
03-27 06:12:04.655 11146-11169/com.marx.amit.myapplication I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
03-27 06:12:04.655 11146-11169/com.marx.amit.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
03-27 06:12:04.655 11146-11169/com.marx.amit.myapplication D/OpenGLRenderer: Swap behavior 1
03-27 06:12:04.655 11146-11169/com.marx.amit.myapplication W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
03-27 06:12:04.655 11146-11169/com.marx.amit.myapplication D/OpenGLRenderer: Swap behavior 0
03-27 06:12:04.672 11146-11169/com.marx.amit.myapplication D/EGL_emulation: eglCreateContext: 0x9c505120: maj 2 min 0 rcv 2
03-27 06:12:04.712 11146-11169/com.marx.amit.myapplication D/EGL_emulation: eglMakeCurrent: 0x9c505120: ver 2 0 (tinfo 0x9c503280)
03-27 06:12:04.790 11146-11169/com.marx.amit.myapplication D/EGL_emulation: eglMakeCurrent: 0x9c505120: ver 2 0 (tinfo 0x9c503280)
03-27 06:12:04.896 11146-11146/com.marx.amit.myapplication V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 0 children of 1073741831
03-27 06:12:04.899 11146-11146/com.marx.amit.myapplication I/AssistStructure: Flattened final assist data: 2400 bytes, containing 1 windows, 9 views
03-27 06:12:09.852 11146-11146/com.marx.amit.myapplication D/Query: platforms/?search=Zelda&fields=name,release_dates.date,rating,hypes,cover&filter[release_dates.date][gt]=2010-12-31&filter[release_dates.date][lt]=2012-01-01&order=release_dates.date:desc&limit=2&offset=0
03-27 06:12:09.877 11146-11182/com.marx.amit.myapplication D/NetworkSecurityConfig: No Network Security Config specified, using platform default
03-27 06:12:10.937 11146-11182/com.marx.amit.myapplication E/Volley: [400] BasicNetwork.performRequest: Unexpected response code 400 for https://api-2445582011268.apicast.io/platforms/?search=Zelda&fields=name,release_dates.date,rating,hypes,cover&filter[release_dates.date][gt]=2010-12-31&filter[release_dates.date][lt]=2012-01-01&order=release_dates.date:desc&limit=2&offset=0
03-27 06:12:32.987 11146-11152/com.marx.amit.myapplication I/zygote: Do partial code cache collection, code=29KB, data=30KB
03-27 06:12:32.987 11146-11152/com.marx.amit.myapplication I/zygote: After code cache collection, code=29KB, data=30KB
03-27 06:12:32.987 11146-11152/com.marx.amit.myapplication I/zygote: Increasing code cache capacity to 128KB
03-27 06:12:46.045 11146-11152/com.marx.amit.myapplication I/zygote: Do partial code cache collection, code=56KB, data=56KB
03-27 06:12:46.045 11146-11152/com.marx.amit.myapplication I/zygote: After code cache collection, code=56KB, data=56KB
03-27 06:12:46.045 11146-11152/com.marx.amit.myapplication I/zygote: Increasing code cache capacity to 256KB
I just tried the API wrapper for android . I followed the Setup and get the following error when I snyched gradle files for the first time.
Error:Execution failed for task ':app:preDebugAndroidTestBuild'.
Conflict with dependency 'com.android.support.test:runner' in project ':app'. Resolved versions for app (0.5) and test app (1.0.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.
How do I fix this ?
Im Using the lastest version of Android studio.
Im making a school project that utilizes the IGDB api, and i came across this library, but i cannot use it in my school project unless its apache 2.0
This is a very minor issue, but the readme should be updated to reflect that in the project dependencies, "compile" is deprecated and is going to be removed by the end of 2018. "implementation" should be used instead for buildtime improvements, see https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration?utm_source=android-studio#new_configurations
Hi,
api don't work right? What's happend?
not responding as wrapper
This works
https://api-v3.igdb.com/games/?fields=*&limit=100
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.