-
Search query fails with 400 (Bad reqest) My Search query to IGDB API is failing with status code 400 if the search text contains a back slash \ in it:
I am using below syntax:
const { q } = req.query
let fields =name, collection
apicalypse(requestOptions)
.fields(fields)
.limit(50)
.search(q)
.request('/games')
.then(response => returnResponse(response, req, res))
.catch(err => returnError(err, req, res))requestOptions are like this:
const apiPath = 'https://api-v3.igdb.com'
const defaultHeaders = {
'Accept': "application/json",
"user-key": apiKey
}
// Apicalypse Request Options
const requestOptions = {
queryMethod: 'body',
method: 'post', // The default isget
baseURL: apiPath,
headers: defaultHeaders,
responseType: 'json',
timeout: 10000
}
q…1 vote -
Game image catalog naming convention as altenative titles Some of the games don't get results through the API because the names used by ROM (and other game images) documenting organizations have some rules that don't apply to IGDB's main title rule.
Some of them:
If the title starts with an article, it goes to the end of the title. (Legend of Zelda, The)
If there is a non-standard character, like slashes, quotes, etc, they are removed.
The Japanese naming scheme uses double vowels instead of singles ones.It would be good to have as an alternative title option something like: "Alternative title - No-Intro Naming Convention".
I'm pretty…
1 vote -
API issue : Follow/ Want / Playing / PLayed and related lists I have an issue when I try to UnFollow or un(Want To Play) games.
Also all games that I am 'Following' does not appear in my following list if they are not released
1 vote -
NEW Game Addition Hi can you Please Add Pubg Mobile LITE Because i & most of the streamers want to stream pubg mobile lite on your platform
1 vote -
BUG: Adding fresh comment in custom list doesn't display right away When adding a comment to a game in a custom list – and that's all you do when editing the list – and then save the list, the comment will not be displayed until the list gets a game added/removed.
EDIT: Needs more testing to pinpoint if it is consistent or just a cache coincidence.
1 vote -
Game deal data? hi, thank you for the amazing database.
Im new to igdb and I don't know if this suggestion has been asked before but ...
Have you guys ever considered adding store deal to this database?1 vote -
Popularity attribute not functional The current popularity value for a game doesn't make any sense.
Please see below examples showing the popularity value with the hypes, and number of user ratings."id": 115278,
"hypes": 1,
"name": "Rune Factory 4 Special",
"popularity": 2090.622837928576"id": 120268,
"name": "Zombie Driver: Immortal Edition",
"popularity": 1431.973719413489As you can see, the top 2 games by popularity both have 0 user ratings. How can these be the most popular games on IGDB?
The docs say 'The popularity number is calculated using usage statistics of game pages at https://www.igdb.com' which can't possibly be true if these games are at the…
1 voteAdminIGDB (Admin, Twitch) responded
We’re not currently supporting popularity unfortunately, the existing hypes in the API are out of date and therefore out of sync, which is very likely why you’re getting those games as results.
We will be updating our documentation to reflect this, but meanwhile we recommend not using Popularity since it isn’t providing an accurate count.
-
Undocumented externalGame enum for giantbomb Query: fields id,name,externalgames.*; search "magic the gathering";where externalgames.uid = "2748";limit 1;'
There are two categories 3 in the returned object, which does not correspond to an enum in the documentation; a category 3 corresponding to giantbomb can be added which would fix this.
https://api-docs.igdb.com/#external-game
https://github.com/igdb/igdb-typescript-types/blob/master/index.d.ts#L12641 vote
- Don't see your idea?